﻿/* ===== CSS Variables ===== */
:root {
    --color-primary: #263935;
    --color-secondary: #3d5a54;
    --color-accent: #EBDCBB;
    --color-gold: #DEB563;
    --color-cream: #F8F6F1;
    --color-white: #FFFFFF;
    --color-dark: #1a2724;
    --color-text: #3a3a3a;
    --color-text-light: #5a5a5a;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;
    --shadow-soft: 0 4px 20px rgba(38, 57, 53, 0.1);
    --shadow-medium: 0 8px 30px rgba(38, 57, 53, 0.15);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-gold);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.navbar.scrolled .nav-menu a {
    color: var(--color-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
    z-index: 1002;
    position: relative;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.navbar.scrolled .hamburger span {
    background: var(--color-primary);
}

/* Hamburger active state - must override scrolled state */
.hamburger.active span {
    background: var(--color-white) !important;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Body no-scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 100px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect fill="url(%23grain)" width="100" height="100"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.tagline {
    font-size: 1.5rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 30px;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-gold);
    margin: 20px auto 40px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ===== About Section ===== */
.about {
    background: var(--color-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    margin-bottom: 60px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--color-cream);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--color-gold);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== Location Section ===== */
.location {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.location-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
    font-style: italic;
    margin-bottom: 50px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.location-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.location-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.location-card ul {
    list-style: none;
}

.location-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 20px;
}

.location-card li::before {
    content: '•';
    color: var(--color-gold);
    position: absolute;
    left: 0;
}

/* ===== Accommodations Section ===== */
.accommodations {
    background: var(--color-white);
}

.accommodation-item {
    margin-bottom: 80px;
}

.accommodation-item:last-child {
    margin-bottom: 0;
}

.accommodation-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: center;
}

.accommodation-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    margin-bottom: 30px;
}

.amenities-list li {
    background: var(--color-cream);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--color-secondary);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
}

/* ===== Tariffs Section ===== */
.tariffs {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
}

.tariffs .section-title {
    color: var(--color-white);
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tariff-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tariff-card h3 {
    color: var(--color-gold);
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.price-item, .time-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item strong, .time-item strong {
    color: var(--color-gold);
}

.tariff-card .note {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.tariff-card ul {
    list-style: none;
}

.tariff-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.tariff-card li::before {
    content: '✓';
    color: var(--color-gold);
    position: absolute;
    left: 0;
}

/* ===== Safety Section ===== */
.safety {
    background: var(--color-cream);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.safety-item {
    text-align: center;
    padding: 30px;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.safety-icon {
    display: block;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.safety-icon svg {
    width: 36px;
    height: 36px;
}

.safety-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ===== Hosts Section ===== */
.hosts {
    background: var(--color-white);
    text-align: center;
}

.hosts-content {
    max-width: 700px;
    margin: 0 auto;
}

.hosts-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.host-names {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    font-style: italic;
    margin-top: 30px;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--color-cream);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.1rem;
}

.contact-item a {
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-cta {
    text-align: center;
    background: var(--color-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.contact-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    height: 70px;
    margin-bottom: 30px;
    filter: brightness(1.2);
}

.footer p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
    }

    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        width: 100%;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1001;
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Override scrolled state colors for mobile menu */
    .navbar.scrolled .nav-menu.active a,
    .nav-menu.active a {
        color: var(--color-white) !important;
        font-size: 1.5rem;
    }

    .nav-menu.active a:hover {
        color: var(--color-gold) !important;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    .amenities-list {
        flex-direction: column;
        align-items: center;
    }
}
