@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');
@import url('');





/* ===== CSS VARIABLES - COLOR SYSTEM ===== */

:root {

    /* BACKGROUND COLORS */
    --bg-very-dark: hsl(0, 35%, 15%);;      /* #3d1f1f marrone molto scuro */
    --bg-dark: hsl(30, 30%, 69%);      /* #d4c4b0 - Beige scuro */
    --bg: hsl(35, 40%, 84%);           /* #e8dcc8 - Beige medio */
    --bg-light: hsl(40, 50%, 94%);     /* #f5f0e8 - Crema chiaro */
    
    /* TEXT COLORS */
    --text: hsl(0, 33%, 7%);          /* #3d1f1f - Marrone scuro */
    --text-muted: hsl(20, 10%, 40%);   /* #6b6560 - Grigio medio */

    --text-light: hsl(180, 33%, 80%);  /* #a8a39e - Grigio chiaro */
    --text-muted-light: hsl(200, 10%, 75%); /* #a8a39e - Grigio chiaro */
    
    /* BORDER COLORS */
    --highlight: hsl(40, 50%, 94%);    /* #f5f0e8 - Bianco/crema */
    --border: hsl(20, 10%, 45%);       /* #7a7470 - Grigio medio */
    --border-muted: hsl(20, 10%, 63%); /* #a8a39e - Grigio chiaro */
    
    /* ACTION COLORS */
    --secondary: hsl(0, 33%, 18%);       /* #3d1f1f - Marrone scuro (come text) */
    --primary: hsl(60, 45%, 30%);    /* #6b6b2c - Verde oliva */
    
    /* ALERT COLORS */
    --danger: hsl(20, 20%, 47%);       /* #8b6f5f - Marrone rossastro */
    --warning: hsl(60, 30%, 41%);      /* #8b8b47 - Giallo oliva */
    --success: hsl(150, 20%, 46%);     /* #5f8b77 - Verde acqua */
    --info: hsl(200, 15%, 48%);        /* #6b7f8b - Blu grigio */
    
    /* FONTS */
    --font-primary: 'Pinyon Script', serif;
    /*--font-primary: 'Playfair Display', serif;*/
    --font-secondary: 'Merriweather', system-ui, sans-serif;
}



h1 {
  font-size: 5rem;
  font-family: var(--font-primary);
  }

h2 {
  font-size: 2rem;
  font-family: var(--font-primary);
  }

h3, a {
  font-size: 1rem;
  font-family: var(--font-secondary);
  }

p, span {
    font-size: 0.7rem;
    font-family: var(--font-secondary);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text);
    overflow-x: visigle;
    background: var(--bg-light);
}


/* ===== SECTIONS ===== */
.section {
    padding: 8rem 2rem 5rem;
}

.about-section {
    background: var(--bg-light);
    background-image: url("/assets/img/logo-originale-barca.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: var(--bg-dark);  
}

.menu-section {
    position: relative;
    background: var(--bg-light);
    padding-top: 8rem;
    overflow: hidden;
}

.contact-section {
    background: var(--bg-light);
    background-image: url("/assets/img/logo-originale-barca.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding-top: 8rem;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text);
    text-shadow: var(--bg-dark);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

/* ===== BUTTONS ===== */
.cta-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap; /* permette di andare a capo */
  padding-bottom: 10rem;
}

.cta-button {
    display: inline-flex;      
    justify-content: center;   
    align-items: center;
    background: var(--secondary);
    color: var(--bg-light);
    width: 180px;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 107, 44, 0.4);
}


.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 107, 44, 0.6);
    background: var(--primary);
}

.submit-btn {
    width: 100%;
    background: var(--secondary);
    color: var(--bg-light);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* ===== MENU SECTION ===== */

/* Menu Background Images */
.menu-bg-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.menu-bg-item {
    position: absolute;
    width: 300px;
    height: 300px;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(2px);
}

.menu-bg-item:nth-child(1) {
    top: 10%;
    left: 5%;
    animation: float 20s ease-in-out infinite;
}

.menu-bg-item:nth-child(2) {
    top: 15%;
    right: 8%;
    animation: float 25s ease-in-out infinite reverse;
}

.menu-bg-item:nth-child(3) {
    top: 50%;
    left: 10%;
    animation: float 22s ease-in-out infinite;
}

.menu-bg-item:nth-child(4) {
    top: 60%;
    right: 5%;
    animation: float 28s ease-in-out infinite reverse;
}

.menu-bg-item:nth-child(5) {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: float 24s ease-in-out infinite;
}

.menu-section .container {
    position: relative;
    z-index: 1;
}

.menu-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text);
}

/* Menu Layout */
.menu-categories {
    display: block;
    margin-top: 3rem;
}

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

