/* ===================================
   Village Center Inn — Custom Styles
   Plum & Amber Editorial Design
   =================================== */

/* CSS Custom Properties */
:root {
    /* Plum Palette */
    --plum-50: #fdf4f8;
    --plum-100: #fce7f0;
    --plum-200: #f9d0e0;
    --plum-300: #f4a9c4;
    --plum-400: #ed7aa3;
    --plum-500: #e04f82;
    --plum-600: #c92a62;
    --plum-700: #a51848;
    --plum-800: #82143a;
    --plum-900: #4A1942;
    --plum-950: #2d0f28;
    
    /* Amber Palette */
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0a0a0a;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Layout */
    --max-width: 1280px;
    --nav-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(74, 25, 66, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--plum-900);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--plum-900);
    color: var(--amber-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 8px;
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--plum-600);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--plum-700);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.625rem 1.25rem;
    background: var(--plum-900);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-cta:hover {
    background: var(--plum-800);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--plum-50) 0%, var(--white) 50%, var(--amber-50) 100%);
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, var(--plum-100) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 580px;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--plum-600);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

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

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(74, 25, 66, 0.25);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--amber-300);
    border-radius: 16px;
    z-index: -1;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    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);
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-900);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(74, 25, 66, 0.3);
}

.btn-primary:hover {
    background: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 25, 66, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--plum-900);
    border: 2px solid var(--plum-900);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Section Styles
   =================================== */
.section-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--amber-600);
    margin-bottom: var(--space-sm);
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.section-header {
    margin-bottom: var(--space-3xl);
}

/* ===================================
   Rooms Section
   =================================== */
.rooms {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.room-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 25, 66, 0.15);
}

.room-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.room-content {
    padding: var(--space-lg);
}

.room-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.room-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.room-amenities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.room-amenities li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--plum-700);
    background: var(--plum-50);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
}

.rooms-cta {
    text-align: center;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--plum-50) 0%, var(--amber-50) 100%);
    border-radius: 16px;
}

.rooms-cta p {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: var(--space-md);
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

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

.about-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-500));
    margin-bottom: var(--space-lg);
    border-radius: 2px;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--space-md);
}

.about-image img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(74, 25, 66, 0.15);
}

/* ===================================
   Location Section
   =================================== */
.location {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
}

.location-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 450px;
}

.location-info {
    padding: var(--space-xl);
    background: var(--plum-900);
    border-radius: 16px;
    color: var(--white);
}

.location-info h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--amber-300);
}

.location-address {
    font-style: normal;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--plum-100);
    margin-bottom: var(--space-lg);
}

.location-phone a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--amber-400);
    transition: color var(--transition-fast);
}

.location-phone a:hover {
    color: var(--amber-300);
}

.location-highlights {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.highlight-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.highlight-item svg {
    flex-shrink: 0;
    color: var(--amber-400);
    margin-top: 2px;
}

.highlight-item strong {
    display: block;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 0.9375rem;
    color: var(--plum-200);
    line-height: 1.5;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--plum-50) 0%, var(--amber-50) 100%);
}

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

.contact-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-500));
    margin-bottom: var(--space-lg);
    border-radius: 2px;
}

.contact-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    color: var(--gray-700);
}

.contact-item a {
    color: var(--plum-700);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--plum-900);
}

.contact-item svg {
    color: var(--amber-600);
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(74, 25, 66, 0.1);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--gray-900);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(224, 79, 130, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    text-align: center;
    color: var(--plum-700);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--amber-600);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-400);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-contact a {
    color: var(--amber-400);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subheadline {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-image img {
        height: 500px;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-2xl);
    }
    
    .hero-container {
        padding: var(--space-lg);
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-image img {
        height: 350px;
    }
    
    .hero-image::before {
        display: none;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .section-headline {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: var(--space-md);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
