@charset "utf-8";

/**
 * PROJECT: Coastal/Sand Theme
 * VERSION: 1.0.0
 * DESCRIPTION: Responsive travel/hospitality stylesheet with Admin Dashboard integration.
 */

/* ==========================================================================
   1. CSS VARIABLES & THEME
   ========================================================================== */

:root {
    /* Colors */
    --primary: #2C3E50;         /* Deep Coastal Blue */
    --secondary: #D4C4A8;       /* Sand Beige */
    --accent: #7D9C86;          /* Muted Green */
    --bg-color: #FAFAFA;
    --text-color: #333333;
    --white: #ffffff;
    --error: #e74c3c;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Layout & UI */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   3. REUSABLE UTILITIES
   ========================================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #25D366;
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary);
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

#hero {
  
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-image: url("img/hero.jpg");

}

#hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    padding: 20px;
}

.hero-title {
    font-weight: bold;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    color: #f9ff00;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   6. GRID LAYOUTS (ABOUT, CARDS, SERVICES)
   ========================================================================== */

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Section Headers */
.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 { font-size: 2.5rem; }
.section-header p { color: #666; max-width: 600px; margin: 0 auto; }

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card, .room-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover, .room-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.card-body { padding: 25px; }

/* Services */
#services { background: #f4f4f4; }

.service-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; }
.about-text h2 { font-size: 2.5rem; color: var(--primary); }
.about-text p { color: #666; margin-bottom: 20px; }


/* ==========================================================================
   7. TESTIMONIAL SLIDER
   ========================================================================== */

.slider-container-wrapper {
    position: relative;
    padding: 0 30px;
}

.testimonial-scroller {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-scroller::-webkit-scrollbar {
    display: none;
}

.t-card {
    min-width: 100%; /* Mobile default */
    scroll-snap-align: center;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.t-content {
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.t-content .stars { color: #f1c40f; margin-bottom: 15px; }
.t-content p { font-style: italic; color: #555; margin-bottom: 20px; }

/* Slider Navigation */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid #eee;
    color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.nav-btn:hover { background: var(--primary); color: white; }
.prev { left: 0; }
.next { right: 0; }

/* ==========================================================================
   8. CONTACT & FOOTER
   ========================================================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   9. ADMIN PANEL & MODALS
   ========================================================================== */

#admin-panel {
    position: fixed;
    top: 0; left: 0;
    width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: 0.4s ease;
    overflow-y: auto;
    padding: 20px;
}

#admin-panel.active { transform: translateX(0); }

.editable { outline: 2px dashed transparent; transition: 0.2s; }
body.admin-mode .editable:hover { outline: 2px dashed var(--accent); }

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 999;
}

/* ==========================================================================
   10. RESPONSIVE QUERIES
   ========================================================================== */

/* Mobile (Tablets & Down) */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
    }

    .nav-links.active { display: flex; }
    .mobile-toggle { display: block;  padding-left: 100px;}
    .hero-title { font-size: 2.5rem; }
    .about-grid, .contact-wrapper, .footer-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
}

/* Desktop Sizes for Slider */
@media (min-width: 768px) {
    .t-card { min-width: 48%; } /* 2 cards */
}

@media (min-width: 1024px) {
    .t-card { min-width: 32%; } /* 3 cards */
}

/* Animations */
@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.img-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}


.custom-shadow { shadow-offset: 0px 4px; shadow-color: rgba(0,0,0,0.1); }
        .thumbnail:hover { opacity: 0.8; cursor: pointer; }



/* --- CLASS NAME CHANGED HERE --- */
    .our-services {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    
    }

    .section-title {
        color: #091D01;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 50px;
        font-family: serif;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        justify-items: center;
    }

    .service-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 20px;
        border-radius: 10px;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    /* --- ICON BACKGROUND (#fadba8) --- */
    .icon-wrapper {
        width: 80px;
        height: 80px;
        background-color: #a96c06; 
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }

    .icon-wrapper i {
        font-size: 32px;
        color: #FFF; 
        transition: color 0.3s ease;
    }

    /* HOVER EFFECT */
    .service-card:hover .icon-wrapper {
        background-color: #64a1e8;
    }
    
    .service-card:hover .icon-wrapper i {
        color: #ffffff;
    }

    .service-text {
        color: #091D01;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .service-subtext {
        display: block;
        font-size: 0.85rem;
        color: #888;
        font-weight: normal;
        margin-top: 4px;
    }

    /* RESPONSIVE */
    @media (max-width: 992px) {
        .services-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 576px) {
        .services-grid { grid-template-columns: 1fr; }
    }
