@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0e7c6b;
  --primary-dark: #095e52;
  --primary-light: #12a68f;
  --accent: #e8944a;
  --accent-light: #f5c78e;
  --dark: #1a1a2e;
  --dark-card: #16213e;
  --text: #2d3436;
  --text-light: #636e72;
  --bg: #ffffff;
  --bg-light: #f8fffe;
  --bg-hero: linear-gradient(135deg, rgba(14,124,107,0.85), rgba(26,26,46,0.75));
  --border: #e0ece9;
  --shadow: 0 4px 20px rgba(14,124,107,0.12);
  --shadow-hover: 0 8px 30px rgba(14,124,107,0.2);
  --radius: 12px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.3; color: var(--dark); }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); }
.logo-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}
.logo-text { font-size: 1.3rem; font-weight: 700; color: var(--dark); display: block; line-height: 1.1; }
.logo-sub { font-size: 0.7rem; color: var(--primary); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

.nav-desktop { display: flex; gap: 32px; align-items: center; }
.nav-desktop a { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }
.nav-desktop .btn-nav {
  background: var(--primary); color: #fff; padding: 10px 24px;
  border-radius: 50px; font-weight: 600;
}
.nav-desktop .btn-nav:hover { background: var(--primary-dark); }

.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer; color: var(--dark);
}
.mobile-nav {
  display: none; flex-direction: column; background: var(--bg);
  border-top: 1px solid var(--border); padding: 16px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-nav a:hover { color: var(--primary); }

/* ===== HERO SLIDER — Full Viewport ===== */
.hero-slider { position: relative; height: 100vh; min-height: 600px; overflow: hidden; margin-top: 70px; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
}
.slide-content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  color: #fff; padding: 24px; z-index: 2;
}
.slide-content .subtitle {
  font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 16px; font-weight: 600;
}
.slide-content h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem); color: #fff; max-width: 850px;
  line-height: 1.2; margin-bottom: 20px; font-weight: 700;
}
.slide-content h2 a { color: #fff; }
.slide-content h2 a:hover { color: var(--accent-light); }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3);
  color: #fff; width: 50px; height: 50px; border-radius: 50%;
  cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: all 0.3s;
}
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== BLOG LIST — Vertical Cards (image top, content below) ===== */
.blog-list { display: flex; flex-direction: column; gap: 48px; }
.blog-box {
  display: flex; flex-direction: column; background: var(--bg); border-radius: 16px;
  overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.07); transition: all 0.3s;
}
.blog-box:hover { box-shadow: 0 8px 32px rgba(14,124,107,0.15); transform: translateY(-3px); }
.blog-box-img { width: 100%; height: 520px; overflow: hidden; border-radius: 16px; margin: 0; }
.blog-box-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-box:hover .blog-box-img img { transform: scale(1.03); }
.blog-box-content {
  padding: 28px 32px 32px; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.blog-box-content h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--dark); line-height: 1.4; }
.blog-box-content h3:hover { color: var(--primary); }
.blog-box-content a h3 { text-decoration: underline; text-underline-offset: 4px; }
.blog-box-content > p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.blog-box-meta {
  display: flex; gap: 24px; font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; justify-content: center;
}
.blog-box-meta strong { color: var(--text); }

/* ===== BLOG GRID (kept for other pages if needed) ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card {
  background: var(--bg); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.3s;
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.blog-card-img { height: 220px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--dark); }
.blog-card-body h3 a { color: var(--dark); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 8px; line-height: 1.6; }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--text-light); margin-top: 16px;
}
.blog-card-link { color: var(--primary); font-weight: 700; }
.blog-card-link:hover { color: var(--accent); }

/* ===== PAGE HERO ===== */
.page-hero {
  margin-top: 70px; padding: 80px 0; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #fff;
}
.page-hero h1 { font-size: 2.8rem; margin-bottom: 16px; color: #fff; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: 2rem; margin-bottom: 16px; color: var(--primary); }
.about-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.about-text strong { color: var(--dark); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s;
  border: none; text-align: center;
}
.btn-sm { padding: 10px 24px; font-size: 0.88rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #d4802e; }
.btn-outline {
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 24px; line-height: 1.8; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: var(--text); }
.contact-detail strong { color: var(--dark); }
.contact-form { background: var(--bg-light); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--dark); font-size: 0.9rem; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 20px;
  transition: border-color 0.3s; background: var(--bg);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { resize: vertical; min-height: 140px; }

/* ===== POST PAGE ===== */
.post-content { max-width: 1400px; margin: 0 auto; padding: 60px 40px; }
.post-content h1 { font-size: 2.2rem; color: var(--primary); margin-bottom: 20px; }
.post-content h2 { font-size: 1.6rem; margin: 32px 0 16px; color: var(--dark); }
.post-content p { color: var(--text-light); margin-bottom: 20px; line-height: 1.9; font-size: 1.05rem; }
.post-content img { border-radius: var(--radius); margin: 24px 0; width: 100%; }
.post-content ul, .post-content ol { margin: 16px 0 20px 24px; color: var(--text-light); }
.post-content li { margin-bottom: 8px; line-height: 1.7; }
.post-content blockquote {
  border-left: 4px solid var(--primary); padding: 20px 24px; margin: 24px 0;
  background: var(--bg-light); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text);
}

/* ===== LEGAL ===== */
.legal-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.legal-content h1 { font-size: 2rem; margin-bottom: 24px; color: var(--dark); }
.legal-content h2 { font-size: 1.4rem; margin: 28px 0 12px; color: var(--primary); }
.legal-content p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.legal-content ul { margin: 12px 0 16px 24px; color: var(--text-light); }
.legal-content li { margin-bottom: 8px; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-family: var(--font-heading); margin-bottom: 20px; font-size: 1.1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: var(--accent-light); }
.footer-brand .logo-icon { background: linear-gradient(135deg, var(--primary-light), var(--accent)); }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: var(--accent-light); }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--primary); color: #fff; padding: 16px 24px;
  border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transform: translateY(120%); transition: transform 0.4s ease;
  max-width: 360px;
}
.toast.show { transform: translateY(0); }
.toast-title { font-weight: 700; margin-bottom: 4px; }
.toast-message { font-size: 0.88rem; opacity: 0.9; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-box-img { height: 280px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: block; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 80vh; }
  .slide-content h2 { font-size: 1.6rem; }
  .page-hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
