/* Spazio Liv - EXACT USER FONT SPECIFICATIONS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Cinzel:wght@400;500;600&family=Prata&family=Poppins:wght@400;500&display=swap');

:root {
    --primary-red: #D23126;
    --dark-bg: #1C1C1C;
    --text-main: #333333;
    --text-muted: #999999;
    --bg-light: #FFFFFF;
    --bg-gray: #F8F8F8;
    --serif: 'Cinzel', serif; 
    --hero-font: 'Cinzel', serif; 
    --sans: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
}

/* Global Entrance Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delayed reveals for grids */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, .hero-headline {
    font-family: var(--hero-font);
    font-weight: 400;
    margin: 0;
    font-size: 32px;
}

h1, .hero-headline {
    letter-spacing: 1px;
    text-transform: uppercase;
}

p { margin: 0; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 40px 20px;
}

.stats-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 10px 10px;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 80px 20px;
}

.uppercase { text-transform: uppercase; letter-spacing: 2px; }
.m-br { display: none; }
.d-br { display: block; }

/* Header - No Nav, Center Logo */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 45px 0;
    z-index: 100;
    display: flex;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.logo-container img {
    object-fit: contain;
}

.brand-name {
    font-family: var(--hero-font);
    font-size: 32px;
    letter-spacing: 5px;
    font-weight: 500;
}

.brand-name span { color: var(--primary-red); }

.main-logo {
    height: 80px;
    object-fit: contain;
}

.scroll-chevron {
    font-size: 24px; 
    color: rgba(255,255,255,0.7);
}

.highlight-red {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)), url('assets/images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 1100px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 30px;
}

.hero p {
    font-size: 21px;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid rgba(255,255,255,0.1);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    min-height: 1.3em; /* Prevent layout jump */
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 0.8em;
    background-color: var(--primary-red);
    margin-left: 4px;
    animation: blink 0.8s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.hero-badge .avatars img {
    width: 34px; height: 34px; border-radius: 50%;
    border: 2px solid white; margin-left: -12px;
}
.hero-badge .avatars img:first-child { margin-left: 0; }
.hero-badge span { font-size: 13.5px; font-weight: 300; }

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

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

/* Sections Styling - 1:1 Match Spacing */
.usp-section { padding: 40px 0; text-align: center; padding-top: 80px; }
.usp-headline { font-family: var(--hero-font); font-size: 15px; margin-bottom: 70px; letter-spacing: 2px; line-height: 1.8; opacity: 0.8; }

.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease;
}
.usp-item:hover {
    transform: translateY(-5px);
}
.usp-item svg { width: 44px; height: 44px; margin-bottom: 18px; color: var(--primary-red); }
.usp-item h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.4; text-transform: none; }

.confused-section { padding: 20px 0; padding-bottom: 80px;}
.confused-container { display: flex; border-radius: 0; overflow: hidden; border: 3px solid #20191A; box-shadow: none; }

.confused-left { flex: 1; background: #20191A; color: white; padding: 80px 60px; border-right: 2px solid #20191A; display: flex; flex-direction: column; justify-content: flex-start; }
.confused-left h2 { font-family: var(--hero-font); font-size: 32px; line-height: 1.1; margin-bottom: 120px; font-weight: 400; letter-spacing: -1px; }
.confused-sub-text p { margin-bottom: 30px; font-size: 21px; opacity: 1; font-weight: 400; line-height: 1.4; color: white; }

.confused-right { flex: 1.6; background: white; padding: 60px 80px; display: flex; flex-direction: column; justify-content: center; }
.confused-right h3 { font-family: var(--hero-font); font-size: 32px; line-height: 1.5; margin-bottom: 35px; text-transform: uppercase; letter-spacing: 1px; color: #111; font-weight: 400; }

.booking-widget { display: flex; gap: 40px; align-items: flex-start; }
.booking-list { flex: 1; }
.booking-title { font-family: var(--sans); font-weight: 600; margin-bottom: 20px; font-size: 14px; }
.booking-steps { padding-left: 0; list-style: none; margin: 0; }
.booking-steps li { margin-bottom: 8px; font-size: 13px; color: #333; line-height: 1.3; }
.btn-booking { margin-top: 80px; }

.calendar-mockup { width: 280px; border: none; border-radius: 8px; padding: 25px; text-align: center; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.08); position: relative; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.calendar-header span { font-size: 16px; font-weight: 600; }
.calendar-month { font-family: var(--sans); }
.calendar-nav-next { color: var(--primary-red); }
.calendar-nav { display: flex; gap: 15px; }
.calendar-nav i { font-size: 14px; cursor: pointer; color: var(--primary-red); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 11px; }
.calendar-grid span { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: #333; cursor: pointer; border-radius: 4px; transition: var(--transition); position: relative; font-weight: 500;}
.calendar-grid span:not(.muted):not(.day-header):not(.disabled):hover { background: #fdf2f1; color: var(--primary-red); }
.calendar-grid span.muted, .calendar-grid span.disabled { color: #ddd; cursor: not-allowed; }
.calendar-grid span.active { background: var(--primary-red) !important; color: white !important; font-weight: 600; border-radius: 4px; }
.calendar-grid span.today { color: var(--primary-red); font-weight: 700; border: 1px solid rgba(210, 49, 38, 0.2); }
.calendar-grid span.day-header { font-weight: 600; color: #999; border-bottom: none; font-size: 10px; text-transform: uppercase; cursor: default; }

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: modalFadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    color: #666;
    transition: var(--transition);
}

.close-modal:hover { color: var(--primary-red); }

.modal-header { margin-bottom: 35px; }
.modal-header h2 { font-size: 32px; margin-bottom: 10px; color: #111; font-family: var(--serif); }
.modal-header p { font-size: 21px; color: #666; font-weight: 400; }

.form-row { 
    display: flex; 
    gap: 30px; 
    margin-bottom: 0; 
    width: 100%;
}

.form-group { 
    margin-bottom: 25px; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    min-width: 0; /* Prevents flex items from overflowing */
}
.form-group label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 15px;
    transition: var(--transition);
    background: #fafafa;
    color: #333;
}

.form-group input::placeholder { color: #aaa; font-weight: 300; }

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: #fff;
    box-shadow: 0 4px 12px rgba(210, 49, 38, 0.08);
}

.btn-submit { 
    width: 100%; 
    padding: 18px; 
    font-size: 16px; 
    font-weight: 600; 
    margin-top: 15px; 
    border-radius: 8px; 
}

.stats-section { 
    background: linear-gradient(rgba(32, 25, 26, 0.985), rgba(32, 25, 26, 0.985)), 
                url('assets/images/bg_statistics.png') center/cover no-repeat;
    background-color: #20191A; 
    color: white; 
    padding: 100px 0; 
    text-align: center; 
    overflow: hidden; 
}
.stats-heading { font-family: var(--hero-font); color: rgba(255,255,255,0.5); font-size: 32px; margin-bottom: 50px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.stat-item.active {
    opacity: 1;
    transform: translateY(0);
}
.stat-item:nth-child(1) { transition-delay: 0.1s; }
.stat-item:nth-child(2) { transition-delay: 0.2s; }
.stat-item:nth-child(3) { transition-delay: 0.3s; }
.stat-item:nth-child(4) { transition-delay: 0.4s; }

.stat-item h3 { font-size: 32px; margin-bottom: 5px; font-family: var(--hero-font); color: white; }
.stat-item p { text-transform: uppercase; font-size: 11px; color: #888; letter-spacing: 1px; }

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0; 
    text-align: center;
}

.testimonial-sub {
    font-family: var(--hero-font);
    color: var(--primary-red); 
    font-weight: 700; 
    font-size: 13px; 
    margin-bottom: 15px;
}

.testimonial-title {
    font-size: 32px; 
    margin-bottom: 70px; 
    text-transform: uppercase;
}

.testimonial-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}

.testimonial-item {
    height: 250px; 
    background: #333; 
    border-radius: 4px; 
    position: relative; 
    overflow: hidden; 
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.testimonial-item img {
    width:100%; 
    height:100%; 
    object-fit:cover; 
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.testimonial-item:hover img {
    opacity: 0.8;
}

/* Final CTA Section */
.final-cta {
    background: var(--bg-gray); 
    padding: 80px 0; 
    text-align: center;
}

.cta-title {
    font-size: 32px; 
    margin-bottom: 50px; 
    text-transform: uppercase;
}

/* =============================================
   OUR INCLUSIONS SECTION
   ============================================= */
.inclusions-section {
    padding: 80px 0 90px;
    text-align: center;
}

.inclusions-title {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    color: #111;
    margin-bottom: 0;
    padding-top: 10px;
    /* Matches reference: "Our Inclusions" in Prata serif, sentence case */
}

.inclusions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 50px 30px;
    margin-top: 60px;
}

.incl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* PNG icons — fixed height, auto width, red tint via CSS filter */
.incl-item img {
    height: 64px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Convert black PNGs to brand red (#D23126) */
    filter: invert(22%) sepia(92%) saturate(1600%) hue-rotate(345deg) brightness(90%) contrast(110%);
}

.incl-item h4 {
    font-size: 13px;
    font-weight: 500;
    font-family: var(--sans);
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    padding-top: 80px;
    padding-bottom: 120px;
    text-align: center;
}

.gallery-heading {
    font-size: 32px;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-family: var(--serif);
    font-weight: 400;
}

/* =============================================
   EXACT 9-IMAGE GRID — pixel-perfect Figma match
   Based on: 1200 x 967 px Figma frame
   Using absolute positioning with % values
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: 485fr 382fr 285fr;
    grid-template-rows: auto auto auto auto;
    gap: 20px;
    width: 100%;
    margin: 40px 0 0;
}

.g-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.g-item.reveal {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.g-item.reveal.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.g-item:hover img {
    transform: scale(1.1);
}

/* 
  Grid Area mappings for perfectly consistent 20px gap:
  Col 1: 485px | Gap | Col 2: 382px | Gap | Col 3: 285px
*/

.g1 { grid-column: 1; grid-row: 1; aspect-ratio: 485 / 231; }
.g2 { grid-column: 2 / span 2; grid-row: 1; aspect-ratio: 690 / 331; }
.g3 { grid-column: 1; grid-row: 2 / span 2; aspect-ratio: 485 / 458; }
.g4 { grid-column: 2; grid-row: 2; aspect-ratio: 382 / 182; }
.g5 { grid-column: 3; grid-row: 2; aspect-ratio: 285 / 136; }
.g6 { grid-column: 1; grid-row: 4; aspect-ratio: 488 / 233; }
.g7 { grid-column: 2; grid-row: 3 / span 2; aspect-ratio: 387 / 421; }
.g8 { grid-column: 3; grid-row: 3; aspect-ratio: 285 / 310; }
.g9 { grid-column: 3; grid-row: 4; aspect-ratio: 285 / 136; }



footer { 
    background: #20191A; 
    color: white;  
}

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

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo img {
    width: 340px;
    height: auto;
    display: block;
}

.footer-divider {
    width: 2px;
    height: 160px;
    background: #FFFFFF;
    flex: 0 0 auto;
}

.footer-info { 
    width: 274px;
    text-align: center;
    flex: 0 0 auto;
}

.footer-info p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: normal;
    color: rgba(255, 255, 255, 0.642);
    opacity: 1;
    margin-bottom: 40px;
    font-weight: 400;
}

.footer-phone {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: white;
    text-decoration: underline;
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--primary-red);
}



/* Play Button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: var(--transition);
}
.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
}
.play-btn i {
    color: var(--primary-red);
    font-size: 22px;
    margin-left: 4px; /* Optical center adjustment for play triangle */
}

/* Buttons Style */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-red);
    color: white;
    font-weight: 500;
    border-radius: 6px;
    text-transform: none;
    font-size: 16px;
    letter-spacing: 0;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: #B22920;
    transform: translateY(-2px);
}


