/* ============================================
   COMFY STUDIO - Premium Vacation Rental Site
   Design System: Architectural Brutalist
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Color Palette */
    --pigment-terracotta: #C36A4B;
    --pigment-terracotta-light: #D4856A;
    --pigment-terracotta-dark: #A85A3E;
    --pigment-sage: #8A9A84;
    --pigment-sage-light: #A8B5A3;
    --pigment-sand: #E8E2D6;
    --pigment-sand-light: #F5F2EC;
    --pigment-sand-dark: #DDD5C5;
    --pigment-charcoal: #2D2D2D;
    --pigment-charcoal-light: #4A4A4A;
    --accent-gold: #F2C94C;
    --accent-gold-light: #F7D97A;

    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-medium: 0.4s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);

    /* Textures */
    --mortar-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");

    /* Z-index */
    --z-base: 1;
    --z-overlay: 10;
    --z-modal: 100;
    --z-nav: 1000;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--pigment-charcoal);
    background-color: var(--pigment-sand);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ============================================
   Navigation
   ============================================ */
.main-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: var(--space-md) var(--space-lg);
    transition: background var(--transition-medium), box-shadow var(--transition-medium);
}

.main-nav.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(232, 226, 214, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    z-index: -1;
}



.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--pigment-terracotta);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast);
}

.nav-logo:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-weight: 600;
    font-size: 1.125rem;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pigment-terracotta);
    transition: width var(--transition-fast);
}

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

.nav-cta {
    background: var(--pigment-terracotta);
    color: white !important;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--pigment-terracotta-dark);
    transform: translateY(-2px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--pigment-charcoal);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--pigment-sand) 0%, var(--pigment-sand-light) 100%);
    overflow: hidden;
    padding: var(--space-3xl) var(--space-lg);
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: var(--mortar-texture);
    opacity: 0.12;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    z-index: var(--z-base);
}

.hero-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    position: relative;
    width: 320px;
    height: 320px;
    transform: rotate(-5deg);
    animation: logoEntry 1.2s var(--ease-out) forwards;
}

.shape {
    position: absolute;
    transition: all 0.6s var(--ease-bounce);
}

.shape-arch {
    width: 180px;
    height: 240px;
    border: 45px solid var(--pigment-terracotta);
    border-bottom: 0;
    border-radius: 100px 100px 0 0;
    left: 20px;
    top: 20px;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.05);
}

.shape-block {
    width: 140px;
    height: 140px;
    background: var(--pigment-sage);
    right: 0;
    bottom: 40px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 50% 50%);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.05);
}

.shape-circle {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: var(--radius-full);
    top: 60px;
    right: 40px;
    mix-blend-mode: overlay;
}

.hero-logo-area:hover .shape-arch {
    transform: translate(-10px, -10px);
    box-shadow: 20px 20px 0 rgba(195, 106, 75, 0.2);
}

.hero-logo-area:hover .shape-block {
    transform: translate(15px, 15px);
    box-shadow: -15px -15px 0 rgba(138, 154, 132, 0.2);
}

.hero-logo-area:hover .shape-circle {
    transform: scale(1.2);
}

.hero-text {
    padding-left: var(--space-2xl);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-mono {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pigment-terracotta);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: textReveal 0.8s 0.4s ease forwards;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.95;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(30px);
    animation: textReveal 0.8s 0.6s ease forwards;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(45, 45, 45, 0.75);
    max-width: 400px;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    animation: textReveal 0.8s 0.8s ease forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: textReveal 0.8s 1s ease forwards;
}

.hero-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    opacity: 0;
    animation: textReveal 0.8s 1.2s ease forwards;
}

.spec {
    text-align: left;
}

.spec-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--pigment-terracotta);
    margin-bottom: var(--space-xs);
}

.spec-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0;
    animation: fadeIn 1s 1.5s ease forwards;
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pigment-charcoal-light);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--pigment-terracotta), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   Social Proof Section
   ============================================ */
.social-proof {
    background: var(--pigment-sand-light);
    padding: var(--space-md) 0;
    border-bottom: none;
    margin-bottom: 0;
}

.proof-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    padding: 0 var(--space-lg);
}

.proof-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: var(--pigment-charcoal);
    transition: transform var(--transition-fast);
}

.proof-item:hover {
    transform: translateY(-2px);
    color: var(--pigment-charcoal);
}

.proof-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5A5F;
    /* Airbnb Color */
}

.proof-icon svg {
    width: 32px;
    height: 32px;
}

