/* Shared global styles (extracted from original styles.css) */
/* CSS Variables */
:root {
  --kc-green: #0D4029;
  --kc-gold: #C7993A;
  --kc-bg: #ffffff;
  --kc-muted: #E9E7E1;
}

/* Base */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  margin: 0;
  background: var(--kc-green);
  color: #1a1a1a;
  min-width: 320px;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(40px, 5vw, 160px);
  box-sizing: border-box;
  position: relative;
}

/* Prevent horizontal scroll */
html {
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Header & Navigation */
.header { 
  background: var(--kc-green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.header .container {
  background: var(--kc-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px clamp(40px, 5vw, 160px);
  margin-left: auto;
  margin-right: auto;
  max-width: 1920px;
  width: 100%;
  box-sizing: border-box;
}

.header .logo {
  display: flex;
  align-items: center;
  padding-top: 3px;
}

.header .logo img {
  height: 30px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.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);
}

.nav-menu { display: flex; align-items: center; gap: 10px; }

.nav-menu a {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  margin: 0 20px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-item { position: relative; }
.nav-link { color:#fff; text-decoration:none; padding:6px 8px; display:inline-block; }

.dropdown-menu {
  position: absolute; top:100%; left:0; background:#fff; color: var(--kc-green);
  min-width:360px; width:max-content; border-radius:8px; box-shadow:0 12px 30px rgba(0,0,0,0.18);
  padding:8px 0; display:none; z-index:50; transform:translateY(8px);
}

.header .nav-menu .dropdown-menu a { display:block; padding:12px 20px; color: var(--kc-green); text-decoration:none; font-weight:600; background:transparent; }
.header .nav-menu .dropdown-menu a:not(:last-child){ border-bottom:2px solid var(--kc-gold); }
.header .nav-menu .dropdown-menu a:hover, .header .nav-menu .dropdown-menu a:focus { background:#fff6e6; color:var(--kc-green); }
.header .nav-menu .dropdown-menu a::after { display:none !important; content:none !important; }

.nav-item::after { content:""; position:absolute; left:0; right:0; top:100%; height:10px; pointer-events:auto; z-index:40; }
.nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu { display:block; }
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { color:#d4a017; }

.header .nav-menu a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--kc-gold); transition:width .3s ease; }
.header .nav-menu a:hover { color:#d4a017; }
.header .nav-menu a:hover::after { width:100%; }

/* Buttons */
.btn-yellow { background: var(--kc-gold); color:#fff; padding:10px 20px; text-decoration:none; border-radius:10px 4px 20px 4px; display:inline-block; }
.btn-yellow-hero { background: var(--kc-gold); color:#fff; padding:15px 40px; font-weight:900; text-decoration:none; border-radius:10px; }
.btn-yellow-contact { background: var(--kc-gold); color:#fff; padding:10px 60px; text-decoration:none; border-radius:8px; font-weight:800; transition:background .3s ease; display:inline-block; }
.btn-yellow-contact:hover, .btn-yellow-hero:hover, .btn-yellow:hover { background:#dc9c1d; }
.btn-gold { background: var(--kc-gold); color:#fff; border:none; cursor:pointer; }

.italic { font-family:'Playfair-display', serif; font-style:italic; font-weight:300; }

/* Hero (shared base) */
.hero {
  background:#fff url('images/hero-bg.png') no-repeat center center;
  background-size:fill;
  border-radius:44px 0 44px 44px;
  min-height:100vh;
}
.hero .container { display:flex; padding:30px clamp(40px,5vw,160px); border-radius:44px 0 44px 44px; min-height:110vh; position:relative; overflow:hidden; max-width:1920px; margin:0 auto; box-sizing:border-box; }
.hero-text { flex:1; padding-right:0; margin:0; position:relative; }
.hero-text p { font-family:'Roboto', serif; font-weight:300; font-size:20px; margin-bottom:60px; }
.hero-img { position:absolute; left:55px; top:10vh; opacity:.9; user-select:none; pointer-events:none; z-index:1; }
.hero-img img { max-width:100%; height:auto; -webkit-user-drag:none; }
.hero h1 { color:var(--kc-green); font-size:9vh; line-height:1; margin-bottom:10px; }
@media (min-width:1921px){
  .hero h1 { font-size:80px; }
  .hero .container { min-height:900px; }
  .hero { min-height:900px; }
  .hero-text p { font-size:18px; }
  .hero-img { top:0; left:70px; }
}

/* Shared Contact CTA section */
.contact-section {
  background: var(--kc-green) url('images/contact-bg.png') no-repeat center center;
  background-size: cover;
  border-radius: 0 0 44px 44px;
  position: relative; 
  overflow: hidden; 
  text-align: center; 
  max-width:1920px; 
  margin:0 auto;
  display:flex; 
  align-items:center; 
  justify-content:center; 
  min-height:180px; 
  padding:30px 20px;
}
.contact-container { display:flex; flex-direction:column; align-items:center; gap:0; position:relative; z-index:1; }
.contact-section h2 { font-size:36px; font-weight:700; color:#fff; margin:0; }
.contact-section p { font-size:18px; font-weight:200; color:#fff; margin:4px 0 20px; }

/* Shared contact card (used on multiple pages) */
.contact-card { background: var(--kc-green); color:#fff; padding:28px; border-radius:12px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; text-align:center; }
.contact-card .section-title { color:#fff; text-align:center; margin-bottom:12px; font-size:42px; font-weight:700; }
.contact-card form { width:100%; max-width:700px; display:flex; flex-direction:column; align-items:stretch; gap:8px; }
.form-row-sm { width:100%; display:flex; align-items:center; gap:16px; margin-bottom:12px; }
.contact-card .form-row-sm .block { width:220px; min-width:140px; margin:0; text-align:left; font-size:18px; color:#fff; font-weight:700; }
.contact-card .form-row-sm input, .contact-card .form-row-sm textarea { flex:1; margin:0; }
.contact-card input, .contact-card textarea { width:100%; max-width:1100px; padding:12px; border-radius:8px; border:none; margin-bottom:12px; }
.contact-card textarea { min-height:140px; }
.contact-card .btn-gold { font-family:poppins,sans-serif; padding:12px 24px; border-radius:8px; font-weight:800; font-size:15px; width:100%; max-width:1100px; transition:background .18s ease; }
.contact-card .btn-gold:hover { background:#dc9c1d; }
.contact-card #contact-status { max-width:1100px; margin:8px auto 0; text-align:center; }

@media (max-width:900px) { .contact-card form { max-width:100%; padding:0 12px; } .contact-card input, .contact-card textarea, .contact-card #contact-status { max-width:100%; } }
@media (max-width:700px) { .contact-card .form-row-sm { flex-direction:column; align-items:stretch; gap:8px; } .contact-card .form-row-sm .block { width:100%; min-width:0; text-align:left; } }

/* Footer */
.footer { background:#fff; border-radius:44px 44px 0 0; color:#000; padding-top:70px; margin:0 auto; width:100%; }
.footer-top { display:flex; justify-content:space-between; gap:60px; flex-wrap:wrap; margin:0 auto; max-width:1920px; }

/* Enhanced Newsletter Section */
.newsletter { 
  flex: 1; 
  min-width: 300px;
}
.newsletter h3 { 
  font-size:40px; 
  margin-bottom:15px; 
  line-height: 1.2;
  max-width: 500px; /* Match form width for better alignment */
}
.newsletter .highlight { color: var(--kc-gold); font-weight:bold; }

/* Enhanced Newsletter Form with Better Shadow */
.newsletter-form { 
  display:flex; 
  margin-top:10px; 
  margin-bottom:15px; 
  box-shadow: 0 8px 25px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08); 
  border-radius:12px; 
  max-width: 400px; /* Thinner form */
  position: relative;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.newsletter-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
}

.newsletter-form input { 
  padding:16px 18px; 
  border-radius:12px 0 0 12px; 
  border:none; 
  background:#f8f8f8; 
  flex:1; 
  font-size:14px; 
  font-weight:600;
  transition: background-color 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--kc-gold);
}

.newsletter-form button { 
  background: var(--kc-green); 
  color:#fff; 
  border:none; 
  padding:16px 22px; 
  border-radius:0 12px 12px 0; 
  cursor:pointer; 
  font-size:14px; 
  font-weight:700;
  transition: all 0.3s ease;
  min-width: 120px;
}

.newsletter-form button:hover {
  background: #0a3223;
  transform: scale(1.02);
}

.social-icons a { display:inline-block; margin-right:10px; margin-top:20px; }
.footer-links { display:flex; gap:140px; }
.footer-links h4 { margin-bottom:10px; font-weight:bold; font-size:24px; }
.footer-links a { display:block; color:inherit; margin-bottom:5px; text-decoration:none; }
.footer-bottom { text-align:center; font-size:14px; padding:20px 0; border-top:1px solid #eee; margin-top:50px; }
.footer-bottom a { color: var(--kc-gold); text-decoration:none; }

/* Utility */
.hidden-row { display:none !important; }

/* ==================================================
   RESPONSIVE STYLES
   ================================================== */

/* Tablet Styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .container {
    padding: 0 clamp(30px, 4vw, 60px);
  }
  
  .header .container {
    padding: 15px clamp(30px, 4vw, 60px);
  }
  
  .hero h1 {
    font-size: 7vh;
  }
  
  .hero .container {
    padding: 30px clamp(30px, 4vw, 60px);
  }
  
  .hero-text p {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .hero-img {
    left: 40px;
    top: 8vh;
  }
  
  .nav-menu a {
    margin: 0 15px;
    font-size: 14px;
  }
  
  .btn-yellow {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .contact-section h2 {
    font-size: 32px;
  }
  
  .footer-links {
    gap: 80px;
  }
  
  .newsletter h3 {
    font-size: 36px;
  }
}

/* Mobile Styles (up to 767px) */
@media screen and (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
  
  /* Improve touch targets */
  .hamburger {
    padding: 10px;
    margin: -10px;
  }
  
  /* Mobile Header & Navigation */
  .header .container {
    padding: 15px 20px;
    position: relative;
  }
  
  .hamburger {
    display: flex;
  }
  
  /* Mobile menu overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--kc-green);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    z-index: 999;
    gap: 0;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .nav-menu a {
    width: 100%;
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 16px;
    text-align: left;
  }
  
  .nav-menu a:hover::after {
    width: 50px;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    display: block !important;
    background: rgba(255,255,255,0.1);
    min-width: auto;
    width: 100%;
    box-shadow: none;
    margin-left: 0;
    margin-top: 10px;
    padding: 0;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  
  .nav-item:hover .dropdown-menu,
  .nav-item:focus-within .dropdown-menu {
    max-height: 300px;
    padding: 10px 0;
  }
  
  .header .nav-menu .dropdown-menu a {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
  }
  
  .header .nav-menu .dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--kc-gold);
  }
  
  .cta-button {
    display: none;
  }
  
  /* Mobile Hero */
  .hero {
    min-height: 90vh;
    border-radius: 20px 0 20px 20px;
  }
  
  .hero .container {
    min-height: 90vh;
    padding: 20px;
    flex-direction: column;
    border-radius: 20px 0 20px 20px;
  }
  
  .hero-text {
    padding-right: 0;
    text-align: center;
    z-index: 2;
  }
  
  .hero h1 {
    font-size: 6vw;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
  }
  
  .hero-img {
    position: relative;
    left: 0;
    top: 0;
    opacity: 0.3;
    order: -1;
    margin-bottom: 20px;
  }
  
  .hero-img img {
    max-width: 200px;
  }
  
  .btn-yellow-hero {
    padding: 12px 30px;
    font-size: 14px;
  }
  
  /* Mobile Contact Section - Better Background Fit */
  .contact-section {
    min-height: 140px;
    border-radius: 0 0 20px 20px;
    padding: 20px;
    background-size: cover;
    background-position: center center;
  }
  
  .contact-section h2 {
    font-size: 24px;
  }
  
  .contact-section p {
    font-size: 16px;
  }
  
  /* Mobile Footer & Newsletter */
  .footer {
    border-radius: 20px 20px 0 0;
    padding-top: 40px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }
  
  .newsletter {
    text-align: center;
  }
  
  .newsletter h3 {
    font-size: 24px;
    line-height: 1.3;
    max-width: 100%; /* Full width on mobile */
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
    max-width: 100%; /* Full width on mobile */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  
  .newsletter-form input {
    border-radius: 8px;
    padding: 15px;
  }
  
  .newsletter-form button {
    border-radius: 8px;
    padding: 15px;
    min-width: auto;
  }
  
  .newsletter-form:hover {
    transform: none; /* Disable hover transform on mobile */
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-links h4 {
    font-size: 20px;
  }
  
  .social-icons {
    text-align: center;
  }
  
  .footer-bottom {
    padding: 15px 20px;
    font-size: 12px;
  }
  
  /* Mobile Contact Card */
  .contact-card {
    padding: 20px;
    margin: 0 20px;
  }
  
  .contact-card .section-title {
    font-size: 32px;
  }
  
  .contact-card form {
    padding: 0;
  }
  
  .contact-card .form-row-sm {
    flex-direction: column;
    gap: 8px;
  }
  
  .contact-card .form-row-sm .block {
    width: 100%;
    text-align: left;
    font-size: 16px;
  }
}

/* Extra Small Mobile (up to 480px) */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .header .container {
    padding: 12px 15px;
  }
  
  .hero h1 {
    font-size: 7vw;
  }
  
  .hero-text p {
    font-size: 14px;
  }
  
  .btn-yellow-hero {
    padding: 10px 25px;
    font-size: 13px;
  }
  
  .contact-section h2 {
    font-size: 20px;
  }
  
  .contact-section p {
    font-size: 14px;
  }
  
  .newsletter h3 {
    font-size: 24px;
  }
  
  .nav-menu {
    width: 100%;
    right: -100%;
    padding: 80px 20px 30px;
  }
  
  .nav-menu a {
    padding: 12px 0;
    font-size: 15px;
  }
}
