/* 
 * Windy Hill Dunes - Classic & Elegant Style
 * Palette: Plum (#4A3B32), Amber (#D4A373), Cream (#F9F7F5), Charcoal (#2C2C2C)
 */

:root {
    /* Plum Palette */
    --plum-dark: #4A3B32;
    --plum-medium: #6D5A4D;
    --plum-light: #8B7366;
    
    /* Amber Palette */
    --amber-gold: #D4A373;
    --amber-light: #E6C9A8;
    --amber-pale: #F5E6D3;
    
    /* Neutrals */
    --cream: #F9F7F5;
    --white: #FFFFFF;
    --charcoal: #2C2C2C;
    --gray: #7A7A7A;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--plum-dark);
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--plum-dark);
    border-color: var(--plum-dark);
}

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

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(249, 247, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--amber-pale);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(74, 59, 50, 0.1);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--plum-dark);
    font-weight: 600;
}

.logo-sub {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--amber-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--plum-dark);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--amber-gold);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--plum-dark);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 40px;
    color: var(--plum-dark);
    cursor: pointer;
    line-height: 1;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--plum-dark);
}

/* Hero Section - Split Layout */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    background-color: var(--cream);
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding-right: 20px;
}

.divider {
    width: 80px;
    height: 2px;
    background-color: var(--amber-gold);
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(42px, 5vw, 64px);
    color: var(--plum-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--amber-gold);
    border-radius: 4px;
    z-index: -1;
}

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--amber-gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.section-divider {
    display: flex;
    justify-content: center;
}

.section-divider .diamond {
    width: 8px;
    height: 8px;
    background-color: var(--amber-gold);
    transform: rotate(45deg);
}

.section-divider.light .diamond {
    background-color: var(--amber-light);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 24px;
    color: var(--charcoal);
    font-size: 17px;
}

.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: var(--plum-dark);
    font-weight: 500;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background-color: var(--amber-gold);
}

.about-image-group {
    position: relative;
}

.about-image-group .main-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(74, 59, 50, 0.15);
}

.about-image-group .secondary-img {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: 4px;
    border: 8px solid var(--cream);
    box-shadow: 0 10px 40px rgba(74, 59, 50, 0.1);
}

/* Amenities Section */
.amenities {
    background-color: var(--plum-dark);
    color: var(--white);
}

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

.amenity-card {
    text-align: center;
    padding: 40px 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 163, 115, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    width: 40px;
    height: 40px;
    color: var(--amber-gold);
}

.amenity-card h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 12px;
}

.amenity-card p {
    color: var(--amber-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Location Section */
.location {
    background-color: var(--cream);
}

.location-content {
    max-width: 900px;
    margin: 0 auto;
}

.location-info {
    text-align: center;
}

.location-info .section-tag {
    margin-bottom: 16px;
}

.location-text {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.map-container {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(74, 59, 50, 0.1);
}

/* Contact Section */
.contact {
    background-color: var(--plum-dark);
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    color: var(--white);
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--amber-light);
    font-size: 17px;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item .label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--amber-gold);
}

.contact-item .value {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    line-height: 1.5;
}

.phone-link {
    color: var(--white);
    border-bottom: 1px solid var(--amber-gold);
    padding-bottom: 4px;
}

.phone-link:hover {
    color: var(--amber-gold);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 48px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

.form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--plum-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--amber-pale);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--charcoal);
    background-color: var(--cream);
    transition: all 0.3s ease;
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success p {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--plum-dark);
}

/* Footer */
.footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--amber-gold);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 32px 0;
}

.footer-links a {
    color: var(--white);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.footer-copy p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-copy a {
    color: var(--amber-gold);
}

.footer-copy .small {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-img {
        height: 400px;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-group .secondary-img {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 20px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-form-wrapper {
        padding: 32px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 13px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}
