:root {
    --primary: #004d40;
    --primary-light: #39796b;
    --accent: #2e7d32;
    --dark: #102027;
    --light: #f5f5f5;
    --text: #37474f;
    --white: #ffffff;
    --container-max: 1200px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

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

/* Typography & General */
h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.accent {
    color: var(--accent);
}

.section-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bg-dark .section-tag {
    color: var(--accent);
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.8rem;
    color: var(--white);
}

.main-header.scrolled .logo {
    color: var(--primary);
}

.logo span {
    font-weight: 400;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    opacity: 0.7;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.main-header.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a:hover,
.main-header.scrolled .nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
}

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

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.main-header.scrolled .menu-toggle .bar {
    background-color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/alcantara-horse-riding-f2.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
}

.btn-note {
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Layout Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

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

.grid-2-rev {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.grid-2-rev .activities-content {
    order: 2;
}

/* About Section */
.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Activities Section */
.activity-list {
    list-style: none;
}

.activity-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.activity-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
}

.activities-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

/* Restaurant Section */
.restaurant {
    background-color: var(--white);
}

.restaurant-logo-container {
    margin-bottom: 2rem;
    padding: 3rem;
    background: var(--light);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.restaurant-logo {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

.restaurant-gallery-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.restaurant-gallery-mini img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.restaurant-gallery-mini img:hover {
    transform: translateY(-5px);
}

.restaurant-features {
    margin: 2.5rem 0;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 2rem;
    background: var(--light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.feature-item p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Horse Riding Section */
.horse-riding {
    background-color: var(--light);
}

.horse-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.horse-main-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.horse-sub-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.horse-sub-imgs img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.horse-btns {
    margin-top: 2.5rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
}

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

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

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Info Section */
.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-details p {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.info-details strong {
    color: var(--accent);
    margin-bottom: 0.3rem;
}

/* Scroll Indicators */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    h2 {
        font-size: 2.8rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .grid-2,
    .grid-2-rev,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .grid-2-rev .activities-content {
        order: 0;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: var(--text) !important;
        font-size: 1.3rem;
    }

    .nav-links a:hover {
        color: var(--primary) !important;
    }

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

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

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

    .menu-toggle.active .bar {
        background-color: var(--primary);
    }

    .section-padding {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .restaurant-logo-container {
        padding: 1rem;
    }

    .restaurant-logo {
        max-height: 180px;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .about-image img,
    .activities-image img {
        height: 350px;
    }

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

    .restaurant-gallery-mini img {
        height: 100px;
    }
}

.tripadvisor-widgets {
    margin-top: 1.5rem;
}

.tripadvisor-widgets .TA_rated {
    text-align: left;
}

.sm-footer {
    background-color: #FFFFFF;
    padding-top: 5rem;
    color: #525252;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #E5E7EB;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr;
    gap: 4fr;
    padding-bottom: 5rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #737373;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #525252;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
}

.footer-badge-logo {
    height: 80px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-badge-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #737373;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a i {
    font-size: 0.7rem;
    color: #D4D4D4;
}

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

.footer-links .partner-link {
    color: var(--primary);
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item p {
    margin: 0;
    color: #737373;
}

.contact-item a {
    color: #525252;
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom {
    background-color: #FAFAFA;
    padding: 2rem 0;
    border-top: 1px solid #E5E7EB;
}

.bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.bottom-logos {
    display: flex;
    gap: 2rem;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #A3A3A3;
}

.mini-logo {
    font-weight: 700;
    color: #525252;
}

.copyright {
    font-size: 0.9rem;
    color: #737373;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    font-size: 0.85rem;
    color: #A3A3A3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #525252;
}

/* Footer Responsive Styles */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .sm-footer {
        padding-top: 10rem;
    }

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

/* ===== Menu Page ===== */
.menu-hero {
    height: 45vh;
    min-height: 350px;
    padding-top: 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/ristorante-le-gurne-dell-alcantara-1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.menu-hero-logo {
    max-height: 250px;
    display: block;
    margin: 0 auto 2rem;
}

.menu-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.menu-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.menu-category-header {
    text-align: center;
    margin-bottom: 4rem;
}

.menu-category-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.menu-category-header h2 {
    margin-bottom: 0;
}

.menu-turistico-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 850px;
    margin: 0 auto;
}

.menu-turistico-card {
    background: var(--white);
    border: 2px solid var(--light);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.menu-turistico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.menu-turistico-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.menu-turistico-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.menu-turistico-price {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.menu-turistico-label {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.6;
    display: block;
    margin-bottom: 1.5rem;
}

.menu-turistico-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 0 auto 1.5rem;
    border-radius: 3px;
}

.menu-turistico-card ul {
    list-style: none;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
}

.menu-turistico-card ul li {
    padding: 0.7rem 0;
    font-size: 1.05rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--light);
}

.menu-turistico-card ul li:last-child {
    border-bottom: none;
}

.menu-turistico-card ul li i {
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .menu-turistico-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

.menu-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.bg-dark .menu-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.menu-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.bg-dark .menu-item h3 {
    color: var(--white);
}

.menu-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.menu-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    opacity: 0.75;
}

.menu-note {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    opacity: 0.7;
}

.menu-seasonal-note {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .menu-hero h1 {
        font-size: 2.5rem;
    }

    .menu-hero p {
        font-size: 1.1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}