/* ========================================
   GLOBAL STYLES & VARIABLES
======================================== */
:root {
    --bg-primary: #FFFFFF;
    --header-primary: #003049;
    --secondary-link: #F77F00;
    --cta-highlight: #D62828;
    --footer-icons: #003049;
    --text-dark: #003049;
    --text-light: #ffffff;
    --glass-bg: rgba(252, 191, 73, 0.15);
    --glass-border: rgba(0, 48, 73, 0.2);
}

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

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

/* ========================================
   GLASSMORPHISM CARD
======================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.main-header {
    background: var(--header-primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cta-highlight);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary {
    background: var(--header-primary);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--header-primary);
}

.btn-primary:hover {
    background: var(--cta-highlight);
    color: var(--text-light);
    border-color: var(--cta-highlight);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-link);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--secondary-link);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--secondary-link);
    color: var(--text-light);
    transform: scale(1.05);
}

.btn-cta {
    background: var(--cta-highlight);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--cta-highlight);
    box-shadow: 0 4px 15px rgba(214, 40, 40, 0.4);
}

.btn-cta:hover {
    background: var(--header-primary);
    color: var(--text-light);
    border-color: var(--header-primary);
    transform: scale(1.05);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--header-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.2rem;
    color: var(--secondary-link);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========================================
   SECTIONS
======================================== */
.skills-preview,
.portfolio-grid-section,
.skills-section,
.goal-section,
.contact-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--header-primary);
    margin-bottom: 3rem;
}

/* ========================================
   SKILLS GRID
======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skills-grid .glass-card {
    text-align: center;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skills-grid h3 {
    font-size: 1.5rem;
    color: var(--header-primary);
    margin-bottom: 0.5rem;
}

.skills-grid p {
    color: var(--text-dark);
    font-weight: 400;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-link), var(--header-primary));
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-content h2 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-hero {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.image-placeholder {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: var(--secondary-link);
}

.image-placeholder span {
    font-size: 1rem;
    margin-top: 1rem;
    color: var(--text-dark);
}

.about-intro h1 {
    font-size: 3rem;
    color: var(--header-primary);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-bullet {
    color: var(--header-primary);
    font-size: 1.5rem;
}

.goal-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.goal-card h2 {
    color: var(--header-primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.goal-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========================================
   PORTFOLIO PAGE
======================================== */
.portfolio-hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.portfolio-hero h1 {
    font-size: 3rem;
    color: var(--header-primary);
    margin-bottom: 1rem;
}

.portfolio-hero p {
    font-size: 1.2rem;
    color: var(--secondary-link);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-image {
    font-size: 4rem;
    text-align: center;
    padding: 2rem;
    background: rgba(252, 191, 73, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
}

.portfolio-category {
    display: inline-block;
    background: var(--cta-highlight);
    color: var(--text-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-info h3 {
    color: var(--header-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.contact-hero h1 {
    font-size: 3rem;
    color: var(--header-primary);
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--secondary-link);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: start;
}

.contact-item .icon {
    font-size: 2rem;
}

.contact-item h4 {
    color: var(--header-primary);
    margin-bottom: 0.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--header-primary);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--glass-border);
    border-radius: 10px;
    font-family: 'Funnel Sans', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-link);
}

/* ========================================
   FOOTER
======================================== */
.main-footer {
    background: var(--footer-icons);
    color: var(--text-light);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cta-highlight);
}

.social-icons {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
}

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--header-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .portfolio-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   GALLERY PAGE STYLES
======================================== */
.gallery-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
}

.gallery-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    background: rgba(252, 191, 73, 0.15);
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.photo-count {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--secondary-link);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.gallery-placeholder p {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.gallery-card-info {
    padding: 1.5rem 0 0 0;
}

.gallery-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.event-emoji {
    font-size: 1.5rem;
}

.gallery-card-info h3 {
    font-size: 1.4rem;
    color: var(--header-primary);
    margin: 0;
}

.gallery-description {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(252, 191, 73, 0.2);
    border-radius: 10px;
    font-size: 0.85rem;
}

.event-date,
.event-count {
    color: var(--secondary-link);
    font-weight: 500;
}

.view-gallery-btn {
    width: 100%;
    text-align: center;
}

/* Gallery Statistics */
.gallery-stats {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--header-primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--secondary-link);
    font-weight: 600;
}

/* ========================================
   GALLERY VIEW PAGE STYLES
======================================== */
.gallery-view-hero {
    text-align: center;
    padding: 2rem 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    text-align: left;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--secondary-link);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--header-primary);
}

.gallery-view-hero h1 {
    font-size: 2.5rem;
    color: var(--header-primary);
    margin-bottom: 0.5rem;
}

.gallery-view-hero p {
    color: var(--secondary-link);
    font-size: 1.1rem;
}

/* Photo Grid */
.photo-grid-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    background: rgba(252, 191, 73, 0.15);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-number {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.5);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.close-lightbox:hover {
    color: var(--cta-highlight);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    padding: 1rem 1.5rem;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--cta-highlight);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 2rem;
    border-radius: 30px;
}

/* No Photos State */
.no-photos {
    max-width: 600px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.no-photos .glass-card {
    padding: 3rem 2rem;
}

.no-photos h2 {
    color: var(--header-primary);
    margin-bottom: 1rem;
}

.no-photos p {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* ========================================
   RESPONSIVE - GALLERY
======================================== */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .close-lightbox {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BLOG LIST PAGE STYLES
======================================== */
.blog-hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.blog-hero h1 {
    font-size: 3rem;
    color: var(--header-primary);
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    color: var(--secondary-link);
}

/* Category Filter */
.blog-filter {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.filter-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--cta-highlight);
    color: var(--text-light);
    border-color: var(--cta-highlight);
    transform: translateY(-2px);
}

/* Featured Post */
.featured-post-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.featured-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #FCBF49;
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-size: 2rem;
    color: var(--header-primary);
    margin: 1rem 0;
    line-height: 1.3;
}

.featured-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-meta span {
    color: var(--secondary-link);
    font-weight: 500;
}

.category {
    background: var(--secondary-link);
    color: var(--text-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.views {
    color: var(--text-dark);
    font-weight: 600;
}

/* Blog Grid */
.blog-grid-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1rem;
    background: rgba(252, 191, 73, 0.15);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--header-primary);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-content h3 {
    color: var(--header-primary);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.excerpt {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--secondary-link);
    font-weight: 500;
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: var(--secondary-link);
}

/* Blog CTA */
.blog-cta {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.blog-cta .cta-content {
    padding: 3rem 2rem;
}

.blog-cta h2 {
    color: var(--header-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* No Posts */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
}

.no-posts .glass-card {
    padding: 3rem 2rem;
}

.no-posts h3 {
    color: var(--header-primary);
    margin-bottom: 1rem;
}

/* ========================================
   BLOG DETAIL PAGE STYLES
======================================== */
.breadcrumb-section {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.breadcrumb-container a {
    color: var(--secondary-link);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.breadcrumb-container a:hover {
    color: var(--header-primary);
}

/* Post Header */
.blog-post {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--header-primary);
    margin: 1rem 0;
    line-height: 1.3;
}

.post-header .post-meta {
    justify-content: center;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    padding: 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content h3 {
    color: var(--header-primary);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.post-content li {
    margin-bottom: 0.8rem;
}

.post-content strong {
    color: var(--header-primary);
    font-weight: 700;
}

/* Tags */
.post-tags {
    margin: 2rem 0;
}

.post-tags h4 {
    color: var(--header-primary);
    margin-bottom: 1rem;
}

.tags-list {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-link);
    border: 2px solid var(--glass-border);
}

/* Share Section */
.post-share {
    padding: 2rem;
    margin: 2rem 0;
}

.post-share h4 {
    color: var(--header-primary);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.facebook {
    background: #4267B2;
    color: white;
}

.share-btn.linkedin {
    background: #0077B5;
    color: white;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Related Posts */
.related-posts-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Newsletter */
.newsletter-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.newsletter-card {
    text-align: center;
    padding: 3rem 2rem;
}

.newsletter-card h2 {
    color: var(--header-primary);
    margin-bottom: 1rem;
}

.newsletter-card p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--glass-border);
    border-radius: 30px;
    font-family: 'Funnel Sans', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary-link);
}

/* ========================================
   RESPONSIVE - BLOG
======================================== */
@media (max-width: 768px) {
    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-header h1 {
        font-size: 1.8rem;
    }

    .post-content {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .share-buttons {
        justify-content: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RECIPES PAGE STYLES
======================================== */
.recipes-hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.recipes-hero h1 {
    font-size: 3rem;
    color: var(--header-primary);
    margin-bottom: 1rem;
}

.recipes-hero p {
    font-size: 1.2rem;
    color: var(--secondary-link);
}

/* Recipe Filters */
.recipe-filters {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.filter-container .filter-group {
    margin-bottom: 1.5rem;
}

.filter-container label {
    font-weight: 700;
    color: var(--header-primary);
    margin-right: 1rem;
    display: inline-block;
}

/* Featured Recipes */
.featured-recipes-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.featured-recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-recipe-card {
    padding: 0;
    overflow: hidden;
}

.recipe-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.recipe-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.glass-card:hover .recipe-image-container img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #FCBF49;
    color: var(--text-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
}

.recipe-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.recipe-overlay {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
}

.recipe-content {
    padding: 2rem;
}

.recipe-header {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.cuisine-badge,
.difficulty-badge,
.cuisine-tag,
.difficulty-tag {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.cuisine-badge,
.cuisine-tag {
    background: var(--header-primary);
}

.difficulty-badge,
.difficulty-tag {
    background: var(--secondary-link);
}

.recipe-content h3 {
    font-size: 1.5rem;
    color: var(--header-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.recipe-description {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.recipe-meta,
.recipe-quick-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--secondary-link);
    font-weight: 500;
}

/* Recipes Grid */
.recipes-grid-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.recipe-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recipe-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.recipe-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.recipe-card-content h3 {
    font-size: 1.3rem;
    color: var(--header-primary);
    margin-bottom: 0.8rem;
}

.recipe-card-content .recipe-description {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.recipe-card-content .btn-secondary {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Recipe Stats */
.recipe-stats {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.no-recipes {
    text-align: center;
    padding: 3rem 2rem;
}

.no-recipes .glass-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ========================================
   RECIPE DETAIL PAGE STYLES
======================================== */
.recipe-detail {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.recipe-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}

.recipe-badges {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.recipe-detail-header h1 {
    font-size: 2.8rem;
    color: var(--header-primary);
    margin: 1rem 0;
    line-height: 1.2;
}

.recipe-detail-header .recipe-description {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.recipe-header-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--secondary-link);
}

.recipe-featured-image {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    max-height: 500px;
}

.recipe-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder-large {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    background: rgba(252, 191, 73, 0.2);
    color: var(--secondary-link);
}

/* Quick Stats */
.recipe-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.recipe-quick-stats .stat-card {
    text-align: center;
    padding: 1.5rem;
}

.recipe-quick-stats .stat-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.recipe-quick-stats h4 {
    color: var(--header-primary);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.recipe-quick-stats p {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Recipe Sections */
.recipe-section {
    margin-bottom: 2rem;
}

.recipe-section h2 {
    color: var(--header-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Ingredients */
.ingredients-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.8rem;
}

.ingredient-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: rgba(252, 191, 73, 0.15);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.ingredient-item:hover {
    background: rgba(252, 191, 73, 0.25);
}

.ingredient-item input[type="checkbox"] {
    margin-right: 1rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.ingredient-item label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ingredient-quantity {
    font-weight: 700;
    color: var(--header-primary);
    font-size: 0.9rem;
}

.ingredient-name {
    color: var(--text-dark);
}

.ingredient-item input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Instructions */
.instructions-list {
    counter-reset: step-counter;
}

.instruction-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--header-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.instruction-item p {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Chef's Notes */
.chef-notes {
    background: linear-gradient(135deg, rgba(252, 191, 73, 0.3), rgba(247, 127, 0, 0.2));
    border-left: 4px solid var(--cta-highlight);
}

.chef-notes h2 {
    color: var(--cta-highlight);
}

.chef-notes p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
}

/* Recipe Actions */
.recipe-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

/* Related Recipes */
.related-recipes-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.related-recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Print Styles */
@media print {
    .main-header,
    .main-footer,
    .breadcrumb-section,
    .recipe-actions,
    .related-recipes-section {
        display: none;
    }
    
    .recipe-detail {
        max-width: 100%;
    }
    
    .glass-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ========================================
   RESPONSIVE - RECIPES
======================================== */
@media (max-width: 768px) {
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .recipe-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ingredients-list {
        grid-template-columns: 1fr;
    }
    
    .recipe-detail-header h1 {
        font-size: 2rem;
    }
    
    .filter-container .filter-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-container label {
        margin-bottom: 0.5rem;
    }
}
