/* Core Branding */
:root {
  --logo-blue: #203C61;
  --text-tan: #9F8D81;
  --light-bg: #f8f9fa;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; line-height: 1.7; color: var(--text-tan); background: var(--white); }

.container { max-width: 1100px; margin: auto; padding: 0 30px; }
.section { padding: 90px 0; }
.bg-light { background-color: var(--light-bg); }

.section-title { 
  font-family: 'Playfair Display', serif; 
  font-size: 2.2rem; 
  text-align: center; 
  color: var(--logo-blue); 
  margin-bottom: 50px; 
}

/* Navigation & Logo */
nav { background: var(--white); padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo-link { text-decoration: none; display: block; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; white-space: nowrap; }
.logo-blue { color: var(--logo-blue); }
.logo-tan { color: var(--text-tan); padding-left: 5px; }

.nav-menu { display: flex; list-style: none; align-items: center; }
.nav-menu li { margin-left: 25px; }
.nav-menu a { text-decoration: none; color: var(--text-tan); font-weight: 600; font-size: 0.9rem; position: relative; }
.nav-menu a:not(.btn-cta) { padding-bottom: 5px; }
nav a:not(.btn-cta):not(.logo-link):hover { border-bottom: 2px solid var(--text-tan); }

.btn-cta {
  background: var(--logo-blue); color: var(--white) !important;
  height: 38px; line-height: 38px; padding: 0 20px; border-radius: 4px;
  display: inline-block; text-align: center;
}

/* Hamburger Menu - UPDATED: background-color changed from tan to blue */
.menu-toggle { display: none; cursor: pointer; }
.menu-toggle span { 
  display: block; 
  width: 25px; 
  height: 3px; 
  background-color: var(--logo-blue); /* Changed from var(--text-tan) */
  margin: 5px 0; 
  transition: 0.4s; 
}

/* Hero Section */
.hero { position: relative; min-height: 85vh; padding: 30px 0 100px 0; display: flex; align-items: center; background-color: var(--white); }
.hero-container { position: relative; z-index: 2; text-align: center; width: 100%; margin: auto; }
.hero-graphic { width: 350px; height: auto; margin-bottom: 30px; display: inline-block; }
.hero-title-main { font-family: 'Playfair Display', serif; font-size: 2.1rem; color: var(--logo-blue); margin-bottom: 40px; white-space: nowrap; }
.feature-png { height: 60px; width: auto; display: block; margin: 0 auto 15px; }
.hero-features { display: flex; justify-content: center; gap: 50px; margin-bottom: 50px; }
.btn-hero-large {
  height: 65px; line-height: 65px; padding: 0 50px; font-size: 1.3rem;
  background: var(--logo-blue); color: var(--white); border-radius: 4px;
  font-weight: 600; cursor: pointer; border: none; display: inline-block;
}

/* About Me */
.about-layout { display: flex; gap: 50px; align-items: center; }
.about-image { 
  flex: 0 0 300px; 
  width: 300px;
  height: 300px; 
  overflow: hidden; 
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text { flex: 1; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 30px; }
.service-card { background: var(--white); padding: 40px 20px; border-radius: 12px; border: 1px solid #eee; text-align: center; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.service-icon { color: var(--logo-blue); font-size: 2.5rem; margin-bottom: 15px; }

.service-card h4 { 
  color: var(--logo-blue); 
  font-size: 1.15rem; 
  margin-bottom: 15px;
  white-space: nowrap;
  overflow: hidden;
}

.service-list { 
  list-style: none; 
  font-size: 0.9rem; 
  text-align: center; 
}
.service-list li { margin-bottom: 8px; }

/* Case-by-Case Styling */
.case-by-case-text { 
  text-align: center; 
  font-style: italic; 
  margin-bottom: 60px; 
  color: var(--logo-blue); 
  font-weight: 500; 
}

.services-footer-content { display: flex; justify-content: space-between; gap: 50px; padding-top: 40px; border-top: 1px solid #ddd; }
.footer-sub-title { color: var(--logo-blue); margin-bottom: 20px; font-size: 1.2rem; }
.check-list { list-style: none; padding: 0; }
.checkmark { color: var(--logo-blue); margin-right: 10px; font-weight: bold; }

/* Gallery Triggers */
.gallery-trigger { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform 0.3s ease; }
.gallery-trigger:hover { transform: scale(1.03); }

/* Contact Me */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-details h4 { color: var(--logo-blue); margin-bottom: 10px; }
.contact-form-box { padding: 40px; border-radius: 8px; border-left: 6px solid var(--logo-blue); background: #f9f9f9; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
input, textarea { width: 100%; padding: 14px; background: var(--white); border: 1px solid #ddd; color: #333; border-radius: 4px; }
.btn-submit { width: 100%; padding: 16px; background: var(--logo-blue); color: var(--white); border: none; font-weight: bold; cursor: pointer; border-radius: 4px; }

/* Footer & Social */
.social-bar { padding: 40px 0; text-align: center; border-top: 1px solid #eee; }
.social-icon { height: 30px; }
footer { text-align: center; padding: 40px; background: var(--light-bg); color: var(--text-tan); font-size: 0.8rem; }

/* Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); align-items: center; justify-content: center; }
.modal-content { background: var(--white); padding: 50px; border-radius: 12px; width: 90%; max-width: 650px; position: relative; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 35px; cursor: pointer; color: var(--text-tan); }

/* Mobile Logic */
@media (max-width: 768px) {
  .service-card h4 { font-size: 1rem; }
  .logo { font-size: 1.15rem; }
  .hero-title-main { font-size: 1.5rem; white-space: normal; }
  .hero-graphic { width: 200px; }
  .gallery-trigger { height: 200px; }
  .hero-features, .about-layout, .contact-layout, .form-row, .services-footer-content { flex-direction: column; grid-template-columns: 1fr; }
  .about-image { width: 250px; height: 250px; flex: none; margin: 0 auto 30px; }
  .menu-toggle { display: block; }
  .nav-menu { position: fixed; top: -100%; left: 0; width: 100%; background: var(--white); flex-direction: column; text-align: center; transition: 0.4s; padding: 40px 0; }
  .nav-menu.active { top: 60px; }
}