/* --------------------------------------------------
   CASA DI GIULIA - STYLE SYSTEM
   Liguria Coast Premium Theme
   -------------------------------------------------- */

/* CSS Variables */
:root {
    --color-primary: #0f2742;       /* Deep ocean blue */
    --color-primary-light: #183e68;
    --color-primary-dark: #071524;
    --color-secondary: #dfcca7;     /* Warm coastal sand */
    --color-secondary-dark: #cbb489;
    --color-accent: #2e8b9a;        /* Turquoise sea wave */
    --color-accent-light: #44a8b8;
    --color-accent-rgb: 46, 139, 154;
    --color-text-dark: #2c3e50;
    --color-text-muted: #5e6f80;
    --color-bg-light: #f6f8fa;
    --color-bg-white: #ffffff;
    --color-success: #27ae60;
    --color-error: #e74c3c;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    
    --shadow-sm: 0 2px 4px rgba(15, 39, 66, 0.05);
    --shadow-md: 0 10px 20px rgba(15, 39, 66, 0.08);
    --shadow-lg: 0 15px 35px rgba(15, 39, 66, 0.12);
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(12px);
    
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-primary);
}

h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-primary-light);
    margin-bottom: 1.5rem;
}

.text-center { text-align: center; }
.text-light { color: #ffffff; }
.text-secondary { color: var(--color-secondary) !important; }

/* Grid System */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 24px;
}

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

.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 48px; }

.align-center { align-items: center; }

/* Section Styling */
.section-padding {
    padding: clamp(60px, 8vw, 100px) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-primary-dark);
}

.section-header {
    margin-bottom: 48px;
}

.subheading {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 8px;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary-dark);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-header.text-left .divider {
    margin-left: 0;
}

.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(var(--color-accent-rgb), 0.3);
}

.btn-primary:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--color-accent-rgb), 0.4);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(223, 204, 167, 0.2);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--color-primary);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------
   Header & Navigation
   -------------------------------------------------- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    background: rgba(15, 39, 66, 0.92);
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

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

.logo {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

#main-header.scrolled .logo {
    color: #ffffff;
}

/* If header is NOT scrolled, we want light text for logo, links, etc. because Hero is dark */
.logo-serif {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.45rem;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
}

#nav-menu ul {
    display: flex;
    gap: 32px;
}

#nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}

#nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-fast);
}

#nav-menu a:hover {
    color: #ffffff;
}

#nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --------------------------------------------------
   Hero Section
   -------------------------------------------------- */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 48px 40px;
    margin-top: 40px;
    background: rgba(15, 39, 66, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-badge {
    background-color: rgba(223, 204, 167, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--color-secondary);
}

.hero-content h1 {
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
}

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

.mouse-icon {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    display: block;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

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

/* --------------------------------------------------
   Highlights Bar
   -------------------------------------------------- */
#highlights {
    position: relative;
    z-index: 20;
    margin-top: -60px;
}

.highlights-wrapper {
    display: flex;
    justify-content: space-around;
    padding: 30px 16px;
    flex-wrap: wrap;
    gap: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(46, 139, 154, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
}

.highlight-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.highlight-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------
   Overview & Space Detail (Alloggio)
   -------------------------------------------------- */
.alloggio-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-alloggio-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.alloggio-img-wrap:hover .main-alloggio-img {
    transform: scale(1.03);
}

.img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
}

/* Tabs */
.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--color-bg-light);
    margin-bottom: 28px;
    gap: 20px;
}

.tab-btn {
    padding: 12px 8px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--color-accent);
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

