/*
Theme Name: Bali Good Eyes
Theme URI: https://baligoodeyes.com
Author: Bali Good Eyes
Author URI: https://baligoodeyes.com
Description: Custom theme untuk Bali Good Eyes — Creative Digital Agency
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: bgs
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark: #1A1A2E;
  --dark2: #22223F;
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim: rgba(201,168,76,0.15);
  --white: #FAF8F3;
  --muted: rgba(250,248,243,0.55);
  --body-bg: #FAF8F3;
  --text: #1A1A2E;
  --text-muted: #6B6B7A;
  --border: rgba(26,26,46,0.1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--body-bg); color: var(--text); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--dark);
  display: flex; align-items: center; padding: 0 5%;
  justify-content: space-between;
  transition: var(--transition);
}
.site-header.scrolled { background: rgba(26,26,46,0.96); backdrop-filter: blur(12px); }
.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-eye { width: 36px; height: 36px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-eye::after { content: ''; width: 12px; height: 12px; background: var(--dark); border-radius: 50%; }
.logo-text { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--white); }
.logo-text span { color: var(--gold); }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a { font-size: 14px; color: rgba(250,248,243,0.7); transition: color var(--transition); }
.nav-menu a:hover, .nav-menu .current-menu-item a { color: var(--white); }
.nav-cta { background: var(--white); color: var(--dark); font-size: 13px; font-weight: 500; padding: 10px 24px; border-radius: var(--radius); transition: background var(--transition); }
.nav-cta:hover { background: var(--gold); color: var(--dark); }

/* ── BUTTONS ── */
.btn-white { background: var(--white); color: var(--dark); font-size: 14px; font-weight: 500; padding: 13px 28px; border-radius: var(--radius); border: none; cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover { background: var(--gold); color: var(--dark); }
.btn-outline { background: transparent; color: var(--white); font-size: 14px; padding: 13px 28px; border-radius: var(--radius); border: 1px solid rgba(250,248,243,0.3); cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold { background: var(--gold); color: var(--dark); font-size: 13px; font-weight: 500; padding: 12px 28px; border-radius: var(--radius); border: none; cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: var(--white); font-size: 13px; font-weight: 500; padding: 13px 32px; border-radius: var(--radius); border: none; cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-dark:hover { transform: translateY(-2px); }

/* ── SECTIONS ── */
.section-wrap { padding: 88px 5%; }
.section-label { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 600; line-height: 1.1; margin-bottom: 14px; }
.section-sub { font-size: 15px; font-weight: 300; color: var(--text-muted); line-height: 1.75; max-width: 480px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 5% 80px;
  position: relative; overflow: hidden;
}
.hero-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(201,168,76,0.12) 1px, transparent 1px); background-size: 28px 28px; opacity: 0.6; }
.hero-inner { position: relative; z-index: 2; max-width: 700px; }
.hero-badge { display: inline-block; border: 1px solid rgba(201,168,76,0.5); color: var(--gold); font-size: 13px; padding: 8px 20px; border-radius: 40px; margin-bottom: 28px; }
.hero-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 68px); font-weight: 600; line-height: 1.1; color: var(--white); margin-bottom: 20px; }
.hero-title em { color: var(--gold); font-style: normal; }
.hero-desc { font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.75; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 0; margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(250,248,243,0.1); }
.hero-stat { flex: 1; max-width: 160px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(250,248,243,0.1); }
.hero-stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── SERVICES GRID ── */
.services-bg { background: var(--white); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 20px; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.service-card { background: var(--white); padding: 36px 28px; transition: background var(--transition); }
.service-card:hover { background: var(--dark); }
.service-card:hover .sc-num, .service-card:hover .sc-name, .service-card:hover .sc-desc { color: var(--white); }
.service-card:hover .sc-icon { background: var(--gold-dim); border-color: rgba(201,168,76,0.3); }
.sc-num { font-size: 12px; color: var(--border); letter-spacing: 0.1em; margin-bottom: 20px; transition: color var(--transition); }
.sc-icon { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: all var(--transition); }
.sc-icon svg { width: 20px; height: 20px; stroke: var(--text-muted); stroke-width: 1.5; fill: none; transition: stroke var(--transition); }
.service-card:hover .sc-icon svg { stroke: var(--gold); }
.sc-name { font-size: 16px; font-weight: 500; margin-bottom: 8px; transition: color var(--transition); }
.sc-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; transition: color var(--transition); }