.menu-category {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-muted);
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.menu-category h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.menu-category-placeholder {
    background: transparent;
}

/* Multi-column layout for items within a category */
.menu-items-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.menu-items-column {
    display: flex;
    flex-direction: column;
}

/* Menu Items */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-muted);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-name {
    font-weight: bold;
    color: var(--text);
}

.menu-item-description {
    color: var(--text-muted);
    font-style: italic;
}

.menu-item-price {
    color: var(--secondary);
    font-weight: bold;
    margin-left: 1rem;
    white-space: nowrap;
}

/* Images column on the right */
.menu-images-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Decorative Images in Menu */
.menu-decorative-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
    border: 2px solid var(--border);
}

.menu-decorative-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.menu-decorative-image:hover img {
    transform: scale(1.05);
}

/* ===== NAVIGATION SECTION===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-dark);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: bold;
    color: var(--text);
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
    font-weight: 700;
}

.nav-menu a:hover {
    color: var(--primary);
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 120vh;
    background-image: url("/assets/img/logo-originale-barca.svg");

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: var(--bg-dark);  
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    margin-top: 20vh;
}

.hero h1 {
    font: vat(--font-title);
    margin-bottom: 2rem;
    color: var(--text);
}

.hero .subtitle {
    margin-bottom: 2rem;
    opacity: 1;
    color: var(--text);
}

/* ===== ABOUT / GALLERY SECTION ===== */

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

.about-text {
    line-height: 1.8;
    color: var(--text);
    text-shadow: 5px 5px 5px var(--bg-dark);
}

.about-text h3 {
    color: var(--text);
    text-shadow: 5px 5px 5px var(--bg-dark);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-muted);
    font-weight: 700;
    text-shadow: 5px 5px 5px var(--bg-dark);
}

.about-text p strong {
    font-weight: 700;
    color: var(--text);

}

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border-muted);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 80%;
    left: 0;
    right: 0;
    background: linear-gradient( to top, var(--bg-light), transparent);
    color: var(--text-dark);
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: bold;
}

/* ===== CONTACT SECTION ===== */

.contact-content {
    display: flex;
    justify-content: center;
    /*grid-template-columns: 1fr 1fr;
    gap: 4rem;*/
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-muted);
}

.contact-form h3 {
    color: var(--text);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-muted);
    border-radius: 8px;
    transition: border-color 0.3s ease;
    background: var(--bg-light);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
}

.contact-info {
    background: var(--bg-dark);
    color: var(--text);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border);
}

.contact-info h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.info-item strong {
    min-width: 100px;
    color: var(--secondary);
}

.info-item span {
    color: var(--text);
}

.map-container {
    margin-top: 2rem;
    height: 200px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-light);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 2px solid var(--border);
}

.map-container:hover {
    background: var(--primary);
}

/* ===== MOBILE RESPONSIVENESS ===== */

@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-img {
        height: 40px;
        width: 40px;
    }

    /* Hero */
    .hero .subtitle {
        font-size: 1.2rem;
    }

    /* Carousel */
    .carousel-section {
        height: 50vh;
    }

    .carousel-btn {
        padding: 0.7rem 1rem;
        font-size: 1.2rem;
    }

    .carousel-btn-prev {
        left: 1rem;
    }

    .carousel-btn-next {
        right: 1rem;
    }

    .carousel-caption {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }

    /* Carousel Container*/

    .hero-carousel-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 1;
    }

    .hero-carousel-container .carousel-slide {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity .7s ease;
    }

    .hero-carousel-container .carousel-slide.active {
        opacity: 1;
    }

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

    /* Nascondiamo i captions del carosello base */
    .hero-carousel-container .carousel-caption {
        display: none;
    }

    /* Pulsanti dedicati */
    .hero-carousel-container .carousel-btn {
        z-index: 5;
    }

    /* Dots */
    .hero-carousel-container .carousel-dots {
        z-index: 5;
    }

    /* Testo in primo piano */
    .hero-content {
        position: relative;
        z-index: 10;
        text-align: center;
    }

    /* Testo in primo piano */
    .hero-content .subtitle {
        font-size: 1.7rem;
    }

    /* General */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Menu */
    .menu-row {
        grid-template-columns: 1fr;
    }
    
    .menu-items-columns {
        grid-template-columns: 1fr;
    }
    
    .menu-decorative-image img {
        height: 300px;
    }

    /* Sections */
    .section {
        padding: 6rem 1rem 3rem;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-item-price {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* ===== CAROUSEL SECTION ===== */
.carousel-section {
    position: relative;
    width: 100%;
    height: 70vh;
    background: var(--text);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}


.carousel-btn-prev {
    left: 2rem;
}

.carousel-btn-next {
    right: 2rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* ===== EVENTI & PROMOZIONI SECTION ===== */
.eventi-section {
    background: var(--bg-light);
    padding-top: 8rem;
}

.eventi-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.eventi-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text);
    font-size: 1.2rem;
}

.eventi-grid {
    display: grid;
    background-image: url("/assets/img/logo-originale-largo.svg");
    background-repeat: repeat-y;
    background-position: center;
    background-size: contain;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Evento Card */
.evento-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--border-muted);
    display: flex;
    flex-direction: column;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Super Evento - occupies 2 columns */
.super-evento {
    grid-column: span 2;
    border: 3px solid var(--secondary);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
}

.super-evento:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(107, 107, 44, 0.3);
}

