/* Global Styles */
:root {
    --primary-color: #89CFF0;
    /* Baby Blue */
    --secondary-color: #0077be;
    /* Ocean Blue for contrast */
    --accent-color: #ff4081;
    /* Pink accent (playful/pop) */
    --dark-bg: #1a1a1a;
    --light-bg: #d4eeff;
    --text-color: #333;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    color: var(--secondary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Background moved to ::before for animation */
    /* background: url('assets/background.jpg'); */
    /* background-size: 120% 120%; */
    /* background-position: center; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    /* Ensure image doesn't spill out */
}

/* Pseudo-element for the animated background */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('assets/background.jpg') center center no-repeat, var(--primary-color);
    background-size: contain;
    z-index: 1;
    /* Lowest level */
    /* Wave motion: Faster, with sway and rock */
    animation: waterFlow 4s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* Adjusted for visibility */
    z-index: 2;
    /* Middle level */
}

.hero-content {
    position: relative;
    z-index: 3;
    /* Top level */
    max-width: 800px;
    padding: 20px;
}

@keyframes waterFlow {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(10px, -10px) rotate(1deg) scale(1.02);
    }

    50% {
        transform: translate(0, -20px) rotate(0deg) scale(1.05);
        /* Crest */
    }

    75% {
        transform: translate(-10px, -10px) rotate(-1deg) scale(1.02);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        /* Trough */
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.45);
    padding: 20px 40px;
    border-radius: 10px;
    display: inline-block;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 6px 20px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.45);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
    position: sticky;
    top: 100px;
}

/* .img-placeholder styles removed */
.owner-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: 50% 75%;
    /* Focus on the bottom half (face) */
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(137, 207, 240, 0.2);
    border: 3px solid rgba(137, 207, 240, 0.1);
    transition: all 0.3s ease;
    /* Enhanced clarity and vibrancy */
    filter: brightness(1.1) contrast(1.15) saturate(1.2) sharpen(1);
    -webkit-filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

.owner-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(137, 207, 240, 0.3);
    filter: brightness(1.15) contrast(1.2) saturate(1.25);
    -webkit-filter: brightness(1.15) contrast(1.2) saturate(1.25);
}

.about-text {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.about-text h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;

}

.about-text p:first-of-type {
    font-size: 1.15rem;
    color: #333;
}

.about-text p strong {
    display: block;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-top: 35px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    line-height: 1.4;
}

.about-text p em {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(137, 207, 240, 0.1);
}

.social-icons a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
    background: rgba(137, 207, 240, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons a:hover {
    color: var(--white);
    background: var(--primary-color);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 5px 15px rgba(137, 207, 240, 0.4);
}

/* Coupons Section */
.coupons-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    text-align: center;
}

.coupons-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

.coupons-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.coupon-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    position: relative;
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.coupon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(137, 207, 240, 0.25);
    border-color: var(--primary-color);
}

.coupon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), #ff6b9d);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(255, 64, 129, 0.4);
}

.coupon-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.coupon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.4s ease;
}

.coupon-card:hover .coupon-image img {
    transform: scale(1.05);
}

.coupon-content {
    padding: 40px 30px;
    text-align: center;
}

.discount-amount {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.coupon-content h3 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.coupon-description {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.coupon-details {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.coupon-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.coupon-info i {
    width: 20px;
    height: 20px;
}

.coupon-cta {
    margin-top: 25px;
}

.coupon-cta .btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.coupon-terms {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    margin-top: 20px;
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background: #f0f8ff;
    text-align: center;
}

.reviews-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.review-card span {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-info p {
    color: #aaa;
}

.footer-hours h4 {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

    .nav-links {
        display: none;
        /* Add JS toggle later */
    }

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

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

    /* Disable sticky on mobile to prevent "stuck" behavior */
    .about-image {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    /* Adjust photo height/size for mobile */
    .owner-photo {
        height: auto;
        max-height: 400px;
        /* Cap it so it's not too huge */
        aspect-ratio: 4/5;
        /* meaningful aspect ratio */
    }

    .img-placeholder {
        height: 300px;
    }

    /* Center badge on mobile */
    .footer-badge {
        justify-content: center;
        margin-top: 20px;
    }

    /* Change footer grid to flex column for reliable reordering */
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* Adjust gap for flex */
        text-align: center;
        /* Center everything */
    }

    /* Reorder footer links to top on mobile */
    .footer-links {
        order: -1;
        align-items: center;
        /* Center the links */
        margin-bottom: 30px;
        /* Add spacing below */
    }
}

/* Footer Badge */
.footer-badge {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left on desktop (next to links) ?? Grid handles this */
}

/* Override existing footer-badge to use flex-start/center based on parent grid
   Note: The parent is .footer-grid which is a grid. The item itself is a flex container.
   On desktop it will sit in its grid cell. Centering in the cell is fine.
*/
.footer-badge {
    justify-content: center;
}

.footer-badge img {
    width: 100%;
    max-width: 350px;
    /* Large size as requested */
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    /* Enhanced shadow for dark footer */
}