@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
    --bg-color: #fdfcf9; /* Alabaster Silk */
    --surface-color: #f6f3eb; /* Travertine Linen */
    --primary: #8fa496; /* Muted Olive Sage */
    --secondary: #bd8775; /* Terracotta Clay */
    --accent: #dcae82; /* Warm Champagne Gold */
    --text-color: #2b2724; /* Obsidian Earth */
    --text-light: #524742; /* Deeper Muted Bark for higher contrast legibility */
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 15px 45px rgba(143, 164, 150, 0.12);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: linear-gradient(to bottom, #f3efe8 0%, #fdfcf9 20%, #fdfcf9 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Subtle noise texture overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 500;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(143, 164, 150, 0.25);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    border-bottom: 1px solid transparent;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    
    /* Visible initially */
    opacity: 1;
    pointer-events: auto;
}

.navbar.scrolled {
    background: rgba(253, 252, 249, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 5%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.navbar .logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar .logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
}



.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0.8rem;
    z-index: 1;
    border: 1px solid transparent;
    border-radius: 30px;
}

.nav-links a:not(.btn-primary):hover {
    color: #ff5500;
}

.nav-links a:not(.btn-primary).active {
    color: #fff !important;
}

.navbar.scrolled .nav-links a {
    color: var(--text-color);
}

.navbar.scrolled .nav-links a:not(.btn-primary):hover {
    color: #ff5500;
}

.navbar.scrolled .nav-links a:not(.btn-primary).active {
    color: #f27a3a !important; /* Orange active */
}

/* Magic Sliding Indicator Pill (barbaroskoklu.com style) */
.nav-indicator-pill {
    display: none !important;
}

.nav-links.is-active .nav-indicator-pill {
    opacity: 1;
}

/* Scrolled version of the indicator pill */
.navbar.scrolled .nav-indicator-pill {
    background: rgba(189, 135, 117, 0.08);
    border-color: rgba(189, 135, 117, 0.22);
    box-shadow: 0 4px 15px rgba(189, 135, 117, 0.04);
}