.proof-badge {
    width: 42px;
    height: 42px;
    background: #003580;
    /* Booking.com Blue */
    color: white;
    border-radius: var(--radius-md) 0 var(--radius-md) 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.proof-divider {
    width: 1px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
}

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

.proof-header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: 2px;
}

.proof-title {
    font-weight: 700;
    font-size: 1rem;
}

.stars {
    color: var(--pigment-terracotta);
    font-size: 0.9rem;
    letter-spacing: -2px;
}

.proof-stats {
    font-size: 0.85rem;
    color: rgba(45, 45, 45, 0.7);
}

.proof-stats strong {
    color: var(--pigment-charcoal);
}

@media (max-width: 600px) {
    .proof-container {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: center;
        text-align: center;
    }

    .proof-divider {
        display: none;
    }

    .proof-item {
        width: 100%;
        justify-content: center;
    }

    .proof-header {
        justify-content: center;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--pigment-terracotta-dark);
    border-color: var(--pigment-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(195, 106, 75, 0.3);
}

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

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

.btn-sage {
    background: var(--pigment-sage);
    color: white;
    border-color: var(--pigment-sage);
}

.btn-sage:hover {
    background: #768671;
    border-color: #768671;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 154, 132, 0.3);
}

.btn-large {
    padding: var(--space-md) var(--space-2xl);
    font-size: 1rem;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-mono {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pigment-terracotta);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.1rem;
    color: rgba(45, 45, 45, 0.7);
    line-height: 1.7;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--pigment-sand-light);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--mortar-texture);
    opacity: 0.08;
    pointer-events: none;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 45, 45, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.lightbox-close {
    top: var(--space-lg);
    right: var(--space-lg);
}

.lightbox-prev {
    left: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--pigment-sand);
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-shape-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/5;
}

.about-shape {
    position: absolute;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-slow);
}

.shape-terracotta {
    width: 60%;
    height: 40%;
    background: var(--pigment-terracotta);
    top: 0;
    left: 0;
    opacity: 0.8;
}

.shape-sage {
    width: 50%;
    height: 30%;
    background: var(--pigment-sage);
    bottom: 10%;
    right: 0;
    opacity: 0.8;
}

.about-image-wrap {
    position: absolute;
    width: 85%;
    height: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 30px 30px 60px rgba(0, 0, 0, 0.1);
}

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

.about-shape-container:hover .shape-terracotta {
    transform: translate(-10px, -10px);
}

.about-shape-container:hover .shape-sage {
    transform: translate(10px, 10px);
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    margin-bottom: var(--space-xl);
}

.about-text p {
    margin-bottom: var(--space-md);
    color: rgba(45, 45, 45, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--pigment-sand);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--pigment-terracotta);
}

.feature-text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 0.875rem;
    color: rgba(45, 45, 45, 0.6);
}

/* ============================================
   Amenities Section
   ============================================ */
.amenities {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--pigment-charcoal);
    color: white;
    position: relative;
}

.amenities::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--mortar-texture);
    opacity: 0.05;
    pointer-events: none;
}

.amenities .section-mono {
    color: var(--accent-gold);
}

.amenities .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.amenities-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.amenity-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.amenity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pigment-terracotta), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.amenity-card:hover::before {
    transform: scaleX(1);
}

.amenity-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.amenity-card-large {
    grid-column: span 2;
}

.amenity-icon {
    width: 56px;
    height: 56px;
    background: rgba(195, 106, 75, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.amenity-icon svg {
    width: 28px;
    height: 28px;
    color: var(--pigment-terracotta-light);
}

.amenity-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.amenity-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.amenity-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding-left: var(--space-md);
    position: relative;
}

.amenity-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--pigment-sage);
    border-radius: var(--radius-full);
}

.amenity-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

/* ============================================
   Location Section
   ============================================ */
.location {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--pigment-sand);
    position: relative;
    overflow: hidden;
}

.location-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.location-text .section-title {
    text-align: left;
}

.location-desc {
    font-size: 1.05rem;
    color: rgba(45, 45, 45, 0.8);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.location-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-item {
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pigment-terracotta);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-number span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--pigment-charcoal-light);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(45, 45, 45, 0.6);
}

.location-nearby h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    color: var(--pigment-charcoal-light);
}

