/* ================== BASE ================== */
:root {
    --marmaris-red: #C92127;
    --marmaris-red-dark: #a0181e;
    --marmaris-cream: #FDE3B5;
    --marmaris-green: #179853;
    --marmaris-anthracite: #222222;
    --marmaris-light: #F4F4F4;
    --marmaris-gold: #D4A96D;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--marmaris-anthracite);
    background-color: #ffffff;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--marmaris-anthracite);
}

a {
    color: var(--marmaris-red);
    text-decoration: none;
}

a:hover {
    color: var(--marmaris-red-dark);
    text-decoration: none;
}

.section-padding {
    padding: 80px 0;
}

.bg-light-subtle {
    background-color: #faf7f2;
}

/* ================== NAVBAR ================== */
.bg-marmaris {
    background: linear-gradient(90deg, #2b1613 0%, #3b1713 45%, #2b1613 100%);
}

.navbar .nav-link {
    color: #f4f4f4;
    font-weight: 500;
    padding-inline: 0.9rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--marmaris-cream);
}

.logo-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

/* ================== HERO ================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background-image: url("../img/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-section .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.85));
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
}

.hero-title .text-highlight {
    color: var(--marmaris-cream);
}

.hero-subtitle {
    max-width: 550px;
}

.hero-highlights span {
    font-size: 0.95rem;
}

.btn-cta {
    background-color: var(--marmaris-red);
    border-color: var(--marmaris-red);
    color: #fff;
    border-radius: 999px;
    padding-inline: 1.4rem;
}

.btn-cta:hover {
    background-color: var(--marmaris-red-dark);
    border-color: var(--marmaris-red-dark);
    color: #fff;
}

.btn-outline-marmaris {
    border-radius: 999px;
    border-color: var(--marmaris-red);
    color: var(--marmaris-red);
}

.btn-outline-marmaris:hover {
    background-color: var(--marmaris-red);
    color: #fff;
}

/* hero right gallery */
.hero-gallery {
    position: relative;
    height: 340px;
}

.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-main-img {
    position: absolute;
    inset: 10% 10% 10% 20%;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hero-secondary {
    position: absolute;
    width: 38%;
    height: 35%;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-sec-1 {
    top: 0;
    left: 0;
}

.hero-sec-2 {
    bottom: 0;
    right: 0;
}

.hero-tag {
    position: absolute;
    bottom: 14%;
    left: 5%;
    background: rgba(0, 0, 0, 0.8);
    color: var(--marmaris-cream);
    padding: 10px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.8rem;
}

/* ================== SECTIONS COMMUNES ================== */
.section-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: rgba(201, 33, 39, 0.08);
    color: var(--marmaris-red-dark);
    margin-bottom: 8px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    max-width: 640px;
    margin: 0 auto;
    color: #555;
}

/* ================== ABOUT ================== */
.about-images {
    position: relative;
    height: 360px;
}

.about-main {
    position: absolute;
    inset: 10% 15% 10% 0;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.about-secondary {
    position: absolute;
    width: 42%;
    height: 48%;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    bottom: 0;
    right: 5%;
}

.about-overlay-card {
    position: absolute;
    top: 10%;
    right: 5%;
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 10px 14px;
}

.about-overlay-card h4 {
    color: var(--marmaris-red);
}

.about-feature {
    display: flex;
    gap: 10px;
}

.about-feature i {
    font-size: 1.6rem;
    color: var(--marmaris-red);
}

/* ================== SPECIALITES ================== */
.special-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.special-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.special-img {
    height: 170px;
}

.special-card .card-body {
    padding: 16px 18px;
}

.special-card .card-footer {
    background-color: #fafafa;
    border-top: none;
    padding: 10px 18px;
}

.bg-marmaris-light {
    background-color: rgba(201, 33, 39, 0.09);
    color: var(--marmaris-red-dark);
}

/* ================== MENU ================== */
.nav-pills .nav-link {
    border-radius: 999px;
    padding-inline: 1.2rem;
}

.nav-pills .nav-link.active {
    background-color: var(--marmaris-red);
}

.menu-item-card {
    padding: 16px 18px;
    background-color: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.menu-item-header h5 {
    font-size: 1.05rem;
}

.menu-price {
    font-weight: 600;
    color: var(--marmaris-red);
}

.menu-desc {
    font-size: 0.9rem;
    margin-top: 6px;
    margin-bottom: 8px;
}

.menu-tags .badge {
    font-size: 0.7rem;
    margin-right: 4px;
}

.bg-outline-marmaris {
    border: 1px solid var(--marmaris-red);
    color: var(--marmaris-red);
    background-color: transparent;
}

.bg-outline-neutral {
    border: 1px solid #ccc;
    color: #555;
    background-color: transparent;
}

.bg-outline-gold {
    border: 1px solid var(--marmaris-gold);
    color: #8c6c33;
    background-color: transparent;
}

.highlight-card {
    border: 1px solid rgba(201, 33, 39, 0.35);
}

/* ================== GRILLADES ================== */
.bg-grill {
    position: relative;
    background-image: url("../img/grill-bg.jpg");
    background-size: cover;
    background-position: center;
}

.bg-grill .overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,0.86), rgba(0,0,0,0.7));
}

