/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #1a1a1a;
  --white: #f9f8f5;
  --gold: #B5A17C;
  --gold-light: #D4C5A0;
  --gold-dark: #8C7A5A;
  --gray-light: #e8e6e1;
  --gray: #888;
  --text-dark: #2c2c2c;
  --text-light: #f0ede6;

  /* Expanded luxury palette */
  --cream: #F5F0E8;
  --greige: #C8BFB1;
  --charcoal: #2E2E2E;
  --sage: #7D8B75;
  --sage-light: #95A68C;
  --warm-taupe: #A89F91;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

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

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo span {
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

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

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

.nav-links a.active {
  color: var(--gold);
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #33302b 0%, #1a1a1a 50%, #0d0d0d 100%);
  opacity: 1;
}

/* When you have a real background image, uncomment this:
.hero-bg {
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.4;
}
*/

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

.hero-logo-badge {
  width: 180px;
  height: 180px;
  margin: 0 auto 32px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-badge img {
  width: 80px;
  height: auto;
  object-fit: contain;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.hero h1 .highlight {
  color: var(--gold);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gray);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: var(--gold);
  margin: 0 auto;
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--black);
  color: var(--text-light);
}

.section-charcoal {
  background: var(--charcoal);
  color: var(--text-light);
}

.section-cream {
  background: var(--cream);
}

.section-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--black);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.section-dark .section-header .divider {
  background: var(--gold);
}

.section-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-dark .section-header p,
.section-charcoal .section-header p {
  color: #aaa;
}

.section-charcoal .section-header .divider {
  background: var(--gold);
}

/* ===== INTRO / ABOUT PREVIEW ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-text h2 {
  margin-bottom: 8px;
}

.intro-text .divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
}

.intro-text p {
  color: #666;
  margin-bottom: 24px;
}

.intro-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--sage);
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}

/* ===== SERVICES CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--charcoal);
  padding: 48px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  border-bottom-color: var(--gold);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 16px;
}

.service-card p {
  color: #aaa;
  font-size: 0.95rem;
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.85rem;
  border: 1px dashed #ccc;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.portfolio-overlay p {
  color: var(--white);
  font-size: 0.85rem;
}

/* Filter buttons */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: none;
  border: 1px solid #ddd;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--cream);
  padding: 40px 32px;
  position: relative;
  border-left: 3px solid var(--greige);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  padding-top: 24px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial-author span {
  display: block;
  font-weight: 400;
  color: var(--gray);
  font-size: 0.85rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.section-gold .cta-section p {
  color: #555;
}

/* ===== ABOUT PAGE ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-info-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid #ddd;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
  background: var(--black);
  padding: 160px 0 80px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

.page-header .divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
}

/* ===== SERVICES PAGE DETAILED ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-light);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-text h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.service-detail-text .divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 16px;
}

.service-detail-text p {
  color: #666;
  margin-bottom: 16px;
}

.service-detail-text ul {
  list-style: none;
  margin-bottom: 24px;
}

.service-detail-text ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: #555;
}

.service-detail-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: #999;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #888;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #888;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .testimonials-grid,
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .intro-grid,
  .about-story,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .about-values {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-stats {
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}