.navbar:not(.scrolled) .logo img {
    filter: brightness(0) invert(1) !important;
}
.navbar:not(.scrolled) .mobile-menu {
    color: #fff;
}
/* Social links color adaptation */
.navbar:not(.scrolled) .social-link {
    color: #fff;
}
.navbar.scrolled .social-link {
    color: var(--text-color);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(189, 135, 117, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary.dark {
    background: linear-gradient(135deg, var(--text-color) 0%, #4a4440 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.05);
}

.btn-primary.dark:hover {
    background: linear-gradient(135deg, #4a4440 0%, var(--text-color) 100%);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.navbar.scrolled .btn-primary {
    background: var(--text-color);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-color: transparent;
}

.navbar.scrolled .btn-primary:hover {
    background: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: var(--surface-color);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.parallax-img {
    width: 100%;
    height: 125%;
    object-fit: cover;
    object-position: center top; /* Align image focus to top to avoid cutting the head */
    position: absolute;
    top: -15%; /* Pull image further up */
    left: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 650px;
    padding: 0 5%;
    margin-left: 8%;
    margin-top: 18vh; /* Yazılar navbardan aşağı kaydırıldı */
    z-index: 1;
    text-align: left;
}

.hero-overline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #e8e8e8; /* Shade of white */
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-content h1 {
    font-family: var(--font-body);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
}

.hero-content h1 i {
    font-family: var(--font-heading);
    color: var(--accent); /* Altın/Sıcak ton beyazla uyumlu */
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 400; /* Increased from 300 for readability */
    margin-bottom: 2.5rem;
    color: #38302c; /* Stronger dark charcoal for readability */
    max-width: 600px;
    margin-left: 0; /* Left aligned matching text-align: left */
    margin-right: auto;
}

/* Common Section padding */
section {
    padding: 120px 5%;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 200px 200px 20px 20px; /* Elegant arch shape */
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px solid var(--secondary);
    border-radius: 200px 200px 20px 20px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.about-grid:hover .about-image::after {
    transform: translate(15px, 15px);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Classes Section */
.classes-section {
    background-color: var(--surface-color);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.class-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.class-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 50px rgba(143, 164, 150, 0.18);
}

.class-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
}

.class-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.class-card:hover .class-image-wrapper img {
    transform: scale(1.06);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(43, 39, 36, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: all 0.4s ease;
}

.play-overlay ion-icon {
    font-size: 1.8rem;
    color: #fff;
    background: rgba(255, 0, 0, 0.9);
    width: 70px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.class-card:hover .play-overlay {
    background: rgba(43, 39, 36, 0.15);
    opacity: 1;
}

.class-card:hover .play-overlay ion-icon {
    transform: scale(1.1);
    background: #FF0000;
    box-shadow: 0 12px 30px rgba(143, 164, 150, 0.5);
}

.card-content {
    padding: 2.2rem 2rem;
    background: #fff;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card-content p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Contact Section */
section.contact-section {
    padding: 60px 5% 50px;
    background-color: var(--bg-color);
}

.contact-box {
    text-align: center;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.contact-box p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-socials {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.contact-socials a {
    font-size: 2.4rem;
    color: var(--text-color);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-socials a:hover {
    transform: scale(1.15) translateY(-2px);
}

.contact-socials a.yt:hover { color: #FF0000; }
.contact-socials a.ig:hover { color: #E1306C; }
.contact-socials a.wa:hover { color: #25D366; }

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 5%;
    background-color: var(--surface-color);
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(246, 243, 235, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        padding: 2rem;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        color: var(--text-color) !important;
    }
    .nav-links a.active {
        color: #f27a3a !important;
    }
    .navbar-socials .social-link {
        color: var(--text-color) !important;
    }
    .mobile-menu {
        display: block;
    }
    .hero-content {
        margin-left: 0;
        padding: 0 30px;
        max-width: 100%;
    }
    .hero-content h1 { 
        font-size: 3.2rem; 
    }
    .hero-content p {
        color: #fff !important;
    }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image img { border-radius: 20px; aspect-ratio: 4/3; }
    .about-image::after { border-radius: 20px; }
}

/* Testimonials */
.testimonials-section {
    padding: 70px 5%;
    background-color: var(--surface-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.6rem 1.8rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    height: auto;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 1100px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(143, 164, 150, 0.22);
    border-color: var(--secondary);
}

.testimonial-img-wrapper {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
}

.testimonial-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.testimonial-content p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-color);
    font-weight: 300;
    margin-bottom: 1.2rem;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.testimonial-insta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e1306c;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 10px rgba(225, 48, 108, 0.2);
}

.testimonial-insta-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background: #c13584;
    box-shadow: 0 6px 18px rgba(225, 48, 108, 0.35);
}

.testimonial-insta-btn i {
    font-size: 1rem;
}

/* Testimonial Card Truncation and Read More Toggle */
.testimonial-text-container {
    position: relative;
    height: 120px;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-text-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.85));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.testimonial-text-container.expanded .testimonial-text-fade {
    opacity: 0;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--secondary);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.5rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    color: var(--primary);
    transform: translateX(2px);
}

.read-more-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Navbar Socials */
.navbar-socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    color: var(--text-color);
    font-size: 2.4rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.yt:hover {
    color: #FF0000;
}

.social-link.ig:hover {
    color: #e1306c;
}

.social-link.wa:hover {
    color: #25D366;
}

.mobile-socials {
    display: none;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

.mobile-socials .social-link {
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    .navbar-socials {
        display: none;
    }
    .mobile-socials {
        display: flex;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 2rem;
    }
    .testimonial-img-wrapper {
        width: 120px;
        height: 120px;
    }
    .testimonial-footer {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
    border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Decorative Section Separator */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -2.5rem 0 4.5rem;
}
.section-separator::before, .section-separator::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    max-width: 120px;
}
.section-separator span {
    margin: 0 15px;
    color: var(--secondary);
    font-size: 0.75rem;
    letter-spacing: 3px;
    font-weight: 500;
}

/* Mandala Watermark Backgrounds */
.testimonials-section {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' stroke='%238fa496' stroke-width='0.25' fill='none' opacity='0.05'%3E%3Ccircle cx='50' cy='50' r='42'/%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Ccircle cx='50' cy='50' r='18'/%3E%3Ccircle cx='50' cy='50' r='8'/%3E%3Cpath d='M50,8 Q53,20 50,32 Q47,20 50,8'/%3E%3Cpath d='M50,92 Q53,80 50,68 Q47,80 50,92'/%3E%3Cpath d='M8,50 Q20,53 32,50 Q20,47 8,50'/%3E%3Cpath d='M92,50 Q80,53 68,50 Q80,47 92,50'/%3E%3Ccircle cx='50' cy='30' r='12'/%3E%3Ccircle cx='50' cy='70' r='12'/%3E%3Ccircle cx='30' cy='50' r='12'/%3E%3Ccircle cx='70' cy='50' r='12'/%3E%3C/svg%3E");
    background-size: 550px 550px;
    background-position: center 80px;
    background-repeat: no-repeat;
}

.contact-section {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' stroke='%238fa496' stroke-width='0.25' fill='none' opacity='0.05'%3E%3Ccircle cx='50' cy='50' r='42'/%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Ccircle cx='50' cy='50' r='18'/%3E%3Ccircle cx='50' cy='50' r='8'/%3E%3Cpath d='M50,8 Q53,20 50,32 Q47,20 50,8'/%3E%3Cpath d='M50,92 Q53,80 50,68 Q47,80 50,92'/%3E%3Cpath d='M8,50 Q20,53 32,50 Q20,47 8,50'/%3E%3Cpath d='M92,50 Q80,53 68,50 Q80,47 92,50'/%3E%3Ccircle cx='50' cy='30' r='12'/%3E%3Ccircle cx='50' cy='70' r='12'/%3E%3Ccircle cx='30' cy='50' r='12'/%3E%3Ccircle cx='70' cy='50' r='12'/%3E%3C/svg%3E");
    background-size: 550px 550px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   BLOG GRID PAGE
   ========================================================================== */
.blog-header {
    padding: 115px 5% 35px;
    text-align: center;
    background: linear-gradient(135deg, #3d4a41 0%, #202b24 100%);
    position: relative;
    overflow: hidden;
}
.blog-header::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' stroke='%23ffffff' stroke-width='0.25' fill='none'%3E%3Ccircle cx='50' cy='50' r='42'/%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Ccircle cx='50' cy='50' r='18'/%3E%3Ccircle cx='50' cy='50' r='8'/%3E%3Cpath d='M50,8 Q53,20 50,32 Q47,20 50,8'/%3E%3Cpath d='M50,92 Q53,80 50,68 Q47,80 50,92'/%3E%3Cpath d='M8,50 Q20,53 32,50 Q20,47 8,50'/%3E%3Cpath d='M92,50 Q80,53 68,50 Q80,47 92,50'/%3E%3Ccircle cx='50' cy='30' r='12'/%3E%3Ccircle cx='50' cy='70' r='12'/%3E%3Ccircle cx='30' cy='50' r='12'/%3E%3Ccircle cx='70' cy='50' r='12'/%3E%3C/svg%3E");
    background-size: 350px 350px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.blog-header h1 {
    font-size: 3.2rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}
.blog-header p {
    font-size: 1.15rem;
    color: var(--accent);
    font-weight: 300;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    padding: 80px 5% 120px;
    max-width: 1200px;
    margin: 0 auto;
}
.blog-grid > a {
    text-decoration: none;
    display: block;
}
.blog-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(143, 164, 150, 0.03);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--surface-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(143, 164, 150, 0.12);
    border-color: var(--primary);
}

.blog-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.blog-card:hover .blog-image img {
    transform: scale(1.04);
}
.blog-content {
    padding: 2.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    z-index: 2;
}
.blog-date {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.blog-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
}
.blog-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    font-weight: 300;
}
.read-more {
    display: inline-block;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    transition: all 0.3s ease;
    width: fit-content;
}
.blog-card:hover .read-more {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* Featured Post Layout Overrides */
.blog-grid > a.featured-link {
    grid-column: 1 / -1;
}
@media (min-width: 900px) {
    .blog-grid > a.featured-link .blog-card {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        align-items: stretch;
        height: 480px;
    }
    .blog-grid > a.featured-link .blog-image {
        height: 100%;
    }
    .blog-grid > a.featured-link .blog-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
    }
    .blog-grid > a.featured-link h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .blog-image {
        height: 240px;
    }
}

/* ==========================================================================
   INDIVIDUAL BLOG POSTS (Editorial Premium Template)
   ========================================================================== */
.post-header, .about-hero {
    padding: 115px 5% 35px;
    text-align: center;
    background: linear-gradient(135deg, #3d4a41 0%, #202b24 100%);
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' stroke='%23ffffff' stroke-width='0.25' fill='none'%3E%3Ccircle cx='50' cy='50' r='42'/%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Ccircle cx='50' cy='50' r='18'/%3E%3Ccircle cx='50' cy='50' r='8'/%3E%3Cpath d='M50,8 Q53,20 50,32 Q47,20 50,8'/%3E%3Cpath d='M50,92 Q53,80 50,68 Q47,80 50,92'/%3E%3Cpath d='M8,50 Q20,53 32,50 Q20,47 8,50'/%3E%3Cpath d='M92,50 Q80,53 68,50 Q80,47 92,50'/%3E%3Ccircle cx='50' cy='30' r='12'/%3E%3Ccircle cx='50' cy='70' r='12'/%3E%3Ccircle cx='30' cy='50' r='12'/%3E%3Ccircle cx='70' cy='50' r='12'/%3E%3C/svg%3E");
    background-size: 350px 350px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.about-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}
.about-hero p {
    font-size: 1.15rem;
    color: var(--accent);
    font-weight: 300;
}
.about-hero .hero-overline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
}
.post-header::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' stroke='%23ffffff' stroke-width='0.25' fill='none'%3E%3Ccircle cx='50' cy='50' r='42'/%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Ccircle cx='50' cy='50' r='18'/%3E%3Ccircle cx='50' cy='50' r='8'/%3E%3Cpath d='M50,8 Q53,20 50,32 Q47,20 50,8'/%3E%3Cpath d='M50,92 Q53,80 50,68 Q47,80 50,92'/%3E%3Cpath d='M8,50 Q20,53 32,50 Q20,47 8,50'/%3E%3Cpath d='M92,50 Q80,53 68,50 Q80,47 92,50'/%3E%3Ccircle cx='50' cy='30' r='12'/%3E%3Ccircle cx='50' cy='70' r='12'/%3E%3Ccircle cx='30' cy='50' r='12'/%3E%3Ccircle cx='70' cy='50' r='12'/%3E%3C/svg%3E");
    background-size: 350px 350px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.post-header .post-meta {
    justify-content: center;
    margin-bottom: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.post-header .post-category {
    background: var(--accent);
    color: var(--text-color);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.post-header .post-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.post-header h1 {
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 0;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 500;
}
.post-cover-editorial {
    max-width: 1200px;
    margin: -40px auto 4rem;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}
.post-cover-editorial img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    max-height: 70vh;
    object-fit: cover;
}
.post-container-editorial {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5% 100px;
}
.post-content-wrap {
    font-size: 1.15rem;
    line-height: 1.95;
    color: var(--text-color);
    font-weight: 300;
}
.post-content-wrap p {
    margin-bottom: 2rem;
    text-align: justify;
}
.post-content-wrap p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    float: left;
    line-height: 0.8;
    margin-right: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
}
.post-content-wrap h2 {
    font-size: 2.2rem;
    margin: 3.5rem 0 1.5rem;
    color: var(--text-color);
    line-height: 1.3;
}
.post-content-wrap h3 {
    font-size: 1.7rem;
    margin: 3rem 0 1.2rem;
    color: var(--text-color);
    line-height: 1.3;
}
.post-content-wrap blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
    margin: 3.5rem 0;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
}

/* Standalone Images & WordPress Blocks */
.post-content-wrap .wp-block-image {
    margin: 3.5rem 0;
    text-align: center;
}
.post-content-wrap .post-inline-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 3.5rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* Image Galleries */
.post-content-wrap .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3.5rem 0;
    padding: 0;
    list-style: none;
}
.post-content-wrap .wp-block-gallery figure {
    margin: 0;
}
.post-content-wrap .wp-block-gallery img {
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(143, 164, 150, 0.06);
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}
.back-link:hover {
    color: var(--secondary);
    transform: translateX(-5px);
}
.back-link svg, .back-link i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .post-cover-editorial {
        margin: -20px auto 2.5rem;
        padding: 0 15px;
    }
    .post-content-wrap {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    .post-content-wrap h2 {
        font-size: 1.8rem;
        margin: 2.5rem 0 1.2rem;
    }
    .post-content-wrap h3 {
        font-size: 1.5rem;
        margin: 2.2rem 0 1rem;
    }
    .post-content-wrap blockquote {
        padding-left: 1.5rem;
        margin: 2.5rem 0;
        font-size: 1.25rem;
    }
    .post-content-wrap .wp-block-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2.5rem 0;
    }
    .post-content-wrap .post-inline-image,
    .post-content-wrap .wp-block-image {
        margin: 2.5rem 0;
    }
}

/* ==========================================================================
   BENTO GRID UTILITIES (Used in About page)
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}
.bento-item {
    background: var(--glass-bg);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
/* Sizes */
.bento-large { grid-column: span 4; }
.bento-half { grid-column: span 2; }
.bento-third { grid-column: span 1; }
.bento-two-thirds { grid-column: span 3; }
.bento-tall { grid-row: span 2; }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-large, .bento-half, .bento-two-thirds { grid-column: span 2; }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large, .bento-half, .bento-two-thirds, .bento-third { grid-column: span 1; }
}
