/* ====================================================
   M&S Cafe - Mobile Perfect Final Version
   - About image larger & balanced on phone
   - Hero buttons width fixed on mobile (not too wide)
   - Header & footer fancy premium text
   - Buttons luxurious (gradient + glow + lift)
   - Everything else unchanged
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@500;600;700&family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #2c2c2c;
    line-height: 1.75;
}

/* Header - Fancy & Premium Text */
.site-header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 30px;
}

.logo {
    max-height: 65px;
    transition: transform 0.4s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.12rem;
    letter-spacing: 0.6px;
    transition: all 0.35s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2.5px;
    bottom: -6px;
    left: 0;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    transition: width 0.35s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: #4CAF50;
    text-shadow: 0 0 8px rgba(76,175,80,0.4);
}

/* Hero - Height & slider unchanged */
.hero {
    position: relative;
    height: 75vh;
    min-height: 540px;
    max-height: 720px;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 0 3px 15px rgba(0,0,0,0.7);
}

.hero h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.6rem, 7.5vw, 4.2rem);
    margin-bottom: 12px;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, #f0f9f0, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.05rem, 3.8vw, 1.35rem);
    margin-bottom: 35px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #e8f5e9, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 40px;
    border-radius: 60px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-decoration: none;
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(76,175,80,0.3);
}

.btn.primary {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
}

.btn.primary:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 55px rgba(76,175,80,0.55);
}

.btn.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn.secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255,255,255,0.3);
}



/* Footer - Fancy & Premium */
footer {
    background: #ffffff;
    padding: 90px 20px 50px;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
}

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    color: #4CAF50;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-column p, .footer-column a {
    font-size: 1.08rem;
    color: #555;
    transition: all 0.3s ease;
}

.footer-column a {
    text-decoration: none;
}

.footer-column a:hover {
    color: #4CAF50;
    text-shadow: 0 0 8px rgba(76,175,80,0.3);
    transform: translateY(-2px);
}

.social-icons a {
    font-size: 1.9rem;
    margin: 0 14px;
    color: #444;
    transition: all 0.35s;
}

.social-icons a:hover {
    color: #4CAF50;
    transform: translateY(-6px) scale(1.15);
    text-shadow: 0 0 12px rgba(76,175,80,0.4);
}

.copyright {
    margin-top: 50px;
    color: #777;
    font-size: 0.98rem;
    font-weight: 500;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 8px 30px rgba(37,213,102,0.35);
    z-index: 9999;
    transition: all 0.4s;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 16px 50px rgba(37,213,102,0.55);
}

/* Responsive - Mobile Fixes */
@media (max-width: 768px) {
    .header-inner { padding: 12px 20px; flex-direction: column; gap: 15px; }
    .main-nav ul { gap: 20px; justify-content: center; }
    .main-nav a { font-size: 0.95rem; }
    .hero { height: 65vh; min-height: 450px; max-height: 580px; }
    .hero h1 { font-size: clamp(2.4rem, 9vw, 3.6rem); }
    .hero p { font-size: clamp(1rem, 4.5vw, 1.25rem); }
    .hero-buttons { 
        flex-direction: column; 
        gap: 16px; 
    }
    .hero-buttons .btn { 
        padding: 12px 30px; 
        font-size: 1.05rem; 
        min-width: 70%;          /* buttons not too wide on phone */
        max-width: 85%;
        letter-spacing: 0.4px;
    }
    
    .whatsapp-float { width: 58px; height: 58px; font-size: 30px; bottom: 22px; right: 22px; }
}

@media (max-width: 480px) {
    .logo { max-height: 55px; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
    .hero p { font-size: clamp(0.95rem, 5vw, 1.1rem); }
    
    .hero-buttons .btn { 
        padding: 12px 32px; 
        font-size: 1rem; 
        width: 85%; 
    }
    
}
/* ====================================================
   Gallery Page - FINAL PERFECT VERSION
   - Uniform image sizes (no big/small differences)
   - Fancy handwritten title only (no "Gallery" word)
   - Premium paragraph style
   - Centered, no stretch, balanced on phone
   ==================================================== */

.gallery-page {
    padding: 100px 20px 80px;
    background: #ffffff;
}

.gallery-container {
    max-width: 1280px;
    margin: 0 auto;
}

.gallery-hero {
    text-align: center;
    margin-bottom: 60px;
}



.gallery-hero p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    font-weight: 600; /* bold & premium */
    color: transparent;
    background: linear-gradient(90deg, #4CAF50, #66BB6A, #4CAF50);
    -webkit-background-clip: text;
    background-clip: text;
    max-width: 780px;
    margin: 0 auto 40px;
    line-height: 1.65;
    letter-spacing: 0.6px;
    text-shadow: 0 2px 6px rgba(76,175,80,0.15);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 12px 45px rgba(0,0,0,0.1);
    background: #fff;
    aspect-ratio: 4 / 3; /* uniform shape for all images */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-14px);
    box-shadow: 0 35px 90px rgba(0,0,0,0.22);
}

.gallery-item:hover img {
    transform: scale(1.09);
}

/* Mobile & Tablet - Perfect Balance */
@media (max-width: 992px) {
    .gallery-page {
        padding: 80px 15px 60px;
    }
    
    .gallery-hero h1 {
        font-size: clamp(2.8rem, 9vw, 4.5rem);
    }
    
    .gallery-hero p {
        font-size: 1.3rem;
    }
    
    .gallery-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .gallery-page {
        padding: 70px 15px 50px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .gallery-item {
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .gallery-hero h1 {
        font-size: 3rem;
    }
    
    .gallery-hero p {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .gallery-item {
        border-radius: 16px;
    }
}