/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #ffe5ec 0%, #fff 50%);
    min-height: 100vh;
}

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

/* Navigation Bar - Using Flexbox */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section - Using Flexbox */
.hero {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0) 100%),
                url('Pictures/Ice-Pictures/Island-Ice-front.jpg') center/cover no-repeat;
    padding: 8rem 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    position: relative;
}



.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    animation: bounce 2s ease infinite;
}

.hero-content p {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #f5576c;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Features Section - Using CSS Grid */
.features {
    padding: 4rem 2rem;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #764ba2;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* About Page - Using Flexbox */
.about-header {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0) 100%),
                url('Pictures/Ice-Pictures/Island-Ice-front.jpg') center/cover no-repeat;
    padding: 8rem 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    position: relative;
    flex-direction: column;
}

.about-header h1 {
    display: block;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    animation: bounce 2s ease infinite;
}

.about-header p {
    display: block;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
}


.about-content {
    padding: 4rem 2rem;
}



.about-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-flex.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.image-placeholder {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 20px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Values Section - Using Grid */
.values-section {
    margin-top: 3rem;
}

.values-section h2 {
    text-align: center;
    color: #764ba2;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-card h3 {
    color: #f5576c;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Menu Page - Using Grid */
.menu-section {
    padding: 4rem 2rem;
}

.menu-section h2 {
    color: #667eea;
    font-size: 2.5rem;
    margin: 3rem 0 2rem;
    text-align: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.menu-item:hover {
    transform: scale(1.05);
    border-color: #f5576c;
}

.menu-item.featured {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe5ec 100%);
}

.menu-item.special {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    color: white;
}

.menu-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.menu-item h3 {
    color: #764ba2;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.menu-item.special h3 {
    color: white;
}

.menu-item p {
    margin-bottom: 1rem;
    color: #666;
}

.menu-item.special p {
    color: white;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #f5576c;
}

.menu-item.special .price {
    color: #fff;
}

/* Gallery Page - Using CSS Grid */
.gallery-section {
    padding: 4rem 2rem;
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

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

.gallery-placeholder p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }

    .logo img {
        height: 50px;
    }

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

    .hero-content p {
        font-size: 1.2rem;
    }

    .about-flex,
    .about-flex.reverse {
        flex-direction: column;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 4rem 1rem;
    }

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

    .features-grid,
    .menu-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}
