/* 
 * KAP Industries Global Stylesheet
 * 
 * --primary-dark: #0A0F1E
 * --primary-blue: #0D2357
 * --accent-gold: #F0A500
 * --accent-gold-light: #FFB800
 * --white: #FFFFFF
 * --off-white: #F5F5F0
 * --text-muted: #9BA3B2
 * --card-bg: #111827
 * --border-subtle: rgba(240,165,0,0.2)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Montserrat:wght@600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary-dark: #0A0F1E;
  --primary-blue: #0D2357;
  --accent-gold: #F0A500;
  --accent-gold-light: #FFB800;
  --white: #FFFFFF;
  --off-white: #F5F5F0;
  --text-muted: #9BA3B2;
  --card-bg: #111827;
  --border-subtle: rgba(240,165,0,0.2);
  --font-heading: 'Playfair Display', serif;
  --font-subheading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.subheading, .nav-links {
  font-family: var(--font-subheading);
}

.text-muted {
  color: var(--text-muted);
}

.text-gold {
  color: var(--accent-gold);
}

.eyebrow {
  font-family: var(--font-subheading);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-light {
  background-color: var(--off-white);
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-subheading);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  font-weight: 700;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--accent-gold-light);
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--primary-dark);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.logo-k {
  color: var(--accent-gold);
  font-size: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-blue);
  min-width: 200px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.5rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 400;
}

.dropdown-menu li a::after {
  display: none;
}

.dropdown-menu li a:hover {
  color: var(--accent-gold);
  background-color: rgba(255,255,255,0.05);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: linear-gradient(rgba(10, 15, 30, 0.8), rgba(10, 15, 30, 0.9)), 
              url('images/hero_home.jpg') center/cover;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--primary-dark), transparent);
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  color: var(--accent-gold);
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* Stats Bar */
.stats-bar {
  background-color: var(--card-bg);
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  font-family: var(--font-subheading);
}

.stat-item p {
  font-family: var(--font-subheading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Section Titles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
}

/* Cards & Placeholders */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 3rem;
}

.real-img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.img-service-aviation { background-image: url('images/service_aviation.jpg'); }
.img-service-corporate { background-image: url('images/service_corporate.jpg'); }
.img-service-commercial { background-image: url('images/service_commercial.jpg'); }
.img-service-turnkey { background-image: url('images/service_turnkey.jpg'); }

.img-proj-aviation { background-image: url('images/proj_aviation.jpg'); }
.img-proj-boardroom { background-image: url('images/proj_boardroom.jpg'); }
.img-proj-commercial { background-image: url('images/proj_commercial.jpg'); }
.img-proj-reception { background-image: url('images/proj_reception.jpg'); }
.img-proj-suite { background-image: url('images/proj_suite.jpg'); }
.img-proj-lounge { background-image: url('images/proj_lounge.jpg'); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid transparent;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(240, 165, 0, 0.1);
}

.service-img-wrapper {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.service-card:hover .placeholder-img,
.service-card:hover .real-img {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.service-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  color: var(--accent-gold);
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.link-arrow {
  color: var(--white);
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.link-arrow:hover {
  color: var(--accent-gold);
}

/* Process Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-subtle);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 18%;
}

.step-num {
  width: 60px;
  height: 60px;
  background-color: var(--primary-dark);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  transition: all 0.3s ease;
}

.timeline-step:hover .step-num,
.timeline-step.active .step-num {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.timeline-step h4 {
  font-family: var(--font-subheading);
  font-size: 1rem;
}

/* Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bullet-list {
  margin-top: 2rem;
}

.bullet-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bullet-list i {
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.quote-block {
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--card-bg);
  border-left: 4px solid var(--accent-gold);
}

.quote-block p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  position: relative;
}

.project-card .placeholder-img,
.project-card .real-img {
  height: 400px;
  margin-bottom: 1.5rem;
}

.category-tag {
  color: var(--accent-gold);
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* Products Strip */
.product-strip {
  background-color: var(--off-white);
  color: var(--primary-dark);
  padding: 4rem 0;
}

.product-icons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.product-icon-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.product-icon-item i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.product-icon-item:hover i {
  color: var(--accent-gold);
}

.product-icon-item span {
  display: block;
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 2rem 0;
}

.marquee {
  display: flex;
  gap: 2rem;
  align-items: center;
  width: max-content;
}

.marquee-left {
  animation: marquee-left 45s linear infinite;
}

.marquee-right {
  animation: marquee-right 45s linear infinite;
}

.client-logo {
  height: 80px;
  width: auto;
  max-width: none;
  object-fit: contain;
  background-color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.client-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(240, 165, 0, 0.15);
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1rem)); }
}

