/* ===================================
   Raven's Landing - Hotel Website
   Teal & Slate Grey Corporate Design
   =================================== */

/* CSS Custom Properties */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --white: #ffffff;
    --black: #000000;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* 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(--slate-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    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(--slate-900);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--slate-100);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
    background: var(--slate-200);
    color: var(--slate-900);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--teal-700);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Section Headers
   =================================== */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 0.75rem;
}

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

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

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

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--slate-900);
    font-weight: 600;
    font-size: 1.125rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--teal-600);
}

.logo-text {
    font-family: var(--font-serif);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.nav-link:hover {
    color: var(--teal-600);
}

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

.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

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

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    transition: all var(--transition-base);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.85) 0%, 
        rgba(13, 148, 136, 0.6) 50%,
        rgba(15, 23, 42, 0.75) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    padding-top: 72px;
    padding-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 560px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 1rem;
}

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

.hero-subheadline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

/* Floating Stat Cards */
.floating-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--teal-300);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===================================
   Rooms Section
   =================================== */
.rooms {
    padding: 7rem 0;
    background: var(--slate-50);
}

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

.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
    transition: all var(--transition-base);
    position: relative;
}

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

.room-card.featured {
    border-color: var(--teal-300);
    box-shadow: 0 0 0 1px var(--teal-300), var(--shadow-md);
}

.room-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--teal-600);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    z-index: 2;
}

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

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.room-content {
    padding: 1.75rem;
}

.room-name {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.room-description {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.room-features {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.room-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.room-features svg {
    width: 16px;
    height: 16px;
    color: var(--teal-600);
    flex-shrink: 0;
}

.room-book-btn {
    width: 100%;
}

/* ===================================
   Amenities Section
   =================================== */
.amenities {
    padding: 7rem 0;
    background: var(--white);
}

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

.amenity-card {
    padding: 2rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.amenity-card:hover {
    background: var(--white);
    border-color: var(--teal-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.amenity-icon svg {
    width: 28px;
    height: 28px;
    color: var(--teal-600);
}

.amenity-title {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.625rem;
}

.amenity-description {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 7rem 0;
    background: var(--slate-900);
}

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

.about-content .section-eyebrow {
    color: var(--teal-400);
}

.about-content .section-title {
    color: var(--white);
}

.about-text {
    font-size: 1rem;
    color: var(--slate-400);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--slate-700);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.about-stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-400);
}

.about-stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 7rem 0;
    background: var(--slate-50);
}

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

.contact-info .section-title {
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 100%);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--teal-600);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
}

.contact-value {
    font-size: 1rem;
    color: var(--slate-800);
    font-weight: 500;
}

.contact-value:hover {
    color: var(--teal-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
}

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

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

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--teal-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-input::placeholder {
    color: var(--slate-400);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 100%);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

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

.form-success svg {
    width: 24px;
    height: 24px;
    color: var(--teal-600);
    flex-shrink: 0;
}

.form-success span {
    font-size: 0.9375rem;
    color: var(--teal-800);
    font-weight: 500;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--slate-900);
    padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-300);
    margin-bottom: 1.25rem;
}

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

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

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    text-align: center;
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .floating-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 200px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-card {
        padding: 2rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .floating-cards {
        flex-direction: column;
    }
    
    .stat-card:hover {
        transform: translateX(0);
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .rooms,
    .amenities,
    .about,
    .contact {
        padding: 4rem 0;
    }
}

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

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.1s;
}

.fade-in-up.delay-2 {
    animation-delay: 0.2s;
}

.fade-in-up.delay-3 {
    animation-delay: 0.3s;
}