/* Tab Panels */
.tab-panel {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.styled-list {
    margin-top: 20px;
}

.styled-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.rule-box {
    background-color: var(--color-bg-light);
    padding: 20px;
    border-radius: 12px;
}

.rule-box h4 {
    margin-bottom: 10px;
    color: var(--color-primary-light);
}

.rule-box p {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.legal-badge-box {
    border-left: 4px solid var(--color-secondary-dark);
    background-color: var(--color-bg-light);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
}

.code-highlight {
    background-color: rgba(203, 180, 137, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
    color: var(--color-primary);
}

/* --------------------------------------------------
   Photo Gallery
   -------------------------------------------------- */
.gallery-filters {
    margin-bottom: 36px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: var(--color-bg-white);
    color: var(--color-text-muted);
    font-weight: 500;
    border: 1px solid rgba(15, 39, 66, 0.1);
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background-color: var(--color-bg-white);
    position: relative;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.gallery-img-box {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 39, 66, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 20px;
    text-align: center;
}

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

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

.zoom-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .zoom-icon {
    transform: translateY(0);
}

.gallery-img-caption {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
}

.gallery-meta-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(7, 21, 36, 0.96);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 16px;
    font-size: 1.05rem;
    text-align: center;
    max-width: 600px;
    font-weight: 400;
}

/* Navigation inside Lightbox */
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.5rem;
    transition: var(--transition-fast);
    z-index: 2100;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    color: #ffffff;
}

.lightbox-close {
    top: 30px;
    right: 40px;
    font-size: 3rem;
}

.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

/* --------------------------------------------------
   Services & Amenities
   -------------------------------------------------- */
.service-card {
    background-color: var(--color-bg-light);
    border-radius: 16px;
    padding: 32px 24px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card:hover {
    background-color: var(--color-bg-white);
    border-color: rgba(46, 139, 154, 0.15);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(46, 139, 154, 0.08);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--color-accent);
    color: #ffffff;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.service-card ul {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.service-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.service-card li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* --------------------------------------------------
   Map & Location (Dove Siamo)
   -------------------------------------------------- */
.distances-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.distance-item {
    background-color: var(--color-bg-white);
    padding: 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.dist-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
}

.dist-lbl {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.map-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 28px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 320px;
    backdrop-filter: blur(4px);
}

.map-card h3 {
    margin-bottom: 6px;
}

.map-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 18px;
}

/* --------------------------------------------------
   Reviews & Testimonials
   -------------------------------------------------- */
.ratings-dashboard {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px;
    margin-bottom: 48px;
    gap: 30px;
}

.rating-overall {
    text-align: center;
    padding-right: 40px;
    border-right: 1px solid rgba(15, 39, 66, 0.1);
}

.overall-num {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.rating-overall .stars {
    color: #f1c40f;
    font-size: 1.5rem;
    margin: 8px 0;
}

.overall-count {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.rating-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 16px;
    flex-grow: 1;
}

.rating-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cat-lbl {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 110px;
}

.cat-bar {
    height: 6px;
    background-color: rgba(15, 39, 66, 0.1);
    border-radius: 3px;
    flex-grow: 1;
    overflow: hidden;
}

.cat-bar-fill {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 3px;
}

.cat-val {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 25px;
    text-align: right;
}

.stars {
    color: #f1c40f;
    letter-spacing: 2px;
}

.testimonial-card {
    background-color: var(--color-bg-light);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    transition: var(--transition-smooth);
}

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

.review-text {
    font-style: italic;
    margin: 16px 0;
    color: var(--color-text-dark);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(15, 39, 66, 0.08);
    padding-top: 16px;
}

.reviewer-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.reviewer-details p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------
   Contact & Booking Form
   -------------------------------------------------- */
.contact-details h2 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.contact-details .lead {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(223, 204, 167, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.method-text h4 {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-bottom: 2px;
}

.method-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
}

/* Airbnb Promo Card Styling - Premium Dark Glass Overlay */
.airbnb-promo,
.airbnb-promo.glass-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(223, 204, 167, 0.28) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.airbnb-promo h3 {
    color: #ffffff !important;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.airbnb-promo p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
}

.airbnb-promo .btn-secondary {
    background-color: var(--color-secondary) !important;
    color: #0f2742 !important;
    font-weight: 700 !important;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.airbnb-promo .btn-secondary:hover {
    background-color: #ffffff !important;
    color: #0f2742 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.contact-form-wrap {
    padding: 40px;
    border-color: rgba(255, 255, 255, 0.15);
}

.contact-form-wrap h3 {
    color: var(--color-primary-dark);
    margin-bottom: 6px;
    font-size: 1.45rem;
}

/* Form Styling on light backdrop in glass-card overlay */
.contact-form-wrap {
    background-color: var(--color-bg-white);
}

.form-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(15, 39, 66, 0.15);
    background-color: var(--color-bg-light);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-accent);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.1);
}

.form-feedback {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 12px;
}

.success-box {
    background-color: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.2);
    color: var(--color-success);
}

.success-icon {
    width: 48px;
    height: 48px;
    fill: var(--color-success);
    margin: 0 auto 12px;
}

.success-box h4 {
    color: var(--color-success);
    margin-bottom: 8px;
}

.success-box p {
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

/* --------------------------------------------------
   Footer Styling
   -------------------------------------------------- */
footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand .brand-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-legal-summary h4, .footer-links h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-legal-summary p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
}

/* --------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------- */

@media (max-width: 1024px) {
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .grid-2-col, .grid-3-col {
        grid-template-columns: 1fr;
    }
    
    .gap-lg {
        gap: 30px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    /* Navbar Mobile */
    .mobile-nav-toggle {
        display: flex;
        z-index: 1100;
    }
    
    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-primary-dark);
        z-index: 1050;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    #nav-menu.active {
        right: 0;
    }
    
    #nav-menu ul {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    #nav-menu a {
        font-size: 1.15rem;
    }
    
    .btn-book-now {
        display: none !important; /* Hide header btn on small mobile, show in content */
    }
    
    /* Toggle active state */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Highlights */
    #highlights {
        margin-top: -30px;
    }
    
    .highlights-wrapper {
        flex-direction: column;
        padding: 24px;
    }
    
    /* Ratings dashboard */
    .ratings-dashboard {
        flex-direction: column;
        padding: 24px;
    }
    
    .rating-overall {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(15, 39, 66, 0.1);
        padding-bottom: 24px;
        width: 100%;
    }
    
    .rating-categories-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    /* Lightbox mobile adjustments */
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 2rem;
    }
    
    /* Contact wrap */
    .contact-form-wrap {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-column: span 1;
    }
}

