/* ============================================
   Anidel Holdings — Stylesheet
   ============================================ */

:root {
  --color-bg: #FDFBF7;
  --color-bg-alt: #F5F0E8;
  --color-dark: #1A1A1A;
  --color-text: #3D3D3D;
  --color-text-light: #6B6B6B;
  --color-green: #2C4A3E;
  --color-green-deep: #1B3328;
  --color-cream: #F5F0E8;
  --color-gold: #B8965A;
  --color-gold-light: #D4B47A;
  --color-border: #E0D9CC;
  --color-white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1200px;
  --section-pad: 120px;
  --section-pad-mobile: 72px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 0;
  box-shadow: 0 1px 0 var(--color-border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color 0.4s;
}
.nav.scrolled .nav-logo { color: var(--color-green-deep); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--color-text); }
.nav.scrolled .nav-links a:hover { color: var(--color-green); }

.nav-cta {
  padding: 10px 24px !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  border-radius: 0;
  transition: all 0.3s !important;
}
.nav-cta:hover { background: rgba(255,255,255,0.1); }
.nav-cta::after { display: none !important; }
.nav.scrolled .nav-cta {
  border-color: var(--color-green) !important;
  color: var(--color-green) !important;
}
.nav.scrolled .nav-cta:hover {
  background: var(--color-green) !important;
  color: var(--color-white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--color-dark); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green-deep);
  overflow: hidden;
}
/* Slideshow background */
.hero-slideshow {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1);
  animation: heroZoom 8s ease-in-out infinite alternate;
}
.hero-slide.active {
  opacity: 1;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 51, 40, 0.78) 0%,
    rgba(44, 74, 62, 0.60) 50%,
    rgba(27, 51, 40, 0.75) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 32px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 28px;
}
.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--color-green);
  border: 1px solid var(--color-green);
}
.btn-secondary:hover {
  background: var(--color-green);
  color: var(--color-white);
}

/* ============================================
   Section shared
   ============================================ */
.section {
  padding: var(--section-pad) 0;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}
.section-label-light { color: var(--color-gold-light); }
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.section-heading-center { text-align: center; }
.section-heading-light { color: var(--color-white); }
.section-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text-light);
  max-width: 600px;
  margin-bottom: 32px;
}

/* ============================================
   About
   ============================================ */
.section-about {
  background: var(--color-bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

/* ============================================
   Focus Areas
   ============================================ */
.section-focus {
  background: var(--color-cream);
  text-align: center;
}
.section-focus .section-heading {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: left;
}
.focus-card {
  padding: 40px 32px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease);
}
.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.focus-icon {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  margin-bottom: 28px;
}
.focus-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 16px;
}
.focus-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ============================================
   Portfolio
   ============================================ */
.section-portfolio {
  background: var(--color-bg);
  padding-bottom: 0;
}
.section-portfolio .container {
  margin-bottom: 64px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  display: block;
}
.portfolio-img {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}
.portfolio-info {
  padding: 32px;
  background: var(--color-white);
}
.portfolio-location {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  display: block;
}
.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 12px;
}
.portfolio-info p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ============================================
   Stats
   ============================================ */
.section-stats {
  position: relative;
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80') center/cover no-repeat;
  text-align: center;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 51, 40, 0.9);
}
.section-stats .container {
  position: relative;
  z-index: 2;
}
.section-stats .section-heading {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 72px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.stat {
  padding: 32px;
}
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 12px;
}
.stat-label {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   Contact
   ============================================ */
.section-contact {
  background: var(--color-cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-detail-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.contact-detail span, .contact-detail a {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
}
.contact-detail a:hover { color: var(--color-green); }

.contact-form {
  background: var(--color-white);
  padding: 48px;
  border: 1px solid var(--color-border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 15px;
  color: var(--color-dark);
  transition: border-color 0.3s;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-green);
}
.form-group textarea { resize: vertical; }
.contact-form .btn { width: 100%; text-align: center; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-green-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-white);
  display: block;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  max-width: 280px;
}
.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 16px;
}
.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-group a,
.footer-links-group span {
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s;
}
.footer-links-group a:hover { color: var(--color-white); }
.footer-bottom {
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .focus-grid { grid-template-columns: 1fr; gap: 24px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-green-deep);
    flex-direction: column;
    padding: 100px 40px;
    gap: 32px;
    transition: right 0.4s var(--ease-out);
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: rgba(255,255,255,0.8) !important; font-size: 16px; white-space: nowrap; text-align: center; }
  .nav-links { align-items: center; text-align: center; }
  .nav-cta { border-color: rgba(255,255,255,0.3) !important; }

  .hero-title { font-size: clamp(32px, 8vw, 48px); }
  .hero-scroll { display: none; }

  .section-heading { font-size: clamp(26px, 5vw, 36px); }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-img { aspect-ratio: 16/10; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }

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