.super-evento .evento-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--primary);
}

.super-evento .evento-image {
    height: 500px;
}

/* Past Event - grayed out */
.evento-past {
    opacity: 0.4;
    filter: grayscale(90%);
}

.evento-past:hover {
    opacity: 0.6;
}

/* Evento Image */
.evento-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.evento-image img {
    width: 100%;
    height: 150%;
    object-fit: cover;              /* riempie il box ritagliando */
    object-position: top center;    /* top sempre visibile + centrata in orizzontale */
    transition: transform 0.5s ease;
}

.evento-card:hover .evento-image img {
    transform: scale(1.1);
}

/* Evento Content */
.evento-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.evento-title {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.evento-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.evento-date {
    background: var(--bg);
    font: vat(--font-secondary);
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary);
}

.evento-date strong {
    color: var(--text);
    display: flex;
    margin-bottom: 0.5rem;
}

.evento-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    text-align: right;
}

/* Responsive Eventi */
@media (max-width: 768px) {
    .eventi-grid {
        grid-template-columns: 1fr;
    }
    
    .super-evento {
        grid-column: span 1;
    }
    
    .super-evento .evento-image {
        height: 300px;
    }
}


/* ===== GALLERIA SECTION ===== */
.galleria-section {
    background-color: var(--bg-dark);  
    padding-top: 8rem;
}

.galleria-subtitle {
    display: center;
    padding: 0.55rem 1.2rem;
    margin: 5rem auto 1.2rem;
    text-align: center;
    width: fit-content;
}



