/* ============================================================
   Villa Huzur — Blog shared stylesheet
   Matches the main site design system (navy + gold, Playfair + Inter)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --gold: #c9a84c; --gold-light: #e8c97a; --gold-dark: #a07830;
  --navy: #0d1b2a; --navy-mid: #1a2f45;
  --teal: #1a7a6e; --teal-light: #22a898;
  --cream: #faf8f3; --warm-gray: #f5f0e8;
  --text-dark: #1a1a2e; --text-mid: #4a4a6a; --text-light: #7a7a9a;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2rem,5vw,3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem,3.5vw,2.3rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem,2.5vw,1.5rem); font-weight: 600; }
p  { font-size: 1rem; color: var(--text-mid); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.text-center { text-align: center; }
.gold-divider { width: 60px; height: 3px; background: linear-gradient(90deg,var(--gold),var(--gold-light)); border-radius: 2px; margin: 1rem auto 1.5rem; }
.gold-divider.left { margin-left: 0; }

.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem; border-radius: 50px; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.badge-gold  { background: rgba(201,168,76,.15); color: var(--gold-dark); border: 1px solid rgba(201,168,76,.4); }
.badge-teal  { background: rgba(26,122,110,.12); color: var(--teal); border: 1px solid rgba(26,122,110,.3); }
.badge-navy  { background: rgba(13,27,42,.08);  color: var(--navy); border: 1px solid rgba(13,27,42,.2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 2rem; border-radius: 50px; font-size: .95rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); white-space: nowrap; }
.btn-gold { background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color: #fff; box-shadow: 0 4px 20px rgba(201,168,76,.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,.55); }
.btn-outline-gold { background: transparent; color: var(--gold-dark); border: 2px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-teal { background: linear-gradient(135deg,var(--teal),var(--teal-light)); color: #fff; box-shadow: 0 4px 20px rgba(26,122,110,.35); }
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,122,110,.5); }
.btn-whatsapp { background: linear-gradient(135deg,#25d366,#128c7e); color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,.4); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.55); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* ─── NAVBAR ─── */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: var(--transition); background: rgba(13,27,42,.97); backdrop-filter: blur(12px); }
#navbar.scrolled { padding: .6rem 0; box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo-main { font-family: 'Playfair Display',serif; font-size: 1.35rem; font-weight: 700; color: #fff; }
.nav-logo-sub  { font-size: .62rem; font-weight: 500; color: var(--gold-light); letter-spacing: .15em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 500; letter-spacing: .03em; transition: var(--transition); position: relative; }
.nav-links a::after { content:''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: var(--transition); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: .75rem; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background:none; border:none; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); z-index: 999; padding: 5rem 2rem 2rem; flex-direction: column; gap: 2rem; overflow-y:auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #fff; font-size: 1.25rem; font-family: 'Playfair Display',serif; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 1rem; }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* ─── LANG TOGGLE ─── */
.lang-toggle { display: inline-flex; align-items: center; gap: .25rem; border: 1.5px solid var(--gold); border-radius: 50px; padding: .25rem .35rem; background: rgba(201,168,76,.08); }
.lang-toggle button { background: none; border: none; cursor: pointer; font-family: 'Inter',sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .03em; color: rgba(255,255,255,.6); padding: .28rem .55rem; border-radius: 50px; display: inline-flex; align-items: center; gap: .28rem; transition: var(--transition); }
.lang-toggle button:hover { color: #fff; }
.lang-toggle button.active { color: var(--gold-light); background: rgba(201,168,76,.18); }
.lang-toggle .lang-sep { color: rgba(255,255,255,.25); font-size: .72rem; }
.lang-toggle .flag { font-size: .9rem; line-height: 1; }
.mobile-menu .lang-toggle { align-self: flex-start; }
body.lang-switching [data-tr], body.lang-switching [data-en] { opacity: .35; }

/* ─── BLOG PAGE HEADER ─── */
.blog-header { background: linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 55%,#0d3b2e 100%); color: #fff; padding: 9rem 0 4rem; text-align: center; position: relative; }
.blog-header h1 { color: #fff; margin-bottom: .5rem; }
.blog-header h1 span { color: var(--gold-light); }
.blog-header .blog-intro { max-width: 680px; margin: 1.2rem auto 0; color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.8; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--gold-light); }

/* ─── BLOG GRID ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.post-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,.05); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card-img { aspect-ratio: 16/10; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .8rem; font-size: .74rem; color: var(--text-light); }
.post-card h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.post-card h3 a:hover { color: var(--gold-dark); }
.post-card-excerpt { font-size: .9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.2rem; flex: 1; }
.post-card-more { font-size: .85rem; font-weight: 600; color: var(--gold-dark); align-self: flex-start; }
.post-card-more:hover { color: var(--gold); }

/* ─── ARTICLE ─── */
.article-hero { width: 100%; aspect-ratio: 21/9; overflow: hidden; margin-top: 0; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 3.5rem 0 4rem; }
.article-meta { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 2rem; font-size: .85rem; color: var(--text-light); flex-wrap: wrap; }
.article-body h1 { margin-bottom: .5rem; }
.article-body h2 { margin: 2.5rem 0 1rem; }
.article-body h3 { margin: 1.8rem 0 .8rem; }
.article-body p { margin-bottom: 1.2rem; color: var(--text-mid); line-height: 1.85; font-size: 1.05rem; }
.article-body ul.rich { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.article-body ul.rich li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; color: var(--text-mid); line-height: 1.7; }
.article-body ul.rich li::before { content:'✦'; position: absolute; left: 0; color: var(--gold); font-size: .9rem; top: .15rem; }
.article-lead { font-size: 1.2rem !important; color: var(--text-dark) !important; font-weight: 500; line-height: 1.7 !important; }
.data-table-wrap { overflow-x: auto; margin: 1.8rem 0 2rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; box-shadow: var(--shadow-sm); border-radius: var(--radius-md); overflow: hidden; }
.data-table caption { caption-side: top; text-align: left; font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--navy); margin-bottom: .7rem; font-weight: 600; }
.data-table th, .data-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid rgba(0,0,0,.07); vertical-align: top; line-height: 1.55; }
.data-table thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem; }
.data-table tbody tr:nth-child(even) { background: rgba(201,168,76,.06); }
.data-table td:first-child { font-weight: 600; color: var(--text-dark); }
.article-disclaimer { font-size: .9rem; color: var(--text-light); font-style: italic; border-top: 1px solid rgba(0,0,0,.08); padding-top: 1.2rem; margin-top: 2rem; }
.article-cta { background: linear-gradient(135deg,var(--navy),var(--navy-mid)); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; margin: 3rem 0 1rem; }
.article-cta h3 { color: #fff; margin-bottom: .6rem; }
.article-cta p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }
.article-cta .btn { margin: .3rem; }
.related { border-top: 1px solid rgba(0,0,0,.08); padding-top: 2.5rem; margin-top: 3rem; }
.related h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: .06em; }
.related-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related-list a { display: block; padding: 1rem 1.2rem; background: var(--cream); border-radius: var(--radius-sm); font-weight: 600; color: var(--navy); font-size: .92rem; transition: var(--transition); border: 1px solid rgba(0,0,0,.05); }
.related-list a:hover { background: var(--warm-gray); color: var(--gold-dark); transform: translateX(4px); }
.back-blog { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 1.5rem; }