@keyframes marquee-right {
  0% { transform: translateX(calc(-50% - 1rem)); }
  100% { transform: translateX(0); }
}

/* CTA Banner */
.cta-banner {
  background-color: var(--primary-blue);
  text-align: center;
  padding: 6rem 2rem;
}

.cta-banner h2 {
  color: var(--accent-gold);
}

/* Footer */
footer {
  background-color: #070B15;
  padding: 5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-family: var(--font-subheading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.location-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.location-pills span {
  padding: 0.25rem 0.75rem;
  background-color: rgba(255,255,255,0.05);
  border-radius: 20px;
  font-size: 0.75rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 99;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-dark);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
}

.mobile-nav-links a:hover {
  color: var(--accent-gold);
}


  .mobile-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: 100%;
  }
  .mobile-dropdown-menu.active {
    display: flex;
  }
  .mobile-dropdown-menu a {
    font-size: 1.5rem;
  }

  .close-menu {
  position: absolute;
  top: 1.5rem; right: 5%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-grid, .projects-grid, .split-section {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .timeline {
    flex-direction: column;
    gap: 2rem;
  }
  
  .timeline::before {
    left: 30px;
    top: 0;
    width: 2px;
    height: 100%;
  }
  
  .timeline-step {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
  }
  
  .step-num {
    margin: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Image Focused Homepage Updates */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: var(--white);
}
.parallax-section .overlay-dark {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 25, 47, 0.85);
    z-index: 1;
}
.parallax-section .container {
    position: relative;
    z-index: 2;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 3rem;
}
.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.masonry-item:hover img {
    transform: scale(1.05);
}
.masonry-item .masonry-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}
.masonry-item:hover .masonry-overlay {
    transform: translateY(0);
    opacity: 1;
}
.masonry-item h3 {
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.item-large {
    grid-column: span 8;
    grid-row: span 2;
}
.item-tall {
    grid-column: span 4;
    grid-row: span 2;
}
.item-wide {
    grid-column: span 8;
    grid-row: span 1;
}
.item-small {
    grid-column: span 4;
    grid-row: span 1;
}

@media (max-width: 992px) {
    .item-large, .item-tall, .item-wide, .item-small {
        grid-column: span 6;
        grid-row: span 1;
    }
}
@media (max-width: 768px) {
    .item-large, .item-tall, .item-wide, .item-small {
        grid-column: span 12;
    }
}

.parallax-section .text-muted { color: rgba(255,255,255,0.8) !important; }

/* Hero Slider Overrides */
.hero {
    background: none !important;
    overflow: hidden;
}
.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1);
}
.hero-slide.active {
    opacity: 1;
    animation: kenBurns 10s ease-out forwards;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 15, 30, 0.7), rgba(10, 15, 30, 0.85));
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
}
@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.product-btn { background-color: var(--primary-dark) !important; color: var(--white) !important; border: 1px solid var(--accent-gold) !important; text-transform: uppercase; }
.product-btn:hover { background-color: var(--accent-gold) !important; color: var(--primary-dark) !important; }

@media (max-width: 768px) {
  .contact-form {
    padding: 1rem !important;
  }
}