/* ==========================================
   Language Selector Styles
   ========================================== */
.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: var(--color-primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    min-width: 80px;
    overflow-y: auto;
    max-height: 250px;
    z-index: 1000;
}

.lang-dropdown.show {
    display: flex;
}

.lang-opt {
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.lang-opt:last-child {
    border-bottom: none;
}

.lang-opt:hover, .lang-opt.active {
    background-color: var(--color-accent);
    color: #ffffff;
}

/* For Scrolled Header */
#main-header.scrolled .lang-btn {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
}
#main-header.scrolled .lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================
   Cookie Consent Banner Styles
   ========================================== */
.cookie-banner-modal {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 480px;
    z-index: 10000;
    display: none;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cookie-banner-modal.show {
    display: block;
}

.cookie-banner-content {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.cookie-banner-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-banner-content a {
    color: var(--color-secondary);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-content a:hover {
    color: #ffffff;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .cookie-banner-modal {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }
}

/* ==========================================
   Form Input Text Color Fix (Visibility)
   ========================================== */
.form-group input,
.form-group select,
.form-group textarea {
    color: #0f2742 !important; /* Force deep dark blue color for high visibility */
    background-color: #ffffff !important; /* Ensure background is solid white */
    border: 1px solid rgba(15, 39, 66, 0.25) !important; /* Clear dark border */
}

/* Ensure placeholder is visible but muted */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #7f8c8d !important;
    opacity: 1 !important;
}

/* Focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    color: #0f2742 !important;
    background-color: #ffffff !important;
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 3px rgba(46, 139, 154, 0.25) !important;
}

/* Autofill styling overrides (safari, chrome, edge) */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus,
.form-group select:-webkit-autofill,
.form-group select:-webkit-autofill:hover,
.form-group select:-webkit-autofill:focus {
    -webkit-text-fill-color: #0f2742 !important;
    transition: background-color 5000s ease-in-out 0s !important; /* Prevents default yellow background */
    box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

/* Styling select options dropdown */
.form-group select option {
    color: #0f2742 !important;
    background-color: #ffffff !important;
}

/* Date inputs icon styling and inner text */
.form-group input[type="date"] {
    color: #0f2742 !important;
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(13%) sepia(24%) saturate(2311%) hue-rotate(185deg) brightness(91%) contrast(96%); /* Styles calendar icon to primary color */
    cursor: pointer;
}

/* ==========================================
   Quote Simulator Styling
   ========================================== */
.quote-preview-box {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(15, 39, 66, 0.12);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
    text-align: left;
    animation: fadeIn 0.4s ease;
}

.quote-preview-box h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(15, 39, 66, 0.08);
    padding-bottom: 8px;
    color: var(--color-primary);
}

.quote-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.quote-total {
    border-top: 1px solid rgba(15, 39, 66, 0.08);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1rem;
    color: var(--color-primary);
}

.quote-savings {
    margin-top: 12px;
    padding: 8px 12px;
    background-color: rgba(39, 174, 96, 0.15);
    border: 1px dashed rgba(39, 174, 96, 0.4);
    border-radius: 6px;
    color: var(--color-success);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}