.nearby-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tag {
    padding: var(--space-xs) var(--space-md);
    background: var(--pigment-sage);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.location-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-embed {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
    display: block;
}

.map-placeholder {
    position: relative;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--pigment-sand-dark) 0%, var(--pigment-sand-light) 100%);
    border-radius: var(--radius-full);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.map-pin {
    width: 60px;
    height: 60px;
    background: var(--pigment-terracotta);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

.map-pin svg {
    width: 30px;
    height: 30px;
    color: white;
}

.map-text {
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 2;
}

.map-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring {
    position: absolute;
    border: 2px solid var(--pigment-terracotta);
    border-radius: var(--radius-full);
    opacity: 0.1;
}

.ring-1 {
    width: 150px;
    height: 150px;
}

.ring-2 {
    width: 250px;
    height: 250px;
}

.ring-3 {
    width: 350px;
    height: 350px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--space-3xl) var(--space-lg);
    background: linear-gradient(135deg, var(--pigment-sand-light) 0%, var(--pigment-sand) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--mortar-texture);
    opacity: 0.1;
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.contact-desc {
    font-size: 1.1rem;
    color: rgba(45, 45, 45, 0.8);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.host-note {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--pigment-terracotta);
}

.host-avatar {
    width: 56px;
    height: 56px;
    background: var(--pigment-sand);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.host-avatar svg {
    width: 28px;
    height: 28px;
    color: var(--pigment-terracotta);
}

.host-text strong {
    display: block;
    margin-bottom: var(--space-xs);
}

.host-text p {
    font-size: 0.9rem;
    color: rgba(45, 45, 45, 0.7);
    line-height: 1.6;
}

.contact-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-composition {
    position: relative;
    width: 350px;
    height: 350px;
}

.comp-shape {
    position: absolute;
    transition: all 0.6s var(--ease-bounce);
}

.comp-arch {
    width: 200px;
    height: 260px;
    border: 50px solid var(--pigment-terracotta);
    border-bottom: 0;
    border-radius: 110px 110px 0 0;
    left: 20px;
    top: 20px;
    opacity: 0.9;
}

.comp-circle {
    width: 100px;
    height: 100px;
    background: var(--accent-gold);
    border-radius: var(--radius-full);
    top: 40px;
    right: 40px;
    mix-blend-mode: multiply;
}

.comp-block {
    width: 160px;
    height: 160px;
    background: var(--pigment-sage);
    right: 0;
    bottom: 20px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 50% 50%);
    opacity: 0.9;
}

.visual-composition:hover .comp-arch {
    transform: translate(-10px, -10px) rotate(-3deg);
}

.visual-composition:hover .comp-circle {
    transform: scale(1.15);
}

.visual-composition:hover .comp-block {
    transform: translate(10px, 10px) rotate(3deg);
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-mark {
    background: var(--pigment-terracotta);
}

.footer-logo .logo-text {
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    color: var(--pigment-terracotta-light);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-credit {
    font-style: italic;
}

/* ============================================
   Animations
   ============================================ */
@keyframes logoEntry {
    from {
        transform: scale(0.8) rotate(-15deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(-5deg);
        opacity: 1;
    }
}

@keyframes textReveal {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(195, 106, 75, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(195, 106, 75, 0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-text {
        padding-left: 0;
        border-left: none;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-specs {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-container,
    .location-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-visual {
        order: -1;
    }

    .about-shape-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content .section-title,
    .location-text .section-title,
    .contact-info .section-title {
        text-align: center;
    }

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

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

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

    .contact-visual {
        order: -1;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenity-card-large {
        grid-column: span 2;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }

    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: #E8E2D6 !important;
        background-color: var(--pigment-sand) !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform var(--transition-medium), visibility var(--transition-medium);
        z-index: 9999;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 10000;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .logo-container {
        width: 250px;
        height: 250px;
    }

    .shape-arch {
        width: 140px;
        height: 190px;
        border-width: 35px;
    }

    .shape-block {
        width: 110px;
        height: 110px;
    }

    .shape-circle {
        width: 60px;
        height: 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-cta {
        justify-content: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .amenity-card-large {
        grid-column: span 1;
    }

    .amenity-list-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 250px);
    }

    .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .location-stats {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        width: 300px;
        height: 300px;
    }

    .visual-composition {
        width: 280px;
        height: 280px;
    }

    .comp-arch {
        width: 150px;
        height: 200px;
        border-width: 38px;
    }

    .comp-circle {
        width: 75px;
        height: 75px;
    }

    .comp-block {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero-specs {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .spec {
        text-align: center;
        padding: var(--space-md);
        background: white;
        border-radius: var(--radius-md);
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}