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

body {
    font-family: Figtree, "Figtree Placeholder", sans-serif;
    font-size: 16px;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.dialog-open {
    overflow: hidden;
}

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

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo img {
    height: 70px;
    display: block;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 45px;
}

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

.nav-menu a {
    /* color managed by dynamic config in header.php */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    /* Color managed by dynamic config in header.php */
}

.btn-reserve {
    /* background and color managed by dynamic config in header.php */
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
}

.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 42, 112, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Logo Placeholder */
.logo-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    /* color managed by dynamic config in header.php */
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.header.scrolled .logo-placeholder {
    font-size: 1.2rem;
}

/* Layout Variations */
.nav-layout-menu-left-logo-right {
    justify-content: space-between;
}

.nav-layout-menu-left-logo-right .nav-menu {
    order: 1;
}

.nav-layout-menu-left-logo-right .logo {
    order: 2;
}

.nav-layout-menu-left-logo-right .mobile-menu-toggle {
    order: 0;
}

.nav-layout-logo-left-menu-right {
    justify-content: space-between;
}

.nav-layout-logo-menu-attached {
    justify-content: flex-start;
}

.nav-layout-logo-menu-attached .nav-left-group {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-layout-centered {
    justify-content: center;
}

.nav-layout-centered .nav-center-group {
    display: flex;
    align-items: center;
    gap: 3rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 1) 100%),
                url('../img/pool1.jpg');
    background-size: cover;
    background-position: -40px center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
}

.hero-pretitle {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

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

.btn-hero {
    background: rgb(255, 42, 112);
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 42, 112, 0.5);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

/* Intro Section */
.intro {
    padding: 5rem 0;
    background: #000;
    text-align: center;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
}

/* Intro text HTML elements (from Quill editor) */
.intro-text p {
    margin-bottom: 1rem;
}

.intro-text h1,
.intro-text h2,
.intro-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.intro-text h1 {
    font-size: 2rem;
}

.intro-text h2 {
    font-size: 1.5rem;
}

.intro-text h3 {
    font-size: 1.2rem;
}

.intro-text strong {
    font-weight: 700;
}

.intro-text em {
    font-style: italic;
}

.intro-text ul,
.intro-text ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.intro-text li {
    margin-bottom: 0.5rem;
}

.intro-text a {
    color: inherit;
    text-decoration: underline;
}

.intro-text a:hover {
    opacity: 0.8;
}

/* Contacts intro text HTML elements (from Quill editor) */
.contacts-intro p {
    margin-bottom: 1rem;
}

.contacts-intro h1,
.contacts-intro h2,
.contacts-intro h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contacts-intro h1 {
    font-size: 2rem;
}

.contacts-intro h2 {
    font-size: 1.5rem;
}

.contacts-intro h3 {
    font-size: 1.2rem;
}

.contacts-intro strong {
    font-weight: 700;
}

.contacts-intro em {
    font-style: italic;
}

.contacts-intro ul,
.contacts-intro ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.contacts-intro li {
    margin-bottom: 0.5rem;
}

.contacts-intro a {
    color: inherit;
    text-decoration: underline;
}

.contacts-intro a:hover {
    opacity: 0.8;
}

/* Events Section */
.events {
    padding: 5rem 0;
    background: #000;
}

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

.event-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.event-content p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
}

.event-day {
    color: #fff;
    font-weight: 700;
}

.events-cta {
    text-align: center;
}

.btn-events {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgb(255, 42, 112);
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-events:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 42, 112, 0.5);
}

.btn-events .arrow {
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
}

.btn-events:hover .arrow {
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 0;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.newsletter-icon {
    margin-bottom: 1rem;
    position: relative;
}

.newsletter-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 8px);
    width: 60px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='20' viewBox='0 0 60 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 10 Q 7.5 2, 15 10 T 30 10 T 45 10 T 60 10' stroke='rgba(255, 42, 112, 0.5)' stroke-width='2' stroke-dasharray='4,3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: #fff;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.input-wrapper input[type="email"] {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-family: Figtree, "Figtree Placeholder", sans-serif;
}

