/* 
 * [Business Name] Website Template
 * Based on Serena Hotels Design
 * 
 * TABLE OF CONTENTS:
 * 1. Variables & Reset
 * 2. Typography
 * 3. Layout & Utilities
 * 4. Header & Navigation
 * 5. Hero Section
 * 6. Content Sections (Intro, Grid, Cards)
 * 7. Components (Buttons, Forms)
 * 8. Footer
 * 9. Responsive Queries
 */

/* 1. Variables & Reset */
:root {
    /* Color Palette */
    --primary-color: #B46147;       /* Terracotta */
    --primary-dark: #904D38;        /* Darker Terracotta */
    --secondary-color: #1a1a1a;     /* Almost Black */
    --text-color: #333333;          /* Dark Grey for body text */
    --text-light: #666666;          /* Medium Grey */
    --bg-light: #F0E8DB;            /* Cream */
    --white: #ffffff;
    --border-color: #e0e0e0;

    --header-bg: #244639;           /* Deep Green */
    --icon-color: #FCC75B;          /* Yellow/Gold */
    --btn-color: #FCC75B;           /* Button Yellow */
    --btn-hover: #E5B552;           /* Darker Yellow */

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* Icons */
i, .fas, .fab, .far {
    color: var(--icon-color);
}

/* 2. Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; letter-spacing: 1px; text-transform: uppercase; }

p { margin-bottom: 1rem; }

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

/* 3. Layout & Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary-color); color: var(--white); }

.text-center { text-align: center; }
.text-gold { color: var(--primary-color); }

/* Section Title with Underline */
.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 4. Header & Navigation */
.site-header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bg-light);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bg-light);
    letter-spacing: 0.5px;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--icon-color);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--bg-light);
}

/* 5. Hero Section */
.hero {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--header-height);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Internal Page Hero */
.page-hero {
    height: 50vh;
    min-height: 300px;
}

/* 6. Cards & Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
}

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

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 30px;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Amenities List in Cards */
.amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-light);
}

.amenities span {
    display: flex;
    align-items: center;
}

.amenities span::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 5px;
}

/* 7. Components */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

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

.btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

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

.btn-white-outline {
    border-color: var(--white);
    color: var(--white);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 8. Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: #ccc;
    padding: 80px 0 20px;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
}

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

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

.footer-col ul li a:hover {
    color: var(--primary-color);
}

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

/* 9. Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .mobile-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: 60vh;
    }
}