/* ── WHY SECTION ── */
.why-bg { background: var(--dark); }
.why-bg .section-title { color: var(--white); }
.why-bg .section-sub { color: var(--muted); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.why-card { border: 1px solid rgba(250,248,243,0.08); border-radius: var(--radius-sm); padding: 32px 28px; transition: border-color var(--transition); }
.why-card:hover { border-color: rgba(201,168,76,0.3); }
.why-num { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: rgba(201,168,76,0.2); line-height: 1; margin-bottom: 16px; }
.why-name { font-size: 16px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.why-desc { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ── CLIENTS ── */
.clients-bg { background: var(--white); padding: 48px 5%; }
.clients-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); text-align: center; margin-bottom: 24px; }
.clients-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.client-chip { font-size: 13px; color: var(--text-muted); padding: 8px 20px; border: 1px solid var(--border); border-radius: 40px; transition: all var(--transition); }
.client-chip:hover { border-color: var(--gold); color: var(--text); }

/* ── BLOG ── */
.blog-bg { background: var(--body-bg); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,26,46,0.08); }
.blog-thumb { height: 200px; background: var(--dark); overflow: hidden; position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-image: radial-gradient(circle, rgba(201,168,76,0.08) 1px, transparent 1px); background-size: 18px 18px; }
.blog-thumb-placeholder svg { width: 36px; height: 36px; stroke: var(--gold); stroke-width: 1; fill: none; opacity: 0.6; }
.blog-body { padding: 22px; }
.blog-cat { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.blog-title { font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.35; margin-bottom: 10px; }
.blog-title a { color: var(--text); transition: color var(--transition); }
.blog-title a:hover { color: var(--gold); }
.blog-meta { font-size: 12px; color: var(--text-muted); }

/* ── PORTFOLIO ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portfolio-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; aspect-ratio: 4/3; background: var(--dark); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay { position: absolute; inset: 0; background: rgba(26,26,46,0.8); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); padding: 20px; text-align: center; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.portfolio-overlay-cat { font-size: 11px; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── CTA BAND ── */
.cta-band { background: var(--gold); padding: 80px 5%; text-align: center; }
.cta-title { font-family: var(--font-display); font-size: clamp(26px, 4vw, 40px); font-weight: 600; color: var(--dark); margin-bottom: 10px; }
.cta-sub { font-size: 15px; color: rgba(26,26,46,0.65); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO ── */
.page-hero { background: var(--dark); padding: calc(var(--nav-h) + 80px) 5% 80px; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12px; color: rgba(250,248,243,0.35); margin-bottom: 24px; }
.breadcrumb a { color: rgba(250,248,243,0.35); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.page-hero-label { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); font-weight: 600; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
.page-hero-sub { font-size: 15px; font-weight: 300; color: var(--muted); max-width: 500px; line-height: 1.75; }

/* ── SINGLE POST ── */
.single-post { padding: calc(var(--nav-h) + 60px) 5% 80px; max-width: 780px; margin: 0 auto; }
.post-cat { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.post-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); font-weight: 600; line-height: 1.1; margin-bottom: 20px; }
.post-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.post-thumb { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 40px; }
.post-thumb img { width: 100%; height: 400px; object-fit: cover; }
.post-content { font-size: 16px; font-weight: 300; line-height: 1.85; color: var(--text); }
.post-content h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; margin: 40px 0 16px; }
.post-content h3 { font-size: 20px; font-weight: 500; margin: 32px 0 12px; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--gold); padding: 16px 24px; margin: 32px 0; background: rgba(201,168,76,0.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-size: 20px; font-style: italic; }
.post-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.post-content a { color: var(--gold); border-bottom: 1px solid rgba(201,168,76,0.3); }

/* ── FOOTER ── */
.site-footer { background: var(--dark); padding: 56px 5% 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(250,248,243,0.08); }
.footer-brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer-brand-name span { color: var(--gold); }
.footer-brand-desc { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 32px; height: 32px; border: 1px solid rgba(250,248,243,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--muted); transition: all var(--transition); }
.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col-links a { font-size: 13px; color: var(--muted); display: block; margin-bottom: 10px; transition: color var(--transition); }
.footer-col-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 12px; color: rgba(250,248,243,0.25); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.4,0,0.2,1) forwards; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.25s; } .d3 { animation-delay: 0.4s; } .d4 { animation-delay: 0.55s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section-wrap { padding: 60px 5%; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
