/* --- VARIABLES --- */
:root {
    /* Color Palette - Warm, pastel, cozy */
    --primary: #FFB5A7; /* Peach/Pink */
    --primary-hover: #F8EDEB;
    --secondary: #FCD5CE;
    --accent: #B5E2FA; /* Soft Mint/Lavender vibe equivalent (Minty blue) */
    --text-dark: #1A1D29;
    --text-light: #4A5568;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    /* Neumorphism / Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    
    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Radius & Spacing */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dark Mode Variables */
body.dark-mode {
    --primary: #FFB5A7;
    --bg-light: #1A1A2E;
    --white: #16213E;
    --text-dark: #EAEAEA;
    --text-light: #A0A0A0;
    --glass-bg: rgba(22, 33, 62, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    font-weight: 500;
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- UTILITIES --- */
.section-padding {
    padding: 5rem 10%;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 181, 167, 0.4);
}

.btn-primary:hover {
    background-color: #ff9b8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 181, 167, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #fff;
}

body.dark-mode .btn-secondary {
    color: var(--text-dark);
}

body.dark-mode .btn-secondary:hover {
    color: #fff;
}

.w-100 { width: 100%; }
.mt-1 { margin-top: 1rem; }
.hidden { display: none !important; }

/* Loader */
.loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-light);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.paw-loader {
    font-size: 4rem;
    animation: bounce 1s infinite alternate;
}

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

/* Toast */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-dark);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: 500;
}
.toast.show {
    bottom: 2rem;
}
.toast.success { background-color: #4cd137; }

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s ease;
}

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

#dark-mode-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

#dark-mode-toggle:hover {
    transform: scale(1.1);
}

.burger-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.burger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 3px;
}

body.dark-mode .burger-menu .bar {
    background-color: var(--text-dark); /* It references #EAEAEA in dark mode */
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding: 8rem 10% 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: radial-gradient(circle at top right, var(--secondary), transparent 40%),
                radial-gradient(circle at bottom left, var(--accent), transparent 40%);
}

body.dark-mode .hero {
    background: radial-gradient(circle at top right, rgba(252, 213, 206, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(181, 226, 250, 0.1), transparent 40%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body.dark-mode .badge {
    background: var(--glass-bg);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    border-radius: var(--radius-lg);
    object-fit: cover;
    width: 100%;
    max-width: 500px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- MENU SECTION --- */
.menu h2, .gallery h2, .testimonials h2, .booking h2, .contact-info h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border: none;
    background: var(--white);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    color: var(--text-light);
    transition: var(--transition);
}

body.dark-mode .tab-btn {
    background: var(--glass-bg);
    color: var(--text-dark);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: #fff;
}

.tab-pane {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: grid;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    transition: transform var(--transition);
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.item-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.item-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.item-details .price {
    font-weight: 700;
    color: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transition: bottom 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay h3 {
    color: white;
}

/* --- TESTIMONIALS --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    text-align: center;
}

.stars {
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.testimonial-card h4 {
    font-size: 1rem;
    color: var(--primary);
}

/* --- ABOUT --- */
.about {
    display: flex;
    align-items: center;
    gap: 4rem;
    background-color: var(--secondary);
    border-radius: var(--radius-lg);
    margin: 0 5%;
}

body.dark-mode .about {
    background-color: rgba(252, 213, 206, 0.1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.values {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.value-item {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

body.dark-mode .value-item {
    background: var(--glass-bg);
}

.about-image {
    flex: 1;
    overflow: hidden;
}

.about-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- BOOKING --- */
.booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.booking-container > p {
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.custom-form .form-group {
    margin-bottom: 1.5rem;
}

.custom-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.custom-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.custom-form input,
.custom-form select,
.custom-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-dark);
    font-family: var(--font-body);
    transition: var(--transition);
}

body.dark-mode .custom-form input,
body.dark-mode .custom-form select,
body.dark-mode .custom-form textarea {
    background: var(--glass-bg);
    color: var(--text-dark); /* It defaults to light so user can read */
}
body.dark-mode .custom-form input::placeholder,
body.dark-mode .custom-form select::placeholder,
body.dark-mode .custom-form textarea::placeholder {
    color: var(--text-light);
}
.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 181, 167, 0.2);
}

.match-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--accent);
    color: #16213E;
    border-radius: var(--radius-sm);
    text-align: center;
}

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* --- CONTACT --- */
.contact {
    display: flex;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info p {
    margin-top: -2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.1rem;
}

.contact-form-container {
    flex: 1.5;
    padding: 3rem;
}

/* --- FOOTER --- */
footer {
    background: var(--text-dark);
    color: var(--bg-light);
    padding: 4rem 10% 2rem;
}

body.dark-mode footer {
    background: #0f1526;
}

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

.footer-brand h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-light);
}

.footer-newsletter h4, .footer-social h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}
body.dark-mode .footer-newsletter h4, body.dark-mode .footer-social h4 {
    color: #fff;
}

.news-form {
    display: flex;
    gap: 0.5rem;
}

.news-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 50px;
    outline: none;
    color: #2B2D42;
}

.news-form button {
    border-radius: 50px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background var(--transition);
    color: #fff;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- ANIMATIONS & SCROLL OBSERVER --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.visible {
    opacity: 1;
    transform: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .about {
        flex-direction: column;
        margin: 0;
    }

    .contact {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .burger-menu.toggle .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger-menu.toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.toggle .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

    .section-padding {
        padding: 4rem 5%;
    }

    .menu-tabs {
        flex-wrap: wrap;
    }

    .custom-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .news-form {
        flex-direction: column;
    }
}