.grill-list li {
    margin-bottom: 6px;
}

.grill-list i {
    color: var(--marmaris-cream);
    margin-right: 6px;
}

.grill-gallery {
    position: relative;
    height: 320px;
}

.grill-main {
    position: absolute;
    inset: 5% 8% 10% 10%;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(253, 227, 181, 0.6);
}

.grill-thumb {
    position: absolute;
    width: 38%;
    height: 34%;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.grill-thumb:first-of-type {
    top: 0;
    right: 0;
}

.grill-thumb:last-of-type {
    bottom: 0;
    left: 0;
}

/* ================== EVENEMENTS ================== */
.evenements-gallery {
    position: relative;
    height: 320px;
}

.evenements-main {
    position: absolute;
    inset: 10% 8% 10% 0;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.evenements-alt {
    position: absolute;
    width: 40%;
    height: 40%;
    bottom: 0;
    right: 8%;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.evenements-badge {
    position: absolute;
    top: 8%;
    right: 8%;
    background-color: rgba(255, 255, 255, 0.96);
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.85rem;
    text-align: center;
}

/* ================== GALERIE ================== */
.gallery-grid .gallery-item {
    cursor: pointer;
}

.gallery-thumb {
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.22);
}

/* filtre boutons */
.gallery-filter.active {
    background-color: var(--marmaris-red);
    color: #fff;
}

/* lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.82);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 12px;
}

.lightbox-caption {
    margin-top: 8px;
    text-align: center;
    color: #f4f4f4;
    font-size: 0.9rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 1.5rem;
}

/* ================== COMMANDE ================== */
.commande-card {
    background-color: #fff;
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    text-align: center;
}

.commande-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--marmaris-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.7rem;
    color: var(--marmaris-red-dark);
}

/* ================== CONTACT ================== */
.contact-box {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px 20px 22px;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.contact-box a {
    color: var(--marmaris-red);
}

.map-wrapper {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

.map-wrapper iframe {
    width: 100%;
    height: 320px;
}

/* messages formulaire */
.form-message {
    font-size: 0.9rem;
}

/* ================== FOOTER ================== */
.footer a {
    color: #ddd;
}

.footer a:hover {
    color: #fff;
}

.logo-footer {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

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

/* ================== BACK TO TOP ================== */
.back-to-top {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 1040;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }

    .hero-gallery {
        margin-top: 24px;
    }

    .about-images,
    .grill-gallery,
    .evenements-gallery {
        margin-bottom: 24px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .section-padding {
        padding: 64px 0;
    }

    .navbar .navbar-brand span.fw-bold {
        font-size: 1rem;
    }
}