/* ─── FOOTER (incl. Site Map) ─── */
footer { background: #060d14; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand-name { font-family: 'Playfair Display',serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.footer-brand-sub { font-size: .72rem; color: var(--gold-light); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-desc { font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.4); transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-ci { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.footer-ci span, .footer-ci a { font-size: .82rem; color: rgba(255,255,255,.4); transition: var(--transition); }
.footer-ci a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.28); }
.footer-bottom a { color: rgba(255,255,255,.28); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ─── FLOATING WHATSAPP ─── */
#wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.wa-tooltip { background: #fff; border-radius: var(--radius-sm); padding: .6rem 1rem; font-size: .8rem; font-weight: 500; color: var(--text-dark); box-shadow: var(--shadow-md); white-space: nowrap; opacity: 0; transform: translateX(10px); transition: var(--transition); pointer-events: none; }
#wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.wa-btn { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg,#25d366,#128c7e); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.5); cursor: pointer; transition: var(--transition); text-decoration: none; position: relative; }
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.65); }
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }
.wa-btn::after { content:''; position:absolute; inset:0; border-radius:50%; border:2px solid #25d366; animation: waPulse 2s infinite; }
@keyframes waPulse { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(1.5);opacity:0} }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px){
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px){
  .nav-links, .nav-cta .btn { display: none; }
  .nav-cta .lang-toggle { display: none; }
  .hamburger { display: flex; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .related-list { grid-template-columns: 1fr; }
}