.galleria-loading {
    text-align: center;
    padding: 3rem;
    color: var(--text);
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

.galleria-grid {
    display: grid;
    background-color: var(--bg-dark); 
    background-image: url("/assets/img/logo-originale-largo.svg");
    background-repeat: repeat-y;
    background-position: center;
    background-size: contain;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Gallery Item */
.gallery-item {
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-image-container {
    width: 100%;
    aspect-ratio: 6/5;
    overflow: hidden;
    background: var(--bg);
}

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

.gallery-item:hover .gallery-image-container img {
    transform: scale(1.1);
}

.gallery-image-container-no-caption {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg);
}

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

.gallery-item:hover .gallery-image-container-no-caption img {
    transform: scale(1.1);
}

.gallery-caption {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-light);
}

/* ===== LIGHTBOX (iOS Style) ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox.show {
    background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.show .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    color: var(--bg-light);
    font-size: 1.1rem;
    margin-top: 1rem;
    padding: 0 1rem;
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: var(--bg-light);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Responsive Galleria */
@media (max-width: 768px) {
    .galleria-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-very-dark);
    color: var(--bg-light);
    padding: 3rem 2rem 1rem;
   
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

/* Footer Columns */
.footer-column {
    display: block;
    flex-direction: column;
}

.footer-left {
    align-items: flex-start;
}

.footer-center {
    align-items: center;
    justify-content: center;
}

.footer-right {
    align-items: flex-end;
    text-align: right;
}

.footer-title {
    margin-bottom: 1rem;
    color: var(--bg-light);

}

.footer-info {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-info p {
    margin: 0.5rem 0;
    color: var(--bg);
}

.footer-info strong {
    color: var(--bg-light);
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 240, 232, 0.1);
    border-radius: 50%;
    color: var(--bg-light);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Footer Logo */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo svg {
    color: var(--bg-light);
    filter: drop-shadow(0 0 10px rgba(245, 240, 232, 0.3));
}

.footer-logo-text {
    font-weight: bold;
    color: var(--bg-light);
}

/* Footer Credits */
.footer-credits {
    line-height: 1.8;
    color: var(--bg);
    align-items: flex-start; 
}

.footer-credits strong {
    color: var(--warning);
    font-size: 1.1rem;
}

.footer-credits a {
    color: var(--warning);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: var(--bg-light);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--bg);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        align-items: center;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ===== ADS SYSTEM ===== */

/* Popup Ad */
.ad-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: background 0.3s ease;
    opacity: 0;
}

.ad-popup-overlay.show {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.ad-popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.ad-popup-overlay.show .ad-popup-container {
    transform: scale(1);
}

.ad-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: 2px solid var(--text);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.ad-popup-close:hover {
    background: var(--text);
    color: var(--bg-light);
    transform: rotate(90deg);
}

/* Banner Ad */
.ad-banner {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.3s ease;
}

.ad-banner.show {
    bottom: 0;
}

.ad-banner-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background: rgba(61, 31, 31, 0.8);
    border: none;
    border-radius: 50%;
    color: var(--bg-light);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ad-banner-close:hover {
    background: var(--text);
    transform: rotate(90deg);
}

.ad-sidebar-close {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px;
    height: 20px;
    background: rgba(61, 31, 31, 0.8);
    border: none;
    border-radius: 50%;
    color: var(--bg-light);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ad-sidebar-close:hover {
    background: var(--text);
    transform: rotate(90deg);
}

/* Footer Ad Section */
.ad-footer-section {
    width: 100%;
    border-top: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
}

.ad-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 200px;
}

.ad-footer-cta {
    background: var(--bg-dark);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 2px solid var(--border-muted);
}

.ad-footer-cta p {
    color: var(--text);
    font-size: 1rem;
    margin: 0;
}

.ad-footer-cta a {
    color: var(--secondary);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ad-footer-cta a:hover {
    color: var(--primary);
}

/* Responsive Ads */
@media (max-width: 768px) {
    .ad-banner {
        width: 95%;
    }
    
    .ad-popup-container {
        max-width: 95%;
    }
    
    .ad-footer-content {
        padding: 1.5rem 1rem;
    }
}


/* ===== SIDEBAR AD (RIGHT) ===== */
.ad-sidebar {
    position: fixed;
    right: -350px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 220px;
    background: var(--bg);
    border: 3px solid var(--secondary);
    border-radius: 15px 0 0 15px;
    padding: 2rem 1.5rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    transition: right 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ad-sidebar.show {
    right: 0;
}

.ad-sidebar-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-sidebar:hover {
    transform: translateY(-50%) scale(1.02);
}


/* ===== COOKIE CONSENT BANNER & SETTINGS ===== */

/* Cookie Banner - Full Width Bottom */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-light);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 2px solid var(--border-muted);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.cookie-banner-text p {
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

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

.cookie-banner-text a:hover {
    color: var(--primary);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--secondary);
    color: var(--bg-light);
    border-color: var(--secondary);
}

.cookie-btn-accept:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.cookie-btn-reject:hover {
    background: var(--bg);
    border-color: var(--text-muted);
}

.cookie-btn-customize {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.cookie-btn-customize:hover {
    background: var(--secondary);
    color: var(--bg-light);
}

/* Cookie Settings Panel */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: none;
}

.cookie-settings.show {
    display: block;
}

.cookie-settings-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 31, 31, 0.85);
}

.cookie-settings-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: var(--bg-light);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    transition: right 0.4s ease;
    z-index: 1;
}

.cookie-settings.show .cookie-settings-panel {
    right: 0;
}

.cookie-settings-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.cookie-settings-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.cookie-settings-panel h2 {
    color: var(--text);
    padding: 2rem 2rem 1rem;
    font-size: 1.3rem;
    margin: 0;
}

.cookie-settings-intro {
    color: var(--text-muted);
    padding: 0 2rem 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.cookie-category {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-muted);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.cookie-category h3 {
    color: var(--text);
    font-size: 1.05rem;
    margin: 0;
    font-weight: 600;
}

.cookie-category p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-badge {
    background: var(--bg);
    color: var(--text-muted);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cookie-badge.active {
    background: var(--secondary);
    color: var(--bg-light);
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-muted);
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: var(--bg-light);
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--secondary);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-settings-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-muted);
    background: var(--bg);
}

.cookie-btn-save {
    width: 100%;
    background: var(--secondary);
    color: var(--bg-light);
    padding: 1rem;
    font-size: 1rem;
    border: none;
}

.cookie-btn-save:hover {
    background: var(--primary);
}

/* Responsive Cookie UI */
@media (max-width: 768px) {
    .cookie-banner-container {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 1rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 0.8rem 1rem;
    }
    
    .cookie-settings-panel {
        max-width: 100%;
    }
}


/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9997;
    box-shadow: 0 4px 15px rgba(107, 107, 44, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator svg {
    color: var(--bg-light);
}

.scroll-indicator:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(107, 107, 44, 0.6);
}

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

/* Responsive Scroll Indicator */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}