/* Styles for templates/about.html (moved out of the template) */
.author-section-about {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 4rem 2rem;
    margin-bottom: 0.1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    max-width: 1400px; 
    margin-left: auto;
    margin-right: auto;
}

/* LEFT COLUMN - Container for very spaced out stacked images */
.author-images-stack-left {
    flex: 0 0 400px; 
    position: relative;
    height: 800px; 
    margin-top: 1rem;
}

.author-images-stack-right {
    flex: 0 0 400px; 
    position: relative;
    height: 800px; 
    margin-top: 1rem;
}

.author-images-stack-left .author-image-frame-about,
.author-images-stack-right .author-image-frame-about {
    position: absolute !important;
    width: 260px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    margin: 0 !important;
    flex: none !important;
}

.author-images-stack-left .author-image-frame-about:nth-child(1) {
    top: 480px; 
    left: 60px;
    transform: rotate(-15deg);
    z-index: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.author-images-stack-left .author-image-frame-about:nth-child(2) {
    top: 240px; /* Middle position */
    left: 100px;
    width: 280px;
    height: 350px;
    transform: rotate(8deg);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Third image - top of left stack */
.author-images-stack-left .author-image-frame-about:nth-child(3) {
    top: 0px; /* Top position */
    left: 20px;
    width: 270px;
    height: 340px;
    transform: rotate(-6deg);
    z-index: 3;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}


.author-images-stack-right .author-image-frame-about:nth-child(1) {
    top: 480px;
    left: 80px; 
    transform: rotate(12deg); 
    z-index: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.author-images-stack-right .author-image-frame-about:nth-child(2) {
    top: 240px; 
    left: 40px; 
    width: 280px;
    height: 350px;
    transform: rotate(-7deg); 
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.author-images-stack-right .author-image-frame-about:nth-child(3) {
    top: 0px; 
    left: 120px; 
    width: 270px;
    height: 340px;
    transform: rotate(5deg); 
    z-index: 3;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.author-images-stack-left .author-image-frame-about:hover,
.author-images-stack-right .author-image-frame-about:hover {
    z-index: 10 !important;
    transform: rotate(0deg) scale(1.08) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transition: all 0.4s ease;
}

.author-bio {
    flex: 1; 
    min-width: 0;
    padding: 2rem 1.5rem;
    text-align: center; 
    max-width: 500px; 
}

/* Subtle shadows behind both stacks */
.author-images-stack-left::before,
.author-images-stack-right::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 50px;
    right: 50px;
    bottom: 100px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.06) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.author-bio h2 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    color: var(--accent-warm);
    font-family: 'Georgia', serif;
    line-height: 1.2;
}

.author-tagline {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 300;
    opacity: 0.9;
}

.bio-content {
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.bio-content p {
    margin-bottom: 1.3rem;
    color: var(--text-primary);
}


.social-link-abouts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-link-about {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.3rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
}

.social-link-about i {
    font-size: 1rem;
}

.social-link-about:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE DESIGN */

/* Large tablets and small desktops */
@media screen and (max-width: 1200px) {
    .author-section-about {
        gap: 2rem;
        max-width: 1200px;
    }
    
    .author-images-stack-left,
    .author-images-stack-right {
        flex: 0 0 350px;
        height: 700px;
    }
    
    /* Adjust positions for smaller containers */
    .author-images-stack-left .author-image-frame-about:nth-child(1),
    .author-images-stack-right .author-image-frame-about:nth-child(1) {
        top: 420px;
    }
    
    .author-images-stack-left .author-image-frame-about:nth-child(2),
    .author-images-stack-right .author-image-frame-about:nth-child(2) {
        top: 210px;
    }
    
    .author-images-stack-left .author-image-frame-about:nth-child(3),
    .author-images-stack-right .author-image-frame-about:nth-child(3) {
        top: 0px;
    }
}

/* Tablets and small laptops: photos above and below the bio (side-by-side columns don't fit) */
@media screen and (max-width: 1200px) {
    .author-section-about {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 1rem;
        align-items: center;
    }
    
    .author-images-stack-left {
        flex: none;
        width: 100%;
        max-width: 400px;
        height: 600px;
        order: 1; /* Left images first */
    }
    
    .author-bio {
        flex: none;
        max-width: 600px;
        order: 2; /* Bio second */
        padding: 1rem;
    }
    
    .author-images-stack-right {
        flex: none;
        width: 100%;
        max-width: 400px;
        height: 600px;
        order: 3; /* Right images last */
    }
    
    /* Adjust image sizes for mobile */
    .author-images-stack-left .author-image-frame-about,
    .author-images-stack-right .author-image-frame-about {
        width: 200px;
        height: 250px;
    }
    
    .author-images-stack-left .author-image-frame-about:nth-child(2),
    .author-images-stack-right .author-image-frame-about:nth-child(2) {
        width: 220px;
        height: 270px;
    }
    
    /* Adjust positions for mobile */
    .author-images-stack-left .author-image-frame-about:nth-child(1),
    .author-images-stack-right .author-image-frame-about:nth-child(1) {
        top: 350px;
    }
    
    .author-images-stack-left .author-image-frame-about:nth-child(2),
    .author-images-stack-right .author-image-frame-about:nth-child(2) {
        top: 175px;
    }
    
    .author-images-stack-left .author-image-frame-about:nth-child(3),
    .author-images-stack-right .author-image-frame-about:nth-child(3) {
  width: 210px;
  height: 260px;
  top: 0px;
}
    
    .author-bio h2 {
        font-size: 2.2rem;
    }
    
    .author-tagline {
        font-size: 1.2rem;
    }
    
    .bio-content {
        font-size: 1rem;
        text-align: center;
    }
}

/* Small mobile */
@media screen and (max-width: 480px) {
    .author-section-about {
        padding: 1.5rem 0.8rem;
        gap: 2rem;
    }
    
    .author-images-stack-left,
    .author-images-stack-right {
        height: 500px;
        max-width: 320px;
    }
    
    .author-images-stack-left .author-image-frame-about,
    .author-images-stack-right .author-image-frame-about {
        width: 160px;
        height: 200px;
    }
    
    .author-images-stack-left .author-image-frame-about:nth-child(2),
    .author-images-stack-right .author-image-frame-about:nth-child(2) {
        width: 180px;
        height: 220px;
    }
    
    /* Adjust positions for small mobile */
    .author-images-stack-left .author-image-frame-about:nth-child(1),
    .author-images-stack-right .author-image-frame-about:nth-child(1) {
        top: 300px;
    }
    
    .author-images-stack-left .author-image-frame-about:nth-child(2),
    .author-images-stack-right .author-image-frame-about:nth-child(2) {
        top: 150px;
    }
    
    .author-images-stack-left .author-image-frame-about:nth-child(3),
    .author-images-stack-right .author-image-frame-about:nth-child(3) {
  width: 170px;
  height: 210px;
  top: 0px;
}
    
    .author-bio h2 {
        font-size: 1.8rem;
    }
    
    .author-tagline {
        font-size: 1rem;
    }
    
    .bio-content {
        font-size: 0.9rem;
    }
}
/* About Page Styling */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    color: var(--text-primary);
    background-color: var(--card-bg);
    position: relative;
    overflow: visible; 

}

/* Hero Section */
.about-hero {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.1rem;
    overflow: hidden;
    border-radius: 8px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAAN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W4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    opacity: 0.1;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.about-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.author-quote {
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.6;
    position: relative;
    padding: 0 3rem;
}

.quote-icon {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.8;
}

.fa-quote-left {
    left: 0;
    top: 0;
}

.fa-quote-right {
    right: 0;
    bottom: 0;
}

/* Author Section */
.author-section-about {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 3rem 2rem;
    margin-bottom: 0.1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.author-image-frame-about {
    flex: 0 0 300px;
    height: 400px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    transition: all 0.5s ease;
}

.author-image-frame-about:hover {
    transform: rotate(0);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.about-author-image {
  filter: sepia(0.08) contrast(1.03) brightness(1.02);
  image-orientation: from-image;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.author-image-frame-about:hover .about-author-image {
    transform: scale(1.05);
}

.image-frame-decoration {
  border-radius: 12px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(184, 92, 60, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 10px solid white;
  pointer-events: none;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.facebook {
    background-color: #3b5998;
    color: white;
}


.email {
    background-color: var(--accent-warm);
    color: white;
}

/* Book Banner */
.book-banner {
    position: relative;
    margin-top: 0; /* Only top margin */
    margin-bottom: 0; /* No bottom margin */
    padding: 2rem 2rem;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, #99644a, #3d2e25);
}

.book-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/media/random/wood.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.book-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.book-banner-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.book-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    display: inline-block;
}

.book-banner h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--accent-warm);
    border-radius: 3px;
}

.book-banner p {
    font-size: 1.2rem;
    color: #9d764f;;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Book Carousel */
.book-carousel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 3rem 0;
}

.book-item {
    width: 240px;
    perspective: 1200px;
    transition: transform 0.3s ease;
}

.book-item:hover {
    transform: translateY(-15px);
}

.book-cover {
    position: relative;
    height: 340px;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.book-item:hover .book-cover {
    transform: rotateY(-30deg);
}

.book-spine {
    position: absolute;
    width: 40px;
    height: 100%;
    left: 0;
    background: var(--accent-warm);
    transform: rotateY(90deg);
    transform-origin: left;
    box-shadow: inset -5px 0 10px rgba(0, 0, 0, 0.2);
}

.book-front {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 2px 10px 10px 2px;
    background: transparent;
    box-shadow: 
        5px 5px 20px rgba(0, 0, 0, 0.4),
        1px 1px 5px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.book-item:hover .book-image {
    transform: scale(1.05);
}

.book-info {
    margin-top: 1.5rem;
    text-align: center;
}

.book-info h3 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.book-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.book-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-warm);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.book-link:hover {
    background: transparent;
    color: var(--accent-warm);
    border-color: var(--accent-warm);
}


/* Elegant Gallery Section - Designer-quality styling */

/* Main Gallery Section Container */
.kitchen-gallery-section {
    padding: 4rem 2rem;
    margin: 0.5rem 0;
    background-color: #fbf7f3;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 0.5px solid #e0d9cf;
}

/* Decorative background pattern */
.kitchen-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQD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ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

/* Artistic section title with handwritten style */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #b85c3c;
    margin-bottom: 1.8rem;
    position: relative;
    font-family: 'Georgia', serif;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #b85c3c, transparent);
    border-radius: 3px;
}

/* Stylish introduction text */
.gallery-intro {
    text-align: center;
    max-width: 700px;
    margin: 2.5rem auto;
    font-size: 1.15rem;
    color: #665e53;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Premium Gallery Grid Layout */
.kitchen-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* First item takes 2x2 grid space */
.gallery-item:nth-child(1) {
    grid-column: span 3;
    grid-row: span 2;
}

/* Second item takes 3 columns */
.gallery-item:nth-child(2) {
    grid-column: span 3;
}

/* Third item takes 3 columns */
.gallery-item:nth-child(3) {
    grid-column: span 3;
}

/* Fourth and fifth items take 1.5 columns each */
.gallery-item:nth-child(4),
.gallery-item:nth-child(5) {
    grid-column: span 3;
}

/* Enhanced hover effect */
.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(184, 92, 60, 0.2);
    z-index: 2;
}

/* Image Container with golden ratio proportions */
.gallery-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    background-color: #f5f0ea;
    overflow: hidden;
}

/* First image larger height */
.gallery-item:nth-child(1) .gallery-image-container {
    
    padding-bottom: 160%;
}

/* The actual image with premium styling */
.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: brightness(0.98);
}

/* Elegant hover zoom effect */
.gallery-item:hover .gallery-image {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.02);
}

/* Decorative frame overlay */
.gallery-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 6px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 3px;
}

.gallery-item:hover .gallery-image-container::before {
    opacity: 1;
}

/* Caption with elegant fade-in */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: white;
    padding: 40px 20px 20px;
    font-size: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    font-family: 'Georgia', serif;
    font-style: italic;
    z-index: 3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.gallery-item:hover .image-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Premium error styling */
.image-error {
    background-color: #f9f0f0;
    border: 1px dashed #e0d9cf;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Gallery Adjustments */
@media (max-width: 992px) {
    .kitchen-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 3;
        grid-row: span 1;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
        grid-column: span 3;
    }
    
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.3rem;
    }
    
    .kitchen-gallery-section {
        padding: 3rem 1.5rem;
    }
    
    .kitchen-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .kitchen-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(n) {
        grid-column: span 1;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Animation for initial load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform-origin: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }


.instagram-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.instagram-post {
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

.instagram-post:nth-child(1) { animation-delay: 0.1s; }
.instagram-post:nth-child(2) { animation-delay: 0.2s; }
.instagram-post:nth-child(3) { animation-delay: 0.3s; }
.instagram-post:nth-child(4) { animation-delay: 0.4s; }
.instagram-post:nth-child(5) { animation-delay: 0.5s; }
.instagram-post:nth-child(6) { animation-delay: 0.6s; }

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.post-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-post:hover .post-image {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(0, 0, 0, 0.2) 50%, 
        rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .post-overlay {
    opacity: 1;
}

.view-post {
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.instagram-post:hover .view-post {
    transform: translateY(0);
}

.post-caption {
    padding: 15px;
    background-color: white;
}

.post-caption p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.error-message i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    color: var(--accent-warm);
}

.error-message p {
    font-style: italic;
    margin: 0;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .instagram-feed-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .post-image-container {
        height: 150px;
    }
}

.post-caption a {
    color: var(--accent-warm);
    text-decoration: none;
}

.post-date {
  font-style: italic;
  display: block;
  font-size: 0.8rem;
  color: #aaa;
}


.loading-spinner {
    text-align: center;
    padding: 50px;
    color: var(--text-secondary);
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-warm);
}

.error-message {
  font-style: italic;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f7f5;
  border-radius: 8px;
  border: 1px dashed var(--border-color);
}


.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}


.newsletter-form {
    display: flex;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--accent-warm);
}


