/* Custom Properties - Bakery Theme */
:root {
    --bg-light: #fffdf9;
    --bg-alt: #fff3e9;
    --text-main: #4a3b32;
    --text-muted: #7a6355;
    --accent-pink: #ff8fa3;
    --accent-pink-hover: #ff748c;
    --accent-brown: #8b5a41;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--bg-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--accent-pink);
    font-weight: 900;
    font-size: 1.8rem;
}

.main-nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 700;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--accent-pink);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
    padding: 80px 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-brown);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.play-store-btn img {
    height: 60px;
    transition: transform 0.2s ease;
}

.play-store-btn:hover img {
    transform: scale(1.05);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    height: auto;
}

/* Floating animation for the hero image */
.floating-img {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* About Section */
.about-section {
    padding: 80px 0;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--accent-brown);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(139, 90, 65, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--accent-brown);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-alt);
    padding: 80px 0;
    text-align: center;
}

.gallery-section h2 {
    font-size: 2.5rem;
    color: var(--accent-brown);
    margin-bottom: 40px;
}

.slider-container {
    position: relative;
    max-width: 300px; /* Mobile screen width ratio */
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    overflow: hidden;
    background: #000;
}

.slider {
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slides img {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: var(--accent-brown);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #fff;
    color: var(--accent-pink);
}

.prev { left: -20px; } /* Placed outside slightly or adjust as needed */
.next { right: -20px; }

/* Responsive tweaks for slider buttons to stay inside */
@media (min-width: 400px) {
    .prev { left: 10px; }
    .next { right: 10px; }
}

/* Footer */
.site-footer {
    background-color: var(--accent-brown);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-left h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--accent-pink);
}

.footer-right a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 700;
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--accent-pink);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right a {
        margin: 0 10px;
        display: inline-block;
    }
}