/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    /* User Palette Definition */
    --color-deep-blue: #0C2A66;
    /* Background Main */
    --color-medium-blue: #2E5BAA;
    /* Sections, Secondary Buttons */
    --color-light-blue: #7DA4D6;
    /* Details, Hover */
    --color-lavender: #A68CB5;
    /* Soft Accents */
    --color-burnt-orange: #C65A30;
    /* CTA */
    --color-warm-beige: #E9D79B;
    /* Soft Backgrounds */
    --color-black-gray: #1E1E1E;
    /* Text */
    --color-soft-white: #F2F2F2;
    /* Clean Backgrounds/Text */

    /* Semantic Mapping */
    --primary-color: var(--color-burnt-orange);
    --primary-dark: var(--color-medium-blue);
    /* Using Medium Blue for interaction states */
    --secondary-color: var(--color-deep-blue);

    --accent-color: var(--color-lavender);

    --bg-dark: var(--color-deep-blue);
    --bg-light: var(--color-soft-white);
    --bg-alt: var(--color-warm-beige);

    --text-dark: var(--color-black-gray);
    --text-light: var(--color-soft-white);
    --text-gray: var(--color-medium-blue);
    /* Using Medium Blue for better contrast than Light Blue */

    --border-light: rgba(242, 242, 242, 0.2);
    --border-dark: rgba(30, 30, 30, 0.1);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --container-width: 1400px;
    --section-padding: 120px;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 8px;
    display: block;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.loader-line {
    width: 0;
    height: 2px;
    background: var(--primary-color);
    margin: 0 auto;
    animation: lineGrow 1.5s ease forwards 0.5s;
}

@keyframes lineGrow {
    to {
        width: 100px;
    }
}

/* ============================================
   TYPOGRAPHY & UTILITIES
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

.btn {
    display: inline-block;
    padding: 18px 45px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--text-light);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover::before {
    width: 100%;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3.5rem;
    color: var(--text-dark);
}

.section-divider {
    width: 1px;
    height: 60px;
    background: var(--primary-color);
    margin: 30px auto 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 0;
    z-index: 1000;
    transition: all 0.4s ease;
    transition: all 0.4s ease;
    /* mix-blend-mode: difference; REMOVED */
    color: #fff;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    /* mix-blend-mode: normal; REMOVED */
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
    /* filter: invert(1); REMOVED */
    /* Make logo white for dark bg */
}

.navbar.scrolled .logo-img {
    filter: none;
    /* Restore original gold/black if needed, or keep white */
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 5px;
    font-weight: 700;
    color: #fff;
    /* Always white due to blend mode or dark bg */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    border: 1px solid #fff;
    padding: 10px 25px !important;
}

.nav-cta:hover {
    background: #fff;
    color: #000 !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 30px;
    height: 2px;
    background: #fff;
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--secondary-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/platos_juntos.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.85;
    transform: scale(1.1);
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 6px;
    color: var(--primary-color);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.hero-title {
    font-size: 7rem;
    font-weight: 700;
    letter-spacing: 15px;
    margin-bottom: 30px;
    line-height: 1;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-transform: none;
}

.hero-contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.3s forwards;
    flex-wrap: wrap;
}

.hero-social-link,
.hero-contact-link,
.separator {
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-social-link:hover,
.hero-contact-link:hover {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.separator {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.4s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
}

.hero-scroll span {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-icon {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--primary-color);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }

}

/* ============================================
   INFO SECTION (New)
   ============================================ */
.info-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-lead {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.info-block h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.info-block p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 5px;
}

.info-footer {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================
   HOURS BANNER
   ============================================ */
.hours-banner {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

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

.hours-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.hours-grid {
    display: flex;
    gap: 60px;
}

.hours-item {
    display: flex;
    flex-direction: column;
}

.hours-item .day {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--text-gray);
}

.hours-item .time {
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

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

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #444;
}

.about-intro {
    font-size: 1.3rem !important;
    color: var(--text-dark) !important;
    font-weight: 400;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    z-index: 0;
    transition: var(--transition-smooth);
}

.about-image:hover::before {
    transform: translate(10px, 10px);
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu {
    padding: var(--section-padding) 0;
    background: #fff;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
}

.menu-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.menu-btn.active,
.menu-btn:hover {
    color: var(--text-dark);
}

.menu-btn.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.menu-content {
    max-width: 1000px;
    margin: 0 auto;
}

.menu-category {
    display: none;
    animation: fadeIn 0.6s ease;
}

.menu-category.active {
    display: block;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.menu-item-header {
    flex: 1;
}

.menu-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.menu-item-description {
    font-size: 1rem;
    color: var(--text-gray);
    font-style: italic;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-left: 40px;
}

.wine-section-title {
    font-size: 2rem;
    text-align: center;
    margin: 60px 0 40px;
    color: var(--text-dark);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: 0;
    background: var(--secondary-color);
}

.gallery .container {
    max-width: 100%;
    padding: 0;
}

.gallery .section-header {
    padding-top: 100px;
    margin-bottom: 60px;
}

.gallery .section-title {
    color: var(--text-light);
}

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

.gallery-item {
    height: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

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

/* ============================================
   COOKING CLASSES
   ============================================ */
.cooking-classes {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.classes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.classes-intro {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.classes-features {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.classes-image {
    height: 600px;
    background: url('../images/cours_cuisine_new.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 200px 200px 0 0;
}

.classes-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    line-height: 1.5;
}

/* ============================================
   PRIVATIZATION
   ============================================ */
.privatization {
    padding: var(--section-padding) 0;
    background: url('../images/vista_salon.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: var(--text-light);
    text-align: center;
}

.privatization-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.privatization-content {
    position: relative;
    z-index: 2;
}

.privatization .section-title {
    color: var(--text-light);
}

.priv-info {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.privatization-intro {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.privatization-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.priv-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.priv-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.priv-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ============================================
   RESERVATION
   ============================================ */
.reservation {
    padding: var(--section-padding) 0;
    background: #fff;
}

.reservation-content {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

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

.reservation-success {
    display: none;
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
}

.reservation-success.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ============================================
   CONTACT & FOOTER
   ============================================ */
.contact {
    background: var(--bg-light);
    padding: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-info {
    padding: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-map {
    height: 100%;
    min-height: 500px;
}

.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 15px;
}

.footer ul li a {
    color: var(--text-gray);
    transition: var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .about-content,
    .classes-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image img {
        height: 400px;
    }



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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

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

    .info-section {
        padding: 60px 0;
    }

    .info-content {
        gap: 30px;
    }

    .classes-image {
        height: 400px;
        border-radius: 50px 50px 0 0;
    }

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

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

    .hours-content {
        flex-direction: column;
        gap: 30px;
    }

    .hours-grid {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .menu-categories {
        flex-wrap: wrap;
        gap: 15px;
    }

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

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
        grid-row: span 1;
        height: 400px;
    }

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

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

    .contact-info {
        padding: 40px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

@media (max-width: 480px) {
    :root {
        --section-padding: 40px;
    }

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

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

    .btn {
        padding: 15px 30px;
        font-size: 0.8rem;
    }

    .info-lead {
        font-size: 1.1rem;
    }

    .classes-image {
        height: 300px;
    }
}

/* ============================================
   FORMULAS SECTION
   ============================================ */
.formulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.formula-card {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Gold with opacity */
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.formula-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.formula-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.formula-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    margin: 10px auto 0;
    opacity: 0.5;
}

.formula-content {
    font-size: 1.2rem;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.formula-option {
    font-weight: 500;
}

.formula-separator {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
    font-family: serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .formulas-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}