/* ========================================
   Connie's Lodge - Classic & Elegant Theme
   Color Palette: Emerald Green + Cream
======================================== */

/* CSS Variables */
:root {
    --emerald-dark: #1B4332;
    --emerald: #2D6A4F;
    --emerald-light: #40916C;
    --emerald-lighter: #52B788;
    --cream: #FEFAE0;
    --cream-dark: #F5F5DC;
    --cream-light: #FFFDF0;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 67, 50, 0.12);
    --shadow-lg: 0 8px 40px rgba(27, 67, 50, 0.16);
    --transition: all 0.3s ease;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', -apple-system, sans-serif;
}

/* Reset & Base */
*, *::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(--text-dark);
    background-color: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--emerald-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

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

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

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

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

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(254, 250, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 106, 79, 0.1);
    transition: var(--transition);
}

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

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-dark);
}

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

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-medium);
}

.nav-menu a:hover {
    color: var(--emerald);
}

.btn-nav {
    padding: 0.625rem 1.5rem;
    background-color: var(--emerald);
    color: var(--white) !important;
    border-radius: 4px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--emerald-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--emerald-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--emerald-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/30722813/pexels-photo-30722813.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem 4rem;
    width: 100%;
}

.hero-card {
    max-width: 700px;
    background-color: rgba(254, 250, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 3.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--emerald-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 700px;
}

.stat-card {
    background-color: rgba(254, 250, 240, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--cream-light);
}

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

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

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

.about-content {
    padding: 1rem 0;
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* Rooms Section */
.rooms {
    padding: 6rem 0;
    background-color: var(--white);
}

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

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

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

.room-image {
    position: relative;
    height: 250px;
    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-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--emerald);
    color: var(--white);
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
}

.room-info {
    padding: 2rem;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--emerald-dark);
}

.room-info > p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.room-features {
    margin-bottom: 1.5rem;
}

.room-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-medium);
}

.room-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: var(--emerald-lighter);
    border-radius: 50%;
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background-color: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(45, 106, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--emerald-dark);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* Testimonial Section */
.testimonial {
    padding: 6rem 0;
    background-color: var(--emerald-dark);
}

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

.testimonial-content {
    color: var(--white);
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    line-height: 1;
    color: var(--emerald-lighter);
    margin-bottom: -1rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--cream);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 700;
    color: var(--white);
}

.author-location {
    font-size: 0.9375rem;
    color: var(--emerald-lighter);
}

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

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

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--cream-light);
}

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

.contact-info {
    padding: 1rem 0;
}

.contact-details {
    margin: 2.5rem 0;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: rgba(45, 106, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
}

.contact-item h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--emerald);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-medium);
    font-size: 1rem;
}

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

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--emerald-dark);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    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(--text-dark);
    background-color: var(--cream-light);
    border: 1px solid rgba(45, 106, 79, 0.2);
    border-radius: 4px;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(45, 106, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald);
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--emerald-dark);
}

.form-success p {
    color: var(--text-medium);
}

/* Footer */
.footer {
    background-color: var(--emerald-dark);
    color: var(--cream);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    color: var(--cream);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--emerald-lighter);
    font-size: 0.9375rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cream);
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    color: var(--emerald-lighter);
    font-size: 0.9375rem;
}

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

.footer-contact p {
    color: var(--emerald-lighter);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(254, 250, 240, 0.1);
    padding-top: 2rem;
    text-align: center;
}

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

/* Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.revealed {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(254, 250, 240, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .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);
    }
    
    .hero-content {
        padding: 7rem 1.5rem 3rem;
    }
    
    .hero-card {
        padding: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .testimonial-card,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        text-align: center;
    }
}

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