/* ==============================
   U01 AGENCY — PREMIUM DESIGN SYSTEM
   ============================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@100;300;400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* 4 Season Quiet Luxury Palette - Global Light Theme */
  --bg-dark: #0A0A0A; /* Keep for specific dark contrast elements if needed */
  --bg-surface: #F4F2EB; /* Alternating light section background */
  --bg-light: #EBE9E4; /* Main primary background */
  --bg-card: #FFFFFF; /* Clean white cards */
  
  --gold-mid: #C5A059;
  --gold-bright: #C5A059; /* Solid gold */
  --gold-pale: #D3B373;
  
  /* Global Text Colors (Dark) */
  --text-primary: #0A0A0A; 
  --text-secondary: #4A4A4A;
  --text-muted: #7A7A7A;
  
  --border: rgba(0,0,0,0.08);
  --border-light: rgba(0,0,0,0.04);
  --glass: rgba(255,255,255,0.6); /* Frosted glass on light background */
  --shadow-glow-gold: 0 8px 30px rgba(197, 160, 89, 0.15); /* Soft gold shadow */
  
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: 'Cormorant Garamond', serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-mid); border-radius: 10px; }

/* ── REUSABLE ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-mid); margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 28px; height: 2px;
  background: var(--gold-mid); border-radius: 2px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500; line-height: 1.15;
  color: var(--text-primary); margin-bottom: 20px;
}
.section-title span { color: var(--gold-mid); font-style: italic; }
.section-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 580px; line-height: 1.8; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px;
  background: var(--gold-mid); color: #000000; /* High contrast */
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition); box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1); opacity: 0; transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn-primary:hover::after { opacity: 1; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px; border-radius: 50px;
  border: 1px solid var(--text-dark-secondary); color: var(--text-dark);
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  transition: var(--transition); background: transparent;
}
.btn-outline:hover { border-color: var(--text-dark); background: var(--text-dark); color: var(--bg-light); transform: translateY(-2px); }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0; transition: var(--transition);
}
#navbar.scrolled {
  padding: 14px 0;
  background: rgba(244,242,235,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}
#navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; text-decoration: none;
}
.site-logo { max-height: 32px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; padding: 8px 16px;
  border-radius: 50px; transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(0,0,0,0.05); }

.nav-cta { margin-left: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
  background: var(--bg-light);
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg-light);
}
.hero-grid, .hero-orb { display: none; } /* Removed tech elements */
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
  padding: 8px 18px; border-radius: 50px;
  border: 1px solid var(--border-light); 
  font-size: 0.75rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--text-secondary);
}
.hero-badge .live-dot { width: 6px; height: 6px; background: var(--gold-mid); border-radius: 50%; margin-right:4px; }

/* Logo Image Display */
.hero-logo-wrapper { margin-bottom: 32px; display: block; }
.hero-logo {
  max-height: 80px; width: auto; 
  display: block; object-fit: contain;
}

.hero-tagline-wrapper { margin-bottom: 12px; display: none; } /* Hide old typewriter for cleaner look */
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-secondary); margin-bottom: 44px;
  max-width: 520px; line-height: 1.8; font-weight: 300;
}
.hero-sub strong { color: var(--text-primary); font-weight: 500; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite; z-index: 2;
}
.hero-scroll-hint .arrow {
  width: 20px; height: 20px; border-right: 2px solid var(--gold-mid);
  border-bottom: 2px solid var(--gold-mid); transform: rotate(45deg);
}
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap; margin-top: 60px;
  padding-top: 40px; border-top: 1px solid var(--border-light);
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 400;
  color: var(--text-primary); line-height: 1;
}
.hero-stat-label { font-size: 0.75rem; color: var(--text-secondary); letter-spacing: 2px; text-transform: uppercase; }

/* ── ABOUT ── */
#about { background: var(--bg-surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.about-u01-bg {
  display: flex; justify-content: center; align-items: center;
  opacity: 0.05; user-select: none; pointer-events: none;
}
.about-logo-bg { max-width: 320px; width: 100%; height: auto; filter: grayscale(1); }
.about-cards {
  position: absolute; display: flex; flex-direction: column; gap: 16px;
  width: 100%; max-width: 300px;
}
.about-card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  backdrop-filter: blur(12px); transition: var(--transition);
}
.about-card:hover { border-color: rgba(201,152,62,0.4); transform: translateX(6px); box-shadow: var(--shadow-glow-gold); }
.about-card-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.about-card-text { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.7; }
.about-icon { font-size: 1.6rem; margin-bottom: 10px; }
.about-text .section-desc { margin-bottom: 24px; }
.about-pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pillar {
  padding: 7px 16px; border-radius: 50px;
  border: 1px solid var(--border); font-size: 0.82rem; color: var(--text-secondary);
  background: var(--glass); transition: var(--transition);
}
.pillar:hover { border-color: var(--gold-bright); color: var(--gold-pale); }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 60px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px 32px;
  transition: var(--transition); position: relative; overflow: hidden; cursor: default;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(197,160,89,0.3); box-shadow: var(--shadow-glow-gold); }
.service-icon-wrap {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--gold-mid); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 24px; color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(197,160,89,0.2); position: relative; z-index: 1;
}
.service-title { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }
.service-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; position: relative; z-index: 1; }
.service-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 0.85rem; color: var(--gold-bright);
  font-weight: 600; transition: var(--transition); position: relative; z-index: 1;
}
.service-card:hover .service-arrow { gap: 10px; }

