/* ========================================
   Vasco Da Gama Technics - Main Stylesheet
   ======================================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a2e;
}

a { text-decoration: none; color: #c8a951; transition: color 0.3s; }
a:hover { color: #b8922e; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Navbar ---- */
.navbar {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav-logo .logo-img,
.logo-img { height: 50px; width: auto; }
.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
}
.nav-menu a {
  color: #1a1a2e;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: #c8a951; }
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #c8a951;
}

/* Dropdown */
.nav-menu li { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.1); min-width: 240px; border-radius: 0 0 6px 6px; z-index: 200; padding: 8px 0; }
.dropdown li { border-bottom: none; }
.dropdown a { padding: 10px 20px; font-size: 13px; text-transform: none; letter-spacing: 0; white-space: nowrap; display: block; color: #333; }
.dropdown a:hover { background: #f5f5f5; color: #c8a951; }
.nav-menu li:hover > .dropdown { display: block; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Top Bar */
.top-bar {
  background: #1a1a2e;
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.top-bar a { color: #c8a951; }

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  height: 550px;
  overflow: hidden;
  background: #1a1a2e;
}
.slider-container { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 26, 46, 0.7);
}
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
  padding: 0 20px;
}
.slide-content h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 15px;
}
.slide-content p {
  font-size: 18px;
  margin-bottom: 25px;
  color: rgba(255,255,255,0.9);
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 15px 18px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  border-radius: 4px;
}
.slider-btn:hover { background: rgba(200, 169, 81, 0.7); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ---- Page Header (subpages) ---- */
.page-header {
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.header-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 26, 46, 0.7);
}
.header-content {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  color: #fff;
  font-size: 42px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: #c8a951;
  color: #fff;
}
.btn-primary:hover {
  background: #b8922e;
  color: #fff;
}
.btn-outline {
  border: 2px solid #c8a951;
  color: #c8a951;
  background: transparent;
}
.btn-outline:hover {
  background: #c8a951;
  color: #fff;
}

/* ---- Section Spacing ---- */
section { padding: 80px 0; }

/* ---- Consultancy Services Section ---- */
.consultancy-services { padding: 80px 0; }
.section-subtitle {
  text-align: center;
  color: #c8a951;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}
.consultancy-services h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 15px;
}
.consultancy-services .intro-text {
  text-align: center;
  color: #666;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 15px;
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(200, 169, 81, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.service-icon i { font-size: 28px; color: #c8a951; }
.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.service-card h3 a { color: #1a1a2e; }
.service-card h3 a:hover { color: #c8a951; }
.service-card p { color: #666; font-size: 14px; line-height: 1.6; }
.service-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
}
.service-card-body { padding: 25px; }

/* ---- Industries Section & Grid ---- */
.industries-section { padding: 80px 0; background: #f9f9f9; }
.industries-section h2,
.industries-page h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 15px;
}
.industries-section .intro-text,
.industries-page .intro-text {
  text-align: center;
  color: #666;
  max-width: 800px;
  margin: 0 auto 50px;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.industry-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
  background-size: cover;
  background-position: center;
}
.industry-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(transparent 30%, rgba(26,26,46,0.85) 100%);
}
.industry-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  z-index: 2;
  color: #fff;
}
.industry-content h3 {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.industry-content p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5; }

/* ---- Experience Section ---- */
.experience-section {
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  padding: 100px 0;
}
.experience-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 26, 46, 0.85);
}
.experience-content {
  position: relative;
  z-index: 2;
}
.experience-text { max-width: 650px; }
.experience-subtitle {
  color: #c8a951;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 8px;
}
.experience-text h2 { color: #fff; font-size: 42px; margin-bottom: 20px; }
.experience-text p { color: rgba(255,255,255,0.85); margin-bottom: 15px; line-height: 1.8; }

/* ---- CTA Section ---- */
.cta-section {
  background: #1a1a2e;
  text-align: center;
  padding: 60px 0;
}
.cta-content h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.cta-content p { color: rgba(255,255,255,0.7); margin-bottom: 25px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- About Content ---- */
.about-content {
  padding: 80px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-content img,
.about-image img { border-radius: 8px; }
.about-text h2 { font-size: 32px; margin-bottom: 20px; }
.about-text p { color: #555; margin-bottom: 15px; line-height: 1.8; }

/* ---- Service Detail Page ---- */
.service-detail { padding: 60px 0; }
.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.service-detail-content img { border-radius: 8px; width: 100%; }
.service-detail-text h2 { font-size: 28px; margin-bottom: 15px; }
.service-detail-text h3 { font-size: 22px; margin-bottom: 15px; color: #1a1a2e; }
.service-detail-text p { color: #555; margin-bottom: 20px; line-height: 1.8; }
.service-list { list-style: none; }
.service-list li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  line-height: 1.7;
}
.service-list li strong { color: #1a1a2e; display: block; margin-bottom: 4px; font-size: 16px; }
.service-list li span { color: #666; }

/* ---- Contact Section ---- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 80px 0;
}
.contact-info h3 { font-size: 24px; margin-bottom: 20px; }
.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}
.contact-info-item i {
  color: #c8a951;
  font-size: 20px;
  margin-top: 3px;
  min-width: 24px;
}
.contact-info-item p { color: #555; line-height: 1.6; }
.contact-form h3 { font-size: 24px; margin-bottom: 20px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  margin-bottom: 15px;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c8a951;
  outline: none;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ---- Footer ---- */
.footer {
  background: #111;
  color: #aaa;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-logo { max-width: 200px; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #aaa; font-size: 14px; }
.footer-col ul a:hover { color: #c8a951; }
.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid #222;
  font-size: 13px;
}

/* ---- Services Page with Image Cards ---- */
.services-page { padding: 80px 0; }
.services-page h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 15px;
}
.services-page .intro-text {
  text-align: center;
  color: #666;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* ---- Industries Page ---- */
.industries-page { padding: 80px 0; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 15px 20px;
    gap: 0;
  }
  .nav-menu.active { display: flex; }
  .nav-menu li { border-bottom: 1px solid #eee; }
  .nav-menu a { display: block; padding: 12px 0; }

  .hero-slider { height: 400px; }
  .slide-content h1 { font-size: 32px; }
  .slider-btn { padding: 10px 12px; font-size: 18px; }

  .page-header { height: 250px; }
  .page-header h1 { font-size: 30px; }

  .services-grid,
  .industries-grid { grid-template-columns: 1fr; }

  .about-grid,
  .service-detail-content,
  .contact-section { grid-template-columns: 1fr; }

  .experience-text h2 { font-size: 30px; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
