/* ===================================
   Buck's Poolside Resort & Spa
   Classic & Elegant Design System
   =================================== */

:root {
    --navy-900: #0a1628;
    --navy-800: #1a2744;
    --navy-700: #2a3f5f;
    --navy-600: #3a5a8c;
    --gold-500: #d4af37;
    --gold-400: #e4c04a;
    --gold-300: #f0d060;
    --cream-50: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d8;
    --charcoal-700: #2d2d2d;
    --charcoal-600: #4a4a4a;
    --charcoal-500: #6b6b6b;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', Arial, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 8px 24px rgba(10, 22, 40, 0.12);
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal-700);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy-800);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--charcoal-500);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background-color: var(--gold-500);
    color: var(--navy-900);
    border: 2px solid var(--gold-500);
}

.btn-gold:hover {
    background-color: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--navy-800);
    border-color: #fff;
}

.btn-full {
    width: 100%;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

#navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.logo svg {
    color: var(--gold-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: var(--gold-500);
}

.mobile-menu-btn {
    display: none;
    color: #fff;
    padding: 0.5rem;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/28011238/pexels-photo-28011238.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.7) 0%,
        rgba(10, 22, 40, 0.5) 50%,
        rgba(10, 22, 40, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
.section {
    padding: 6rem 0;
}

/* Rooms */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.room-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.room-image {
    height: 240px;
    overflow: hidden;
}

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

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

.room-info {
    padding: 1.75rem;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.room-info p {
    color: var(--charcoal-500);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.room-features {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.room-features li {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-700);
    background-color: var(--cream-100);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
}

/* Amenities */
.amenities {
    background-color: var(--navy-800);
}

.amenities .section-title,
.amenities .section-subtitle {
    color: #fff;
}

.amenities .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

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

.amenity-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
}

.amenity-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--gold-500);
    margin-bottom: 1.25rem;
}

.amenity-card h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.amenity-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Dining */
.dining-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dining-text .section-subtitle {
    margin-bottom: 1.5rem;
}

.dining-features {
    list-style: none;
    margin-bottom: 2rem;
}

.dining-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal-600);
}

.dining-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background-color: var(--gold-500);
    border-radius: 50%;
}

.dining-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dining-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Location */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-detail {
    display: flex;
    gap: 1rem;
}

.location-detail svg {
    color: var(--gold-500);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.location-detail h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy-800);
    margin-bottom: 0.5rem;
}

.location-detail p {
    color: var(--charcoal-600);
    line-height: 1.7;
}

.location-detail a {
    color: var(--navy-700);
}

.location-detail a:hover {
    color: var(--gold-500);
}

.location-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* Contact */
.contact {
    background-color: var(--cream-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--charcoal-600);
}

.contact-item svg {
    color: var(--gold-500);
}

.contact-item a {
    color: var(--navy-700);
}

.contact-item a:hover {
    color: var(--gold-500);
}

.contact-form {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--charcoal-700);
    background-color: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 4px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    background-color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-500);
    border-radius: 4px;
    color: var(--navy-800);
    margin-top: 1rem;
}

.form-success svg {
    color: var(--gold-500);
}

/* Footer */
.footer {
    background-color: var(--navy-900);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-500);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--gold-500);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background-color: var(--navy-900);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-links {
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu .nav-links a {
    font-size: 1.25rem;
    color: #fff;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #fff;
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .dining-content,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
