﻿:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E6F0FF;
    --secondary-color: #6C757D;
    --text-color: #333333;
    --text-light: #6C757D;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-color: #DEE2E6;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --border-radius: 6px;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    /*    font-family: Figtree,sans-serif;
*/
    /*    font-family: "Caveat Brush", cursive;
*/
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Headings */
h1, h2, h3, h4, h5 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Button Styles */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    /*    border: none;
*/ font-size: 16px;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
}

    .btn-secondary:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-block {
    display: block;
    width: 100%;
}
/* Header Styles */

.header {
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    z-index: 100;
    padding: 15px 0;
}

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
}

.logo i {
    margin-right: 10px;
    color: var(--primary);
}

.nav-menu {
    flex-wrap: nowrap;
    white-space: nowrap;
}
    .nav-menu li {
        margin: 0 15px;
    }

    .nav-menu a {
        font-weight: 500;
    }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--success);
        }

.auth-buttons {
    display: flex;
    gap: 10px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}
/* Hero Section */

.hero {
    background: linear-gradient(to right, var(--success), #8aa887);
    color: white;
    padding: 80px 0;
    text-align: center;
}

    .hero h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 18px;
        max-width: 700px;
        margin: 0 auto 40px;
    }

.search-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    gap: 10px;
}

.search-wrapper {
    flex: 1;
    position: relative;
    background-color: white;
    border-radius: var(--border-radius);
}

    .search-wrapper i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-light);
    }

#search-input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
}

    #search-input:focus {
        outline: none;
        box-shadow: 0 0 0 2px var(--primary-color);
    }

.location-btn i {
    margin-right: 8px;
}
/* ---------------- HERO (Mobile + PWA) ---------------- */
@media (max-width: 768px) {

    .hero {
        padding: calc(56px + env(safe-area-inset-top)) 16px 48px;
        text-align: center;
    }

        .hero h1 {
            font-size: 28px;
            line-height: 1.2;
            margin-bottom: 12px;
        }

        .hero p {
            font-size: 15px;
            margin-bottom: 24px;
            max-width: 100%;
        }

    .search-box {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
    }

    .search-wrapper {
        width: 100%;
    }

    #search-input {
        font-size: 15px;
        padding: 14px 14px 14px 42px;
    }

    .location-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 15px;
    }
}

/* ---------------- EXTRA SMALL DEVICES ---------------- */
@media (max-width: 420px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }
}

/* Features Section */

.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

    .features h2 {
        text-align: center;
        font-size: 36px;
        margin-bottom: 50px;
    }

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

.feature-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    background-color: var(--bs-success-bg-subtle);
    color: var(--success);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-light);
}
/* Venues Section */

.venues {
    padding: clamp(8px, 2.5vw, 32px) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

    .section-header h2 {
        font-size: 36px;
    }

.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.venue-card {
    /*background-color: var(--bg-color);*/
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

    .venue-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.venue-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

    .venue-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

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

.venue-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

    .venue-overlay h3 {
        margin-bottom: 5px;
    }

.venue-content {
    padding: 20px;
}

.venue-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.venue-rating {
    display: flex;
    align-items: center;
}

    .venue-rating i {
        color: #FFD700;
        margin-right: 5px;
    }

.venue-price {
    font-weight: 600;
    background-color: var(--bs-success-bg-subtle);
    color: var(--success);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.venue-description {
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.venue-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.venue-amenity {
    background-color: var(--bs-warning-bg-subtle);
    color: #000000;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}
/* Testimonials Section */

.testimonials {
    padding-bottom: 80px;
    background-color: var(--bg-light);
}

    .testimonials h2 {
        text-align: center;
        font-size: 36px;
        margin-bottom: 50px;
    }

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

.testimonial-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stars {
    margin-bottom: 15px;
}

    .stars i {
        color: #FFD700;
        margin-right: 2px;
    }

.testimonial-author {
    margin-top: 20px;
    font-weight: 600;
}
/* =========================
   Footer (Desktop + Mobile col-6)
   ========================= */

/* Base / Desktop */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); /* PWA safe area */
}

    .footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* stable 4 cols on desktop */
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
}

.footer .logo {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.footer-col p {
    color: rgba(255,255,255,0.75);
    max-width: 40ch;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-col ul li {
        margin-bottom: 10px;
    }

.footer-col a {
    color: #ccc;
    display: inline-block;
    padding: 4px 0; /* decent tap area */
    text-decoration: none;
}

    .footer-col a:hover {
        color: #fff;
    }

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

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

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

.footer-bottom {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 26px;
    }
}

/* Mobile: EXACT layout
   Row 1: Brand (full)
   Row 2: Resources (left) | Legal (right)  => col-6 + col-6
   Row 3: Social (full)
*/
@media (max-width: 520px) {

    /* force 2 columns always */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px 16px !important;
        margin-bottom: 14px;
    }

        /* Brand full width */
        .footer-grid > .footer-col:nth-child(1) {
            grid-column: 1 / -1;
        }

        /* Resources left */
        .footer-grid > .footer-col:nth-child(2) {
            grid-column: 1 / 2;
        }

        /* Legal right */
        .footer-grid > .footer-col:nth-child(3) {
            grid-column: 2 / 3;
        }

        


    /* keep footer readable, not “tiny” */
    .footer {
        padding: 28px 0 14px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .footer-col h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .footer-col ul li {
        margin-bottom: 6px;
    }

    .footer-col a {
        padding: 6px 0; /* better touch */
        font-size: 13px;
    }
}


/* Modal Styles */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /*z-index: 1000;*/
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-color);
    margin: 30px auto;
    padding: 20px;
    border-radius: var(--border-radius);
    max-width: 800px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}
/* Venue Detail Styles */

.venue-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.venue-detail-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.venue-detail-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.venue-detail-location {
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin-bottom: 20px;
}

    .venue-detail-location i {
        margin-right: 5px;
    }

.venue-detail-tabs {
    margin-top: 30px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

    .tab.active {
        border-bottom-color: var(--primary-color);
        color: var(--primary-color);
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }
/* Booking Form */

.booking-section {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
}

.date-picker, .time-slots {
    margin-bottom: 20px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.time-slot {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

    .time-slot.available:hover {
        border-color: var(--primary-color);
    }

    .time-slot.selected {
        border-color: var(--primary-color);
        background-color: var(--primary-light);
    }

    .time-slot.unavailable {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: #f1f1f1;
    }

.booking-price {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
    }

.form-text {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 10px;
    text-align: center;
}
/* Responsive Styles */

@media (max-width: 992px) {
    .venue-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Keep navbar layout same as desktop */
    .nav-menu {
        display: flex !important;
        font-size: 0.9rem !important;
    }

        .nav-menu li {
            margin: 0 6px; /* reduce spacing */
        }

        .nav-menu a {
            font-size: 14px;
            font-weight: 500;
            padding: 4px 6px;
        }

    /* Shrink auth buttons */
    .auth-buttons {
        display: flex !important;
        gap: 6px;
    }

        .auth-buttons .btn {
            padding: 6px 10px;
            font-size: 10px;
        }

    /* Optional: shrink logo slightly */
    .logo a {
        font-size: 18px;
    }

    /* Disable hamburger */
    .menu-toggle {
        display: none;
    }


}

/* Mobile Navigation */

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 1000;
    transition: var(--transition);
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav ul li {
        margin-bottom: 20px;
    }

        .mobile-nav ul li a {
            font-size: 18px;
            font-weight: 500;
        }

    .mobile-nav .close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        cursor: pointer;
    }

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.cart-wrap {
    margin-right: 12px;
}



/*------------------------------------*/

