/* assets/css/style.css */
:root {
    --primary-color: #d4a373; /* Warm coffee tone */
    --secondary-color: #ccd5ae; /* Soft sage green for play/nature */
    --accent-color: #e9edc9; /* Light cream */
    --text-dark: #333333;
    --text-light: #fefae0;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: #faf9f6;
    color: var(--text-dark);
    line-height: 1.6;
}

/* =========================================
   NAVIGATION & HEADER
   ========================================= */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-dark);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #bc8a5f;
}

.btn-block {
    width: 100%;
    margin-bottom: 1rem;
}

/* =========================================
   LAYOUT & GRIDS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background-color: var(--accent-color);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* =========================================
   GALLERY
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    aspect-ratio: 1 / 1; 
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* =========================================
   UTILITIES & TYPOGRAPHY (Replaces Inline CSS)
   ========================================= */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }

.page-header { text-align: center; margin-bottom: 3rem; }
.menu-list { list-style: none; margin-top: 1rem; }
.menu-list li { margin-bottom: 1rem; }
.benefits-list { margin-top: 1rem; padding-left: 1rem; }

.testimonial-quote {
    background: var(--accent-color);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

/* =========================================
   ADMIN PANEL STYLES
   ========================================= */
.admin-container {
    max-width: 600px;
    margin: 5rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    background: #e9edc9;
    color: #333;
}

.message.error {
    background: #ffcccc;
}

.link-back {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.link-logout {
    color: #d9534f;
    text-decoration: none;
    font-weight: 500;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
    display: grid;
    /* Automatically fits 2 or 3 columns on desktop, stacks on mobile */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card .stars {
    color: #f5b301; /* Warm gold for the stars */
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    flex-grow: 1; /* Pushes the name to the bottom so cards align nicely */
}

.testimonial-card h4 {
    font-size: 1rem;
    color: var(--primary-color);
    text-align: right;
}

/* =========================================
   CUSTOM BOOKING FORM STYLES
   ========================================= */

/* Center the form and limit width for readability */
.booking-form-card {
    max-width: 600px;
    margin: 0 auto;
}

/* Header and Note styling */
.form-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.text-primary {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.text-primary:hover {
    text-decoration: underline;
}

/* Two-column grid for inputs (Name/Surname, Date/Time) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0; /* Let the row grid handle spacing on desktop */
}

/* Highlighted Total Block */
.total-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px dashed var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Larger CTA Button for forms */
.btn-large {
    font-size: 1.1rem;
    padding: 1rem;
}

/* Radio Button Styling */
.duration-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem; /* Creates even spacing between the rows */
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

.duration-options label {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Forces the button and text to align to the left */
    font-weight: 500;
    cursor: pointer;
    margin: 0; 
    width: 100%;
}

.duration-options input[type="radio"] {
    margin: 0 12px 0 0 !important; /* Locks a 12px space only on the right side */
    width: 18px !important; /* Prevents global input styles from making it 100% wide */
    height: 18px !important; 
    flex-shrink: 0; /* Stops the button from squishing if the text is long */
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* =========================================
   MOBILE RESPONSIVENESS FOR FORM
   ========================================= */
@media (max-width: 600px) {
    /* Stack the two-column rows into a single column on phones */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0; 
    }
    
    /* Restore bottom margin when stacked */
    .form-row .form-group {
        margin-bottom: 1.5rem;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS (Media Queries)
   ========================================= */
@media (max-width: 768px) {
    /* Make Header Menu Mobile Friendly */
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none; /* Hide standard menu */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex; /* Toggle via JavaScript */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .btn-primary {
        display: block;
        width: 80%;
        margin: 0 auto;
    }

    /* Stack Grids to 1 Column */
    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* Adjust Hero Typography */
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}