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

:root {
  --bg-cream: #faf9f6;
  --bg-accent: #f2f4ef;
  --text-main: #1a1c1a;
  --text-muted: #4a504c;
  --accent-green: #3D5A4A; /* More intense, deeper green */
  --accent-dark: #1E2320;
  --accent-light: #5A7F6C; /* Stronger accent light */
  --white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.15);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --glass: rgba(255, 255, 255, 0.7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Background Volume & Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(90, 115, 101, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(90, 115, 101, 0.1) 0%, transparent 40%),
    url('https://www.transparenttextures.com/patterns/natural-paper.png'); /* Texture layer */
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.75rem; text-align: center; margin-bottom: 2rem; }
h3 { font-size: 1.75rem; color: var(--accent-dark); }

p { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* Layout Groups */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 60px; /* Increased from 40px */
  width: auto;
  transition: var(--transition);
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; /* Increased from 1.4rem */
  font-weight: 600;
  color: var(--text-main);
  margin-left: 1rem;
  letter-spacing: 0.05em;
  text-transform: none;
}

.logo:hover img {
  opacity: 0.8;
}

.logo:hover .logo-text {
  color: var(--accent-green);
}

.logo span {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-green);
  margin-left: 0.3em;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-green);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--text-main); }
.nav-links a:hover::after { width: 100%; }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

@media (max-width: 992px) {
  .mobile-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    z-index: 1000;
  }

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

  .nav-links a {
    margin-left: 0;
    font-size: 1.2rem;
  }
}

/* Main Landing Section (Compact) */
.viewport-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px; /* Header height */
  position: relative;
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr; /* Stacked but overlapping via positioning */
  position: relative;
  height: calc(100vh - 120px);
  padding: 2rem 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(300px, 350px) 1fr minmax(350px, 400px);
  align-items: center;
  gap: 2rem;
  height: 100%;
}

@media (max-width: 1200px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
  .side-products { order: 3; grid-column: span 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

@media (max-width: 992px) {
  .hero-main {
    height: auto;
    padding: 4rem 0;
  }
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  .side-products { 
    grid-column: span 1; 
    grid-template-columns: 1fr;
    order: 3;
  }
  .hero-text { order: 2; }
  .hero-image-container { order: 1; }
  .hero-text p { margin-left: auto; margin-right: auto; }
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
  text-align: left;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08); /* Replaced mask-halo with subtle shadow */
  transition: var(--transition);
}

.hero-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.hero-image-decor {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 1px solid var(--accent-light);
  z-index: -1;
}

/* Fixed Height Scroll indicators or labels as in template */
.label-new {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  border-bottom: 1px solid var(--accent-green);
  margin-bottom: 1rem;
}

/* Scaled-up Service Modules */
.side-products {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* More breathing room */
}

.mini-card {
  background: var(--white);
  padding: 2rem; /* Increased padding */
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  width: 100%; /* Fill the column */
}

.mini-card:hover {
  transform: translateX(10px);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
}

.mini-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; /* Larger titles */
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0.2rem;
}

.mini-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.mini-card .arrow {
  font-size: 1.2rem;
  color: var(--accent-green);
  transition: var(--transition);
  align-self: flex-end;
}

.mini-card:hover .arrow { transform: translateX(5px); }

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent-dark);
  color: var(--white);
  padding: 1rem 2rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-main);
}

.btn-secondary:hover {
  background-color: var(--text-main);
  color: var(--white);
}

.btn-disabled {
  background-color: #ccc;
  color: #fff;
  cursor: not-allowed;
  pointer-events: none;
}

.badge-status {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: var(--accent-light);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.coming-soon-wrapper {
  position: relative;
  opacity: 0.7;
}

.coming-soon-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-green);
  color: white;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 5;
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
  background-color: var(--bg-accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-bottom: 1px solid var(--accent-light);
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-dark);
  background: rgba(255,255,255,0.3);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sub-page adjustments */
.page-hero {
  padding-top: 15vw;
}

/* Responsive Adjustments & Refinements */
@media (max-width: 992px) {
  h1 { font-size: 2.8rem; line-height: 1; }
  h2 { font-size: 2.2rem; }
  
  .viewport-hero {
    height: auto;
    min-height: 100vh;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .page-hero {
    padding-top: 8rem;
  }
  
  header {
    padding: 1rem 0;
  }

  .logo img {
    height: 50px;
  }

  .logo-text {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .btn { width: 100%; text-align: center; }
  .mini-card { padding: 1.5rem; }
}
