:root {
    --bg-dark: #1a1a1a;
    --bg-darker: #121212;
    --bg-sea-dark: #151f28;
    --bg-sea-darker: #0d1319;
    --bg-sea-deep: #080c10;
    --bg-content-sea-dark: #1e2b38;
    --bg-content-sea-darker: #16202a;
    --bg-content-sea-deep: #101820;
    --text-light: #f0f0f0;
    --text-gray: #b0b0b0;
    --accent: #d4af37;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}

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

body {
    background: linear-gradient(to bottom, var(--bg-sea-dark), var(--bg-sea-deep));
    background-attachment: fixed;
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

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

.navbar {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

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

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-contact {
    background-color: var(--accent);
    color: rgb(31, 30, 30);
    padding: 8px 20px;
    border-radius: 2px;
    font-weight: bold;
}

.btn-contact:hover {
    background-color: #233a85;
}

.burger-menu {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/background_hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.section-dark {
    background-color: transparent;
    padding: 80px 0;
}

.section-darker {
    background-color: transparent;
    padding: 40px 0;
}

.section-sea-dark {
    background-color: transparent;
    padding: 80px 0;
}

.section-sea-darker {
    background-color: transparent;
    padding: 80px 0;
}

.section-sea-deep {
    background-color: transparent;
    padding: 80px 0;
}

/* Scoped Content Backgrounds */
.section-sea-darker .stat-box {
    background-color: var(--bg-content-sea-darker);
}

.section-sea-dark .news-card {
    background-color: var(--bg-content-sea-dark);
}

.section-sea-deep .food-card {
    background-color: var(--bg-content-sea-deep);
}

.section-sea-deep .beer-card {
    background-color: var(--accent);
}

.section-sea-dark .accordion-item {
    background-color: var(--bg-content-sea-dark);
}

.section-sea-dark .accordion-header {
    background-color: var(--bg-sea-dark);
    /* Slightly darker than item content */
}

.section-sea-dark .item-icon {
    background-color: var(--bg-sea-dark);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.center-title {
    text-align: center;
    margin-bottom: 50px;
}

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

.grid-concept {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: #252525;
    padding: 20px;
    border-left: 3px solid var(--accent);
    text-align: center;
}

.stat-box h3 {
    font-size: 4rem;
    color: white;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-box p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    text-transform: uppercase;
}

.concept-images {
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}

.carousel-slide:hover {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(26, 26, 26, 0.7);
    color: var(--accent);
    border: 1px solid var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.carousel-btn:hover {
    background-color: var(--accent);
    color: #1a1a1a;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.btn-prev {
    left: 0;
}

.btn-next {
    right: 0;
}

.accordion-item {
    border: 1px solid #333;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    background: #1a1a1a;
}

.accordion-header {
    padding: 20px;
    background: #222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.accordion-header:hover {
    background: #2a2a2a;
}

.accordion-header h3 {
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-header i {
    color: var(--accent);
}

.toggle-icon {
    font-size: 0.8rem;
    color: var(--text-gray);
    transition: transform 0.3s;
}

.accordion-item.active .toggle-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.menu-list {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.item-icon {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 5px;
    background: #2a2a2a;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.item-details {
    width: 100%;
}

.item-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.item-name {
    font-weight: bold;
    color: white;
}

.item-price {
    color: var(--accent);
    font-weight: bold;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background-color: #252525;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--accent);
}

.news-img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 10px;
}

.news-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

#footer {
    padding-top: 40px;
}

.grid-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    padding: 5px 0;
}

.hours-row .day {
    color: white;
}

.hours-row .hours {
    color: var(--text-gray);
}

.copyright {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #1a1a1a;
    padding: 40px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

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

.reservation-text {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.modal-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
}

.icon-gold {
    color: var(--accent);
    font-size: 1.2rem;
}

.phone-link {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.phone-link:hover {
    color: var(--accent);
}

.btn-modal-map {
    display: inline-block;
    background-color: var(--accent);
    color: #1a1a1a;
    padding: 10px 25px;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 10px;
}

.btn-modal-map:hover {
    background-color: white;
}

.news-modal-content {
    padding: 0;
    overflow: hidden;
    max-width: 800px;
    width: 95%;
    text-align: left;
}

.news-modal-img-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#modal-news-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.news-modal-body {
    padding: 30px;
}

/* --- STYLE CAPTION CARROUSEL --- */
.modal-caption {
    padding: 20px;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    font-style: italic;
    background: #1a1a1a;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 20;
    transition: 0.3s;
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

.modal-nav-btn:hover {
    color: var(--accent);
    background: rgba(0, 0, 0, 0.8);
}

#beer-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s;
}

#beer-container.filling {
    opacity: 0.7;
    pointer-events: auto;
}

.beer-liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    background-image: url('../img/beer-texture.png');
    background-repeat: repeat;
    transition: transform 4s ease-in-out;
}

#beer-container.filling .beer-liquid {
    transform: translateY(0%);
}

.grid-restauration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.food-card {
    background: #252525;
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.food-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.food-header h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.food-price {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: bold;
    font-family: var(--font-heading);
}

.food-courses {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.food-course {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-label {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: bold;
}

.course-name {
    color: white;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    margin: 0;
}

.food-disclaimer {
    margin-top: 30px;
    font-size: 0.8rem;
    color: var(--text-gray);
    font-style: italic;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.beer-card {
    background: var(--accent);
    color: #1a1a1a;
    border: 1px solid var(--accent);
}

.beer-card h3,
.beer-card .course-name,
.beer-card .course-label {
    color: #1a1a1a;
}

.beer-card .food-header {
    border-bottom: 1px solid #1a1a1a;
}

.beer-price-tag {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: bold;
    font-family: var(--font-heading);
    border: 2px solid #1a1a1a;
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-block;
}

/* Beer Moment Specific */
.beer-card {
    background: var(--accent);
    color: #1a1a1a;
    border: none;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.beer-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.beer-suggestion-label {
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.beer-visual-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: #fff;
    overflow: hidden;
}

.beer-moment-img-wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
}

.beer-moment-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.beer-moment-img-wrapper img:hover {
    transform: scale(1.08);
}

.beer-price-badge {
    position: absolute;
    bottom: -25px;
    right: 20px;
    background: #1a1a1a;
    color: var(--accent);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--accent);
    z-index: 10;
    transform: rotate(-10deg);
}

.beer-details {
    padding: 40px 30px 30px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.beer-name-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #1a1a1a;
}

.beer-meta-info {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.beer-style-badge,
.beer-degree-badge {
    background: #1a1a1a;
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beer-description-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    font-style: italic;
    max-width: 90%;
    margin: 0 auto;
}

/* --- PRODUCER BANNER --- */
.producer-banner {
    margin-top: 60px;
    text-align: center;
    width: 100%;
}

.producer-banner img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 15px;
    background-color: #dddddd;
    transition: 0.3s;
}

.producer-banner img:hover {
    opacity: 1;
    border-color: var(--accent);
}

.producer-banner p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.producer-banner strong {
    color: white;
}

#site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#site-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-top: 5px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-back-to-top {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--accent);
    color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    background-color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {

    .grid-concept,
    .menu-list,
    .grid-footer {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .hero h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .carousel-slide {
        height: 300px;
    }

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

    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.98);
        border-bottom: 1px solid #333;
        padding: 20px 0;
        gap: 20px;
        z-index: 999;
    }
}

/* Lighthouse Effect */
#lighthouse-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9990;
    opacity: 0;
    transition: opacity 1s ease;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
}

#lighthouse-beam {
    position: fixed;
    top: 10%;
    left: 45%;
    width: 200vmax;
    height: 200vmax;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(255, 255, 200, 0.1) 10deg,
            rgba(255, 255, 200, 0.5) 20deg,
            rgba(255, 255, 200, 0.1) 30deg,
            transparent 40deg);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9991;
    opacity: 0;
    transition: opacity 1s ease;
    /* Increased to 1s to match layer */
    animation: lighthouseSweep 4s linear infinite;
}

.lighthouse-active #lighthouse-layer {
    opacity: 1;
}

.lighthouse-active #lighthouse-beam {
    opacity: 1;
}

@keyframes lighthouseSweep {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}