.input-wrapper input[type="email"]:focus {
    outline: none;
}

.input-wrapper input[type="email"]::placeholder {
    color: #666;
}

.btn-newsletter {
    background: transparent;
    color: #fff;
    padding: 1.2rem 2rem;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Figtree, "Figtree Placeholder", sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-newsletter:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-newsletter svg {
    width: 18px;
    height: 18px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: #999;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: rgb(255, 42, 112);
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.checkbox-wrapper input[type="checkbox"]:checked {
    background-color: rgb(255, 42, 112);
    border-color: rgb(255, 42, 112);
    position: relative;
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-wrapper label {
    cursor: pointer;
}

.checkbox-wrapper a {
    color: #fff;
    text-decoration: underline;
}

.checkbox-wrapper a:hover {
    color: rgb(255, 42, 112);
}

/* Info Section */
.info {
    position: relative;
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-title {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-box {
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    flex-shrink: 0;
}

.info-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.info-schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row .day {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.schedule-row .hours {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.info-address {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.link-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.link-location:hover {
    color: rgb(255, 42, 112);
}

.link-location svg {
    transition: transform 0.3s ease;
}

.link-location:hover svg {
    transform: translateX(5px);
}

/* Gallery Section */
.gallery {
    position: relative;
    padding: 5rem 0;

}

.gallery .container {
    overflow: auto;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 900;

    text-align: center;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    font-size: 1rem;

    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
}

.gallery-item:nth-child(7) {
    grid-row: span 2;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

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

.gallery-icon {
    width: 40px;
    height: 40px;
}

.gallery-link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    float: right;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.gallery-link-more:hover {
    color: rgb(255, 42, 112);
}

.gallery-link-more svg {
    transition: transform 0.3s ease;
}

.gallery-link-more:hover svg {
    transform: translateX(5px);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: rgb(255, 42, 112);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 42, 112, 0.8);
    color: #fff;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
}

/* Schedule Section */
.schedule {
    position: relative;
    padding: 5rem 0;
    background: #131318;
}

.schedule .container {
    display: grid;
    grid-template-columns: 250px 1fr 200px;
    gap: 0rem 1rem;
}

.schedule-header {
    display: contents;
}

.schedule-left {
}

.schedule-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.schedule-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.schedule-center {
}

.schedule-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #999;
}

.schedule-right {
    text-align: right;
}

.link-more-events {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* Color managed by schedule.php inline CSS */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Hover color managed by schedule.php inline CSS */

.link-more-events svg {
    transition: transform 0.3s ease;
}

.link-more-events:hover svg {
    transform: translateX(5px);
}

.event-details-link {
    /* Color managed by schedule.php inline CSS */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Hover color managed by schedule.php inline CSS */

.schedule-events {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    margin-top: 1.5rem;
}

.schedule-event {
    display: contents;
}

.event-empty-col {
    /* Colonna 1 vuota */
}

.event-main-col {
    /* Colonna 2 - contenuto evento */
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-price-col {
    /* Colonna 3 - prezzo */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-date-block {
    text-align: left;
}

.event-day-number {
    font-size: 2rem;
    font-weight: 900;
    /*color: #fff;*/
    display: block;
    line-height: 1;
}

.event-month-year {
    font-size: 0.85rem;
    /*color: #999;*/
    display: block;
    margin-top: 0.3rem;
}

.event-image-block {
    width: 150px;
    height: 110px;
    overflow: hidden;
    border-radius: 6px;
}

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

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-name {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.event-location-date {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
}

.event-location {
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.event-full-date {
    color: #999;
}

.event-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: rgb(255, 42, 112);
}

/* Footer */
.footer {
    background: #000;
    background-image: radial-gradient(50% 50% at 50% 3.4%, rgba(255, 42, 112, 0.3) 0%, rgba(171, 171, 171, 0) 100%);
    border-top: 1px solid rgb(34, 34, 34);
    padding: 3rem 0 2rem;
}

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

.footer-col {
    font-size: 0.875rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 0.25rem;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: rgb(255, 42, 112);
}

.footer-powered {
    /*color: rgba(255, 255, 255, 0.4);*/
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

.footer-powered a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-powered a:hover {
    color: rgb(255, 42, 112);
}

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

.footer-copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgb(255, 42, 112);
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 42, 112, 0.2);
    color: rgb(255, 42, 112);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Layout: Logo Left, Menu Right (default) */
    .nav-layout-logo-left-menu-right .logo {
        order: 0;
    }

    .nav-layout-logo-left-menu-right .mobile-menu-toggle {
        order: 1;
    }

    /* Mobile Layout: Menu Left, Logo Right */
    .nav-layout-menu-left-logo-right .mobile-menu-toggle {
        order: 0;
    }

    .nav-layout-menu-left-logo-right .logo {
        order: 1;
    }

    /* Mobile Layout: Logo Menu Attached - logo a sinistra */
    .nav-layout-logo-menu-attached .nav-left-group {
        order: 0;
    }

    .nav-layout-logo-menu-attached .mobile-menu-toggle {
        order: 1;
    }

    /* Mobile Layout: Centered - logo a sinistra */
    .nav-layout-centered .nav-center-group {
        order: 0;
    }

    .nav-layout-centered .mobile-menu-toggle {
        order: 1;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        padding: 2rem;
        padding-top: calc(70px + 2rem);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto auto;
        gap: 1rem;
        align-content: start;
    }

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

    .nav-menu::before {
        content: "";
        display: block;
        width: 120px;
        height: 50px;
        margin: 0 auto 1rem;
        background: url('../img/logo.png') center/contain no-repeat;
        grid-column: 1 / -1;
    }

    .nav-menu li:last-child {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        padding: 0;
        min-height: 120px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(255, 42, 112, 0.1);
        border-color: rgba(255, 42, 112, 0.3);
    }

    .btn-reserve {
        display: block;
        text-align: center;
        width: 100%;
        min-height: auto;
        padding: 1rem;
    }

    .logo img {
        height: 50px;
    }

    .header.scrolled .logo img {
        height: 35px;
    }

    /* Hero */
    .hero {
        background-position: center;
    }

    .hero-pretitle {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    /* Intro */
    .intro {
        padding: 3rem 0;
    }

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

    .intro-text {
        font-size: 1rem;
    }

    /* Events Cards */
    .events {
        padding: 3rem 0;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Info */
    .info {
        padding: 3rem 0;
    }

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

    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-box {
        padding: 1.5rem;
    }

    /* Gallery */
    .gallery {
        padding: 3rem 0;
    }

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

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

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item {
        height: 150px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        font-size: 14px;
        padding: 8px 15px;
        bottom: 20px;
    }

    /* Schedule */
    .schedule {
        padding: 3rem 0;
    }

    .schedule .container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .schedule-header {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .schedule-title {
        font-size: 1.5rem;
    }

    .schedule-description {
        font-size: 0.9rem;
    }

    .schedule-right {
        text-align: left;
    }

    .schedule-events {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
    }

    .event-main-col {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .event-price-col {
        padding: 0 0 1.5rem 0;
        border-top: none;
        justify-content: flex-start;
    }

    .event-date-block {
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
    }

    .event-day-number {
        font-size: 1.5rem;
    }

    .event-month-year {
        font-size: 0.8rem;
    }

    .event-image-block {
        width: 100%;
        height: 200px;
    }

    .event-name {
        font-size: 1.2rem;
    }

    .event-location-date {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .event-location {
        font-size: 0.7rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 3rem 0;
    }

    .newsletter-icon {
        width: 30px;
        height: 30px;
    }

    .newsletter-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .btn-newsletter {
        width: 100%;
        justify-content: center;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .checkbox-wrapper {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Login Dialog */
.login-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-dialog.active {
    display: flex;
    opacity: 1;
}

.login-dialog-content {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

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

.login-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.login-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: #fff;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 5px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.form-group input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    font-family: Figtree, "Figtree Placeholder", sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.form-group input::placeholder {
    color: #666;
}

/* Rimuovi gli stili di autocomplete del browser */
.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus,
.login-form input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    caret-color: #fff;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

.login-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 0;
    padding: 10px 12px;
    color: #ff6b6b;
    font-size: 13px;
    text-align: center;
}

.btn-login {
    padding: 12px 20px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 8px;
    font-family: Figtree, "Figtree Placeholder", sans-serif;
}

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

.btn-login:active {
    transform: translateY(0);
}

.login-link {
    color: rgb(255, 42, 112);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #ff6b9d;
}

.user-info {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .login-dialog-content {
        padding: 30px 20px;
        max-width: 95%;
    }

    .login-title {
        font-size: 24px;
    }
}

/* Configuration Menu */
.config-menu {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px;
    border-radius: 8px;
}

.config-btn {
    width: 50px;
    height: 50px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

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

.config-btn svg {
    width: 24px;
    height: 24px;
}

/* Tooltip */
.config-btn::after,
.topbar-settings-btn::after,
.hero-settings-btn::after,
.intro-settings-btn::after,
.events-settings-btn::after,
.schedule-settings-btn::after,
.newsletter-settings-btn::after,
.footer-settings-btn::after {
    content: attr(title);
    position: absolute;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
}

/* Posizione tooltip per config-btn */
.config-btn::after {
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
}

/* Posizione tooltip per topbar-settings-btn */
.topbar-settings-btn::after {
    left: 0;
    top: calc(100% + 10px);
    transform: none;
}

/* Posizione tooltip per hero-settings-btn */
.hero-settings-btn::after {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

/* Posizione tooltip per intro-settings-btn */
.intro-settings-btn::after {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

/* Posizione tooltip per events-settings-btn */
.events-settings-btn::after {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

/* Posizione tooltip per info-settings-btn */
.info-settings-btn::after {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

/* Posizione tooltip per gallery-settings-btn */
.gallery-settings-btn::after {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

/* Posizione tooltip per schedule-settings-btn */
.schedule-settings-btn::after {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

/* Posizione tooltip per newsletter-settings-btn */
.newsletter-settings-btn::after {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

/* Posizione tooltip per footer-settings-btn */
.footer-settings-btn::after {
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.config-btn:hover::after,
.topbar-settings-btn:hover::after,
.hero-settings-btn:hover::after,
.intro-settings-btn:hover::after,
.events-settings-btn:hover::after,
.info-settings-btn:hover::after,
.gallery-settings-btn:hover::after,
.schedule-settings-btn:hover::after,
.newsletter-settings-btn:hover::after,
.footer-settings-btn:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .config-menu {
        left: 10px;
    }

    .config-btn {
        width: 45px;
        height: 45px;
    }
}

/* User Profile Dialog */
.user-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-dialog.active {
    display: flex;
    opacity: 1;
}

.user-dialog-content {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    width: 90vw;
    height: 90vh;
    position: relative;
    animation: slideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Dialog Header */
.user-dialog-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
}

.user-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.user-close:hover {
    transform: translateY(-50%) rotate(90deg);
}

.user-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    text-align: left;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Dialog Body */
.user-dialog-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: rgba(129, 74, 200, 0.5) rgba(255, 255, 255, 0.1);
}

.user-dialog-body::-webkit-scrollbar {
    width: 6px;
}

.user-dialog-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.user-dialog-body::-webkit-scrollbar-thumb {
    background: rgba(129, 74, 200, 0.5);
    border-radius: 0;
}

.user-dialog-body::-webkit-scrollbar-thumb:hover {
    background: rgba(129, 74, 200, 0.8);
}

/* Dialog Footer */
.user-dialog-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    background: #000;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Form */
.user-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-form .form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
}

.user-form .form-group input[type="text"],
.user-form .form-group input[type="email"],
.user-form .form-group input[type="tel"],
.user-form .form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    font-family: Figtree, "Figtree Placeholder", sans-serif;
    transition: all 0.3s ease;
}

.user-form .form-group input:focus {
    outline: none;
    border-color: #814ac8;
    background: rgba(255, 255, 255, 0.05);
}

.user-form .form-group small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

.form-row.cols-1 {
    grid-template-columns: 1fr;
}

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

.form-row.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.user-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 0;
    padding: 10px 12px;
    color: #ff6b6b;
    font-size: 13px;
    text-align: center;
}

.user-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 0;
    padding: 10px 12px;
    color: #6bff6b;
    font-size: 13px;
    text-align: center;
}

.btn-user {
    padding: 12px 20px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: Figtree, "Figtree Placeholder", sans-serif;
}

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

.btn-user:active {
    transform: translateY(0);
}

.btn-user:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1200px) {
    .form-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .user-dialog-content {
        width: 95vw;
        height: 95vh;
    }

    .user-dialog-header {
        padding: 15px 20px;
    }

    .user-close {
        right: 15px;
    }

    .user-title {
        font-size: 15px;
    }

    .user-dialog-body {
        padding: 20px;
    }

    .user-dialog-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Site Configuration Dialog */
.config-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.config-dialog.active {
    display: flex;
    opacity: 1;
}

.config-dialog-content {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    width: 90vw;
    height: 90vh;
    position: relative;
    animation: slideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Dialog Header */
.config-dialog-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
}

/* Dialog Body (scrollable) */
.config-dialog-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: rgba(129, 74, 200, 0.5) rgba(255, 255, 255, 0.1);
}

.config-dialog-body::-webkit-scrollbar {
    width: 6px;
}

.config-dialog-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.config-dialog-body::-webkit-scrollbar-thumb {
    background: rgba(129, 74, 200, 0.5);
    border-radius: 0;
}

.config-dialog-body::-webkit-scrollbar-thumb:hover {
    background: rgba(129, 74, 200, 0.8);
}

/* Dialog Footer */
.config-dialog-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    background: #000;
    min-height: 80px;
}

.config-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.config-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) rotate(90deg);
}

.config-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    text-align: left;
    color: #fff;
    letter-spacing: 0.5px;
}

.config-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.config-tabs {
    display: flex;
    gap: 10px;
    padding: 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    scrollbar-width: thin;
    flex-shrink: 0;
}

.config-dialog .config-tabs .tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.config-dialog .config-tabs .tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.config-dialog .config-tabs .tab-btn.active {
    color: #814ac8;
    border-bottom-color: #814ac8;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group select,
.form-group textarea {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    font-family: Figtree, "Figtree Placeholder", sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group select option {
    background: #000;
    color: #fff;
}

.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.form-group small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin-top: -10px;
}

/* Logo Upload Area */
.logo-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.logo-upload-area:hover {
    border-color: rgba(255, 42, 112, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.logo-upload-area.dragover {
    border-color: rgb(255, 42, 112);
    background: rgba(255, 42, 112, 0.1);
}

.logo-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-upload-placeholder svg {
    color: rgba(255, 255, 255, 0.5);
}

.logo-upload-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
}

.logo-upload-placeholder small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.logo-preview {
    position: relative;
    display: inline-block;
}

.logo-preview img {
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
}

.logo-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #814ac8;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-remove:hover {
    background: #9b66d6;
    transform: rotate(90deg);
}

/* Quill Editor Customization */
.ql-toolbar {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    border-bottom: none !important;
}

.ql-container {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-family: Figtree, "Figtree Placeholder", sans-serif !important;
    min-height: 200px;
}

.ql-editor {
    color: #fff !important;
    min-height: 200px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 42, 112, 0.5) rgba(255, 255, 255, 0.1);
}

.ql-editor::-webkit-scrollbar {
    width: 6px;
}

.ql-editor::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.ql-editor::-webkit-scrollbar-thumb {
    background: rgba(255, 42, 112, 0.5);
    border-radius: 0;
}

.ql-editor::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 42, 112, 0.8);
}

.ql-editor.ql-blank::before {
    color: #666 !important;
}

.ql-stroke {
    stroke: #fff !important;
}

.ql-fill {
    fill: #fff !important;
}

.ql-picker-label {
    color: #fff !important;
}

.ql-toolbar button:hover,
.ql-toolbar button.ql-active {
    color: rgb(255, 42, 112) !important;
}

.ql-toolbar button:hover .ql-stroke,
.ql-toolbar button.ql-active .ql-stroke {
    stroke: rgb(255, 42, 112) !important;
}

.ql-toolbar button:hover .ql-fill,
.ql-toolbar button.ql-active .ql-fill {
    fill: rgb(255, 42, 112) !important;
}

.config-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 0;
    padding: 10px 12px;
    color: #ff6b6b;
    font-size: 13px;
    text-align: center;
}

.config-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 0;
    padding: 10px 12px;
    color: #6bff6b;
    font-size: 13px;
    text-align: center;
}

/* Action Buttons */
.config-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.btn-config-save {
    padding: 8px 16px;
    background: #814ac8;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-config-save:hover {
    background: #9b66d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(129, 74, 200, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .config-dialog-content {
        width: 95vw;
        height: 95vh;
    }

    .config-dialog-header {
        padding: 15px 20px;
    }

    .config-title {
        font-size: 14px;
    }

    .config-close {
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        font-size: 22px;
    }

    .config-close:hover {
        transform: translateY(-50%) rotate(90deg);
    }

    .config-tabs {
        gap: 5px;
        padding: 0 20px;
    }

    .config-dialog .config-tabs .tab-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .config-dialog-body {
        padding: 20px;
    }

    .config-dialog-footer {
        padding: 15px 20px;
    }

    .config-actions {
        flex-direction: column;
    }

    .btn-config-save {
        width: 100%;
    }
}

/* Range Input with Number */
.range-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.range-input {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff2a70;
    cursor: pointer;
    transition: all 0.3s ease;
}

.range-input::-webkit-slider-thumb:hover {
    background: #ff4d8a;
    transform: scale(1.1);
}

.range-input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff2a70;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.range-input::-moz-range-thumb:hover {
    background: #ff4d8a;
    transform: scale(1.1);
}

.range-number-input {
    width: 60px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: #fff;
    font-size: 13px;
    text-align: center;
}

.range-number-input:focus {
    outline: none;
    border-color: rgba(255, 42, 112, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

/* Policy Dialog Preview */
.policy-config-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.policy-config-fields {
    flex: 1;
}

.policy-preview-container {
    flex-shrink: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-preview-label {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.policy-preview-mini {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background-image: url('../img/show1.jpg');
    background-size: cover;
    background-position: center;
}

.policy-preview-mini-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-preview-mini-content {
    width: 70%;
    height: 70%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    padding: 10px;
    text-align: center;
    font-weight: 700;
}

/* Pages Tab Styles */
.pages-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-add-page {
    padding: 8px 16px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    align-self: flex-start;
}

.btn-add-page:hover {
    background: rgba(129, 74, 200, 0.1);
    border-color: #814ac8;
}

.pages-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.pages-loading {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    font-size: 14px;
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all 0.3s ease;
}

.page-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-item.is-home {
    border-color: rgba(129, 74, 200, 0.3);
    background: rgba(129, 74, 200, 0.05);
}

.page-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.page-title-text {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-home-badge {
    display: inline-block;
    background: #814ac8;
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.page-inactive-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.page-slug {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
}

.page-actions {
    display: flex;
    gap: 8px;
}

.btn-page-edit,
.btn-page-delete {
    padding: 8px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-page-edit:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-page-delete:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

.page-form-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-form-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.page-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-page-save,
.btn-page-cancel {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: Figtree, "Figtree Placeholder", sans-serif;
}

.btn-page-save {
    background: transparent;
    color: #fff;
}

.btn-page-save:hover {
    background: rgba(255, 42, 112, 0.1);
    border-color: rgb(255, 42, 112);
}

.btn-page-cancel {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}

.btn-page-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group-checkbox .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 8px 0;
}

.form-group-checkbox .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ff2a70;
}

.form-group-checkbox .checkbox-label span {
    font-size: 14px;
    font-weight: 500;
}

/* Page Form Tabs */
.page-form-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    margin-top: 20px;
}

.page-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.page-tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.page-tab-btn.active {
    color: #814ac8;
    border-bottom-color: #814ac8;
}

.page-tab-content {
    display: none;
}

.page-tab-content.active {
    display: block;
}

/* Sections Groups */
.sections-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sections-group:last-child {
    border-bottom: none;
}

.sections-group-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.sections-group-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

/* Section Item (Fixed sections) */
.section-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 8px;
}

.section-item.section-fixed {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.section-icon {
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.section-info {
    flex: 1;
}

.section-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.section-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.section-status {
    display: flex;
    align-items: center;
}

.badge-fixed {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Core Options (Radio buttons styled as cards) */
.core-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.core-option {
    cursor: pointer;
}

.core-option input[type="radio"] {
    display: none;
}

.core-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.core-option:hover .core-option-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.core-option input[type="radio"]:checked + .core-option-content {
    background: rgba(255, 42, 112, 0.1);
    border-color: rgb(255, 42, 112);
}

.core-option input[type="radio"]:disabled + .core-option-content {
    opacity: 0.5;
    cursor: not-allowed;
}

.core-option-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.core-option input[type="radio"]:checked + .core-option-content .core-option-icon {
    background: rgba(255, 42, 112, 0.2);
}

.core-option-text {
    flex: 1;
}

.core-option-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.core-option-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Optional Sections (Checkboxes styled as cards) */
.optional-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.section-checkbox {
    cursor: pointer;
}

.section-checkbox input[type="checkbox"] {
    display: none;
}

.section-checkbox-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.section-checkbox:hover .section-checkbox-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-checkbox input[type="checkbox"]:checked + .section-checkbox-content {
    background: rgba(129, 74, 200, 0.1);
    border-color: #814ac8;
}

.section-checkbox-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.section-checkbox input[type="checkbox"]:checked + .section-checkbox-content .section-checkbox-icon {
    background: rgba(129, 74, 200, 0.2);
}

.section-checkbox-text {
    flex: 1;
}

.section-checkbox-name {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px;
}

.section-checkbox-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .config-dialog-content {
        padding: 25px 20px;
        max-width: 95%;
    }

    .config-title {
        font-size: 20px;
    }

    .config-tabs {
        overflow-x: auto;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 12px;
    }

    .page-form-tabs {
        overflow-x: auto;
    }

    .page-tab-btn {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 12px;
    }

    .core-options,
    .optional-sections {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SECTION ORDER LIST (Drag & Drop)
   ======================================== */
.section-order-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: move;
    transition: all 0.2s ease;
}

.section-order-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-order-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.section-order-item.drag-over {
    border-color: #ff2a70;
    background: rgba(255, 42, 112, 0.1);
}

.section-drag-handle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    cursor: grab;
}

.section-drag-handle:active {
    cursor: grabbing;
}

.section-order-item .section-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.section-order-item .section-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.section-order-item.inactive .section-status {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
}
