/* ===================================
   HILTON HEAD OCEAN VIEW RENTAL
   Classic & Elegant Style
   =================================== */

/* --- CSS Variables --- */
:root {
    --color-burgundy: #781F2E;
    --color-burgundy-dark: #5A1521;
    --color-burgundy-light: #943044;
    --color-blush: #F2E0DC;
    --color-blush-light: #FAF5F3;
    --color-blush-dark: #E8CFC8;
    --color-cream: #FDF9F7;
    --color-charcoal: #2C2C2C;
    --color-text: #3A3A3A;
    --color-text-light: #6B6B6B;
    --color-white: #FFFFFF;
    --color-border: #E8DDD9;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 2px 8px rgba(120, 31, 46, 0.06);
    --shadow-md: 0 4px 20px rgba(120, 31, 46, 0.1);
    --shadow-lg: 0 8px 40px rgba(120, 31, 46, 0.12);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-burgundy-light);
}

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

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

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-charcoal);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.lead {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    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: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--color-burgundy-dark);
    border-color: var(--color-burgundy-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-burgundy);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* --- Header / Navigation --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 249, 247, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

#main-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-burgundy);
    text-decoration: none;
    font-family: var(--font-serif);
}

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

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

.logo-text small {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
}

#main-nav {
    display: flex;
    align-items: center;
}

#nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
}

#nav-menu a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: 0.02em;
    position: relative;
}

#nav-menu a:not(.btn):hover {
    color: var(--color-burgundy);
}

#nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-burgundy);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: var(--transition);
}

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

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(120, 31, 46, 0.85) 0%,
        rgba(90, 21, 33, 0.75) 50%,
        rgba(44, 44, 44, 0.65) 100%
    );
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: var(--spacing-lg) var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-blush);
    margin-bottom: var(--spacing-md);
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
}

.hero-headline em {
    font-style: italic;
    color: var(--color-blush);
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

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

/* --- Sections --- */
.section {
    padding: var(--spacing-xl) 0;
}

/* --- About Section --- */
.about {
    background-color: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-images {
    position: relative;
}

.img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-cream);
}

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

.about-content {
    padding: var(--spacing-md) 0;
}

.about-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-burgundy);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- Residences Section --- */
.residences {
    background-color: var(--color-blush-light);
}

.residences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.residence-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.residence-img {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.residence-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.residence-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background-color: var(--color-burgundy);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
}

.residence-info {
    padding: var(--spacing-md);
}

.residence-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.residence-detail {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.residence-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.residence-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text);
}

.residence-features li svg {
    color: var(--color-burgundy);
    flex-shrink: 0;
}

.residence-info .btn {
    width: 100%;
}

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

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.amenity-card {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.amenity-card:hover {
    border-color: var(--color-burgundy);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-blush);
    border-radius: var(--radius-md);
    color: var(--color-burgundy);
    margin-bottom: var(--spacing-sm);
}

.amenity-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.amenity-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Experience Banner --- */
.experience-banner {
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.experience-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.experience-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(120, 31, 46, 0.9) 0%, rgba(90, 21, 33, 0.85) 100%);
    z-index: 1;
}

.experience-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.experience-content .section-eyebrow {
    color: var(--color-blush);
}

.experience-content .section-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.experience-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

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

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.location-features {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.loc-feature {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.loc-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-blush);
    border-radius: var(--radius-md);
    color: var(--color-burgundy);
    flex-shrink: 0;
}

.loc-feature strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.loc-feature p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

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

.map-container {
    width: 100%;
    height: 100%;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-details {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-blush);
    border-radius: var(--radius-md);
    color: var(--color-burgundy);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

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

.contact-item a:hover {
    color: var(--color-burgundy-light);
    text-decoration: underline;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background-color: var(--color-blush-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--color-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text);
    background-color: var(--color-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-burgundy);
    box-shadow: 0 0 0 3px rgba(120, 31, 46, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
    opacity: 0.6;
}

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

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 0.5rem;
}

.form-success {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-blush);
    border-radius: 50%;
    color: var(--color-burgundy);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-burgundy);
}

.form-success p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: var(--spacing-sm);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
}

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

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

.footer-bottom {
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        max-width: 500px;
    }
    
    .img-secondary {
        right: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    #nav-menu.active {
        right: 0;
    }
    
    #nav-menu a {
        font-size: 1rem;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .residences-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-md);
    }
    
    .img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--spacing-sm);
    }
}
