@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Minimal & Calm Color Palette */
  --bg-color: #FAFAFA;
  --bg-secondary: #F2EEE9;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --accent-color: #A39382;
  --border-color: #E2DFD9;
  --white: #FFFFFF;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 100px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--bg-color); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }

/* Global Form Font Reset */
input, textarea, select, button { font-family: var(--font-body); }

/* Typography Consistency */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 500; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; font-weight: 500; }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); font-size: 1.15rem; font-weight: 300; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, li { font-family: var(--font-body); }

.list-styled { list-style-position: inside; margin-bottom: 30px; color: var(--text-secondary); font-size: 1.15rem; font-weight: 300; }
.list-styled li { margin-bottom: 8px; }

/* Utility Classes */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 5%; }
.section { padding: 120px 0; }
.bg-secondary { background-color: var(--bg-secondary); }
.text-center { text-align: center; }

.btn { display: inline-flex; justify-content: center; align-items: center; padding: 16px 36px; background-color: var(--text-primary); color: var(--white); font-family: var(--font-heading); font-weight: 500; border-radius: 4px; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.95rem; border: 1px solid var(--text-primary); cursor: pointer; transition: var(--transition); }
.btn:hover { background-color: transparent; color: var(--text-primary); }
.btn-outline { background-color: transparent; color: var(--text-primary); }
.btn-outline:hover { background-color: var(--text-primary); color: var(--white); }

.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
/* Header */
header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); background-color: var(--bg-color); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); transition: var(--transition); }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: auto; width: auto; max-width: 100%; }
header .logo img { mix-blend-mode: darken; max-height: 90px; }
.nav-wrapper { display: flex; flex: 1; justify-content: space-between; align-items: center; margin-left: 30px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links li a { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); position: relative; padding-bottom: 4px; }
.nav-links li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--text-primary); transition: var(--transition); }
.nav-links li a:hover { color: var(--text-primary); }
.nav-links li a:hover::after { width: 100%; }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1001; }
.mobile-menu-btn span { display: block; width: 100%; height: 2px; background-color: var(--text-primary); position: absolute; transition: var(--transition); }
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* Split Hero Section */
.hero-split { display: flex; min-height: 100vh; padding-top: var(--header-height); align-items: stretch; }
.hero-text-side { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 5% 0 10%; background-color: var(--bg-color); }
.hero-image-side { flex: 1; position: relative; }
.hero-image-side img { width: 100%; height: 100%; object-fit: cover; }
.hero-subtitle { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.9rem; color: var(--accent-color); margin-bottom: 1rem; display: block; font-weight: 500; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

/* 4-Column Minimal Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; }
.service-card { border: none; background: transparent; text-align: center; }
.service-img { width: 100%; height: 280px; object-fit: cover; border-radius: 4px; margin-bottom: 20px; transition: var(--transition); }
.service-card:hover .service-img { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.service-content { padding: 0 10px; }
.service-content h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.service-content p { font-size: 0.95rem; }

/* Timeline Process (How We Work) */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 60px; margin-bottom: 50px; }
.process-step { position: relative; }
.process-step::after { content: ''; position: absolute; top: 25px; left: 80px; width: calc(100% - 60px); height: 1px; background-color: var(--border-color); z-index: -1; }
.process-step:last-child::after { display: none; }
.process-number { font-family: var(--font-heading); font-size: 3.5rem; color: var(--bg-secondary); font-weight: 700; line-height: 1; margin-bottom: 20px; display: inline-block; background: var(--bg-color); padding-right: 15px; }
.process-step h4 { font-size: 1.2rem; margin-bottom: 10px; }
.process-step p { font-size: 0.95rem; color: var(--text-secondary); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; margin-bottom: 50px; }
.testimonial-card { background: var(--white); padding: 40px 30px; border-radius: 8px; border: 1px solid var(--border-color); text-align: left; }
.testimonial-text { font-size: 1.05rem; font-style: italic; margin-bottom: 20px; color: var(--text-secondary); line-height: 1.8; }
.testimonial-author { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.testimonial-stars { color: var(--accent-color); margin-top: 5px; font-size: 0.9rem; }

/* Internal Page Headers */
.page-header { padding: 200px 0 100px; background-color: var(--bg-secondary); text-align: center; }

/* Content Blocks */
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; margin-bottom: 60px; }
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }
.content-img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

@media (min-width: 993px) {
    .content-block > div:nth-child(2) { position: relative; }
    .content-block .content-img { position: absolute; top: 0; left: 0; }
}
@media (max-width: 992px) {
    .content-block .content-img { height: auto; aspect-ratio: 4/3; }
}

/* Auto-Scrolling Marquee Gallery */
.gallery-section { padding: 60px 0; overflow: hidden; background-color: var(--white); margin-bottom: 60px; }
.marquee-container { position: relative; width: 100%; overflow: hidden; white-space: nowrap; padding: 20px 0; }
.marquee-track { display: inline-block; animation: marquee 180s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: inline-block; width: 450px; height: 350px; margin-right: 30px; border-radius: 12px; overflow: hidden; }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.marquee-item:hover img { transform: scale(1.05); }

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

/* About Page Specifics */
.about-hero { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; text-align: center; border-top: 1px solid var(--border-color); padding-top: 60px; }
.stat-item h3 { font-size: 3rem; color: var(--accent-color); margin-bottom: 5px; }

/* Footer */
footer { background-color: var(--text-primary); color: var(--white); padding: 40px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
footer p { color: rgba(255,255,255,0.7); font-family: var(--font-body); }
footer h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 20px; color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.95rem; font-weight: 300; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; margin-top: 30px; display: flex; justify-content: center; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.5); font-family: var(--font-body); }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .hero-split { flex-direction: column; }
  .hero-text-side { padding: 120px 5% 60px; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-image-side { min-height: 45vh; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; }
  .process-step::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .content-block { grid-template-columns: 1fr; gap: 40px; }
  .content-block.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container { padding: 0 25px; }
  .page-header { padding: 140px 0 60px; }
  .nav-wrapper { position: fixed; top: var(--header-height); left: 0; width: 100%; height: calc(100vh - var(--header-height)); background-color: var(--bg-color); flex-direction: column; justify-content: center; align-items: center; gap: 30px; transform: translateX(100%); transition: transform 0.4s ease-in-out; margin-left: 0; }
  .nav-wrapper.active { transform: translateX(0); }
  .nav-links { flex-direction: column; text-align: center; gap: 20px; }
  .nav-links li a { font-size: 1.5rem; }
  .mobile-menu-btn { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 30px; }
  .process-number { font-size: 2.5rem; margin-bottom: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-buttons .btn { width: 100%; margin-bottom: 10px; }
  .marquee-item { width: 300px; height: 230px; margin-right: 15px; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .hero-text-side h1 { font-size: 2.2rem; }
  .hero-text-side p { font-size: 1.1rem; }
  .header-container { padding: 0 20px; }
  .marquee-item { width: 280px; height: 210px; }
}