/* ── PORTFOLIO / WEBSITES ── */
#portfolio { background: var(--bg-surface); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); gap: 28px; margin-top: 60px; }
.portfolio-card {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  transition: var(--transition); position: relative;
}
.portfolio-card:hover { transform: translateY(-6px); border-color: rgba(197,160,89,0.4); box-shadow: var(--shadow-glow-gold); }
.portfolio-preview {
  width: 100%; height: 260px; object-fit: cover; display: block;
  border-bottom: 1px solid var(--border);
}
.portfolio-iframe-wrap {
  width: 100%; height: 260px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.portfolio-iframe-wrap iframe {
  width: 200%; height: 200%; transform: scale(0.5); transform-origin: top left;
  border: none; pointer-events: none;
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(244,242,235,0.95) 100%);
}
.portfolio-info { padding: 24px 28px; }
.portfolio-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  background: rgba(197,160,89,0.12); border: 1px solid rgba(197,160,89,0.3);
  font-size: 0.75rem; color: var(--gold-mid); font-weight: 600; margin-bottom: 12px;
}
.portfolio-title { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.portfolio-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; }
.portfolio-link {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--gold-mid); font-weight: 600; font-size: 0.88rem;
  transition: var(--transition); border-bottom: 1px solid transparent;
}
.portfolio-link:hover { border-color: var(--gold-mid); gap: 12px; }

/* ── ADS REEL ── */
#ads { overflow: hidden; }
.ads-header { text-align: center; margin-bottom: 60px; }
.ads-header .section-desc { margin: 0 auto; text-align: center; }
.ads-reel-wrap {
  position: relative;
  display: flex; gap: 20px;
  overflow-x: auto; padding: 12px 4px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--gold-mid) transparent;
}
.ads-reel-wrap::-webkit-scrollbar { height: 4px; }
.ads-reel-wrap::-webkit-scrollbar-thumb { background: var(--gold-mid); border-radius: 4px; }
.ad-card {
  flex: 0 0 280px; scroll-snap-align: start;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  transition: var(--transition); position: relative;
}
.ad-card:hover { border-color: rgba(197,160,89,0.45); box-shadow: var(--shadow-glow-gold); }
.ad-card video {
  width: 100%; height: 400px; object-fit: cover; display: block;
  background: #EBE9E4;
}
.ad-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px; background: linear-gradient(to top, rgba(244,242,235,0.95), transparent);
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--text-primary);
  pointer-events: none;
}
.ads-nav {
  display: flex; justify-content: center; gap: 12px; margin-top: 28px;
}
.ads-nav-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--glass); color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); font-size: 1.1rem;
  backdrop-filter: blur(10px);
}
.ads-nav-btn:hover { border-color: var(--gold-mid); background: rgba(197,160,89,0.12); color: var(--text-primary); }

/* ── GRAPHICS ── */
#graphics { background: var(--bg-surface); }
.graphics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 60px;
}
.graphic-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  transition: var(--transition); position: relative; aspect-ratio: 4/3;
}
.graphic-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--transition); }
.graphic-card:hover { transform: scale(1.03); border-color: rgba(197,160,89,0.45); box-shadow: var(--shadow-glow-gold); }
.graphic-card:hover img { transform: scale(1.06); }
.graphic-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px; background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
  font-size: 0.82rem; font-weight: 600; color: var(--text-primary);
}

/* ── CONTACT ── */
#contact {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(197,160,89,0.09) 0%, transparent 70%);
}
.contact-inner {
  text-align: center; max-width: 680px; margin: 0 auto;
}
.contact-inner .section-label { justify-content: center; }
.contact-inner .section-desc { margin: 0 auto 44px; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 48px 40px; backdrop-filter: blur(12px);
  margin-top: 48px; text-align: left;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; color: var(--text-secondary); font-weight: 500; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px;
  color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: var(--transition); outline: none; resize: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold-mid); box-shadow: 0 0 0 3px rgba(197,160,89,0.12);
}
.form-group select option { background: var(--bg-card); }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 16px 32px; border-radius: 14px; }
.contact-socials { display: flex; justify-content: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  border: 1px solid var(--border); background: var(--glass);
  color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; font-weight: 500;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold-mid); color: var(--gold-mid); background: rgba(197,160,89,0.09); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  background: var(--bg-surface);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-logo { display: inline-block; }
.footer-site-logo { max-height: 32px; width: auto; display: block; }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-mid); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── ANIMATIONS ── */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(201,152,62,0.07), transparent);
  background-size: 200%; animation: shimmer 2.5s infinite;
}

/* ── MOBILE NAV OVERLAY ── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(235,233,228,0.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700;
  color: var(--text-primary); text-decoration: none; transition: var(--transition);
}
.mobile-menu a:hover { color: var(--gold-mid); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 1.5rem; cursor: pointer; color: var(--text-secondary);
  background: none; border: none; transition: var(--transition);
}
.mobile-close:hover { color: var(--text-primary); }

/* notification toast */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--gold-mid); color: #FFFFFF;
  padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 0.9rem;
  box-shadow: var(--shadow-glow-gold); opacity: 0; pointer-events: none;
  transform: translateY(20px); transition: all 0.4s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-u01 { font-size: clamp(80px, 22vw, 130px); letter-spacing: -4px; }
  .hero-stats { gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .graphics-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 72px 0; }
  .graphics-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { justify-content: center; }
}
