/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
    --primary-color: #d4a574;
    --secondary-color: #8b7355;
    --text-dark: #e8e8e8;
    --text-light: #b8b8b8;
    --bg-light: #2a2a2a;
    --bg-dark: #1f1f1f;
    --white: #2a2a2a;
    --border-color: #3a3a3a;
    --header-offset: 90px;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Pinyon Script', cursive;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

html {
    /* Custom scrollbar for Firefox */
    scrollbar-width: thin;
    scrollbar-color: #d4a674 #1f1f1f;
}

/* Custom scrollbar for Chrome, Safari, Edge */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #1f1f1f;
}

::-webkit-scrollbar-thumb {
    background: #d4a674;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c4966a;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #1f1f1f;
    position: relative;
}

/* Offset in-page anchors to account for the fixed header */
section[id],
[id^="cat-"] {
    scroll-margin-top: var(--header-offset);
}

/* Prevent iOS inertial scrolling issues */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   Utilities
   ============================================ */

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo-text {
    font-family: var(--font-script);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1.2;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

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

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a:not(.btn-contact):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:not(.btn-contact):hover:after {
    width: 100%;
}

.btn-contact {
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
}

.nav-item-dropdown {
    position: relative;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
}

.nav-link-dropdown::after {
    content: '▼';
    margin-left: 6px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown.active .nav-link-dropdown::after,
.nav-item-dropdown:hover .nav-link-dropdown::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: rgba(41, 43, 40, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    list-style: none;
    min-width: 250px;
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

.nav-item-dropdown.active .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-menu a:after {
    display: none !important;
}

.dropdown-menu a:hover {
    background-color: rgba(212, 165, 116, 0.15);
    color: var(--primary-color);
    padding-left: 32px;
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('torta.webp');
    background-size: cover;
    background-position: 60% center;
    z-index: 2;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(31, 31, 31, 0) 0%, rgba(31, 31, 31, 0.3) 40%, rgba(31, 31, 31, 0.7) 70%, rgba(31, 31, 31, 0.95) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1f1f1f;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 80%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: left;
    max-width: 45%;
    padding: 0 20px;
    margin-right: auto;
    margin-left: 100px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.brand-name {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 5rem;
    color: var(--primary-color);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.4s backwards;
    font-size: 1.1rem;
    padding: 16px 40px;
}

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

/* ============================================
   About Short Section
   ============================================ */

.about-short {
    padding: 5rem 0;
    background-color: #2a2a2a;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   Categories Section
   ============================================ */

.categories {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #2a2a2a 0%, #1f1f1f 200px);
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(42, 42, 42, 1) 0%, rgba(31, 31, 31, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5e6d3 0%, #d4a574 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 165, 116, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.view-gallery-icon {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border: 2px solid var(--white);
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

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

.category-image:empty::after {
    content: '🎂';
    font-size: 4rem;
    opacity: 0.5;
}

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-dark);
}

.category-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Flavors Section
   ============================================ */

.flavors {
    padding: 5rem 0;
    background-color: #2a2a2a;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.flavor-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.flavor-btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.flavor-btn:hover {
    background-color: var(--primary-color);
    color: #1f1f1f;
    transform: scale(1.05);
}

.flavor-btn.active {
    background-color: var(--primary-color);
    color: #1f1f1f;
}

.flavor-content {
    position: relative;
    min-height: 400px;
}

.flavor-item {
    display: none;
    opacity: 0;
    pointer-events: none;
    height: auto;
    transition: opacity 0.5s ease-in-out;
}

.flavor-item.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
    animation: fadeIn 0.5s ease-in-out;
}

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

.flavor-item h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.flavor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.flavor-card {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    text-align: center;
}

.flavor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.2);
    border-left-color: #e8c8a0;
}

.flavor-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.flavor-card p {
    font-family: var(--font-body);
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   About Us Section
   ============================================ */

.about-us {
    padding: 5rem 0;
    background-color: #1f1f1f;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #f5e6d3 0%, #d4a574 100%);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.about-image:empty::after {
    content: '👩‍🍳';
    font-size: 6rem;
    opacity: 0.5;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature h4 {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* ============================================
   Gallery Modal
   ============================================ */

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: -1;
}

.gallery-modal-content {
    position: relative;
    background: #1f1f1f;
    border-radius: 8px;
    width: 95%;
    max-width: 900px;
    max-height: 85vh;
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(212, 165, 116, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gallery-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #1f1f1f;
    transform: rotate(90deg);
}

.gallery-title {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: 0 0 1.5rem;
    line-height: 1.6;
    font-size: 1.3rem;
}

.gallery-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gallery-images-wrapper {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    margin-bottom: 1rem;
    padding-right: 5px;
}

.gallery-images-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.gallery-images-scroll img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-images-scroll img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 165, 116, 0.3);
}

.gallery-info {
    text-align: center;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.gallery-counter {
    color: var(--white);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.gallery-nav:hover {
    background: rgba(212, 165, 116, 0.9);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-prev,
.gallery-next {
    display: none;
}

.gallery-thumbnails {
    display: none;
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.gallery-thumbnails-nav {
    display: none;
}

.gallery-thumbnails-wrapper {
    display: none;
}

.gallery-thumbnail {
    display: none;
}

.gallery-thumbnail:hover {
    display: none;
}

.gallery-thumbnail.active {
    display: none;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: 5rem 0;
    background-color: #1f1f1f;
    position: relative;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    min-height: 280px;
}

.testimonial-card {
    background: #2a2a2a;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    animation: slideIn 0.5s ease forwards;
}

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

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

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

.slider-btn:hover {
    background-color: #e8c8a0;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
    padding: 5rem 0;
    background-color: #2a2a2a;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: #1f1f1f;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    background: #1f1f1f;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #2a2a2a;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(212, 165, 116, 0.1);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    color: var(--primary-color);
    text-decoration: none;
}

.contact-link:hover {
    background-color: var(--primary-color);
    color: #1f1f1f;
    transform: scale(1.1);
}

.contact-link svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 5rem 0;
    background-color: #1f1f1f;
}

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

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a:hover svg {
    fill: var(--white);
}

.contact-form {
    background: #2a2a2a;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-logo-main {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    width: 100%;
}

.contact-logo-main img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(212, 165, 116, 0.3));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #1f1f1f;
    color: var(--text-dark);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    font-size: 1.05rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: #1a1a1a;
    color: #b8b8b8;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Scroll to Top Button
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #e8c8a0;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.6);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(41, 43, 40, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 120px 2rem 2rem 2rem;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
        align-items: center;
        justify-content: flex-start;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .nav-menu a {
        color: #d4a574;
        font-size: 1.5rem;
        font-weight: 600;
        display: block;
        padding: 0.8rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu a:not(.btn-contact):after {
        display: none;
    }
    
    .nav-item-dropdown {
        position: static;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        background-color: rgba(212, 165, 116, 0.1);
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        max-height: 500px;
        animation: none;
    }
    
    .dropdown-menu li {
        margin: 0;
    }
    
    .dropdown-menu a {
        padding: 10px 40px;
        font-size: 1.2rem;
        text-transform: none;
        letter-spacing: normal;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(212, 165, 116, 0.2);
        padding-left: 40px;
    }
    
    .nav-link-dropdown::after {
        display: inline-block;
        margin-left: 8px;
        font-size: 12px;
    }
    
    .nav-item-dropdown.active .nav-link-dropdown::after {
        transform: rotate(180deg);
    }
    
    .btn-contact {
        background-color: transparent;
        color: #d4a574;
        margin-top: 1rem;
        border: 2px solid #d4a574;
        padding: 10px 24px;
    }
    
    .btn-contact:hover {
        background-color: #d4a574;
        color: var(--bg-dark);
    }
    
    .hero::before {
        width: 100%;
        opacity: 0.3;
    }
    
    .hero::after {
        display: none;
    }
    
    .hero-content {
        max-width: 90%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .categories::before {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        padding: 100px 1.5rem 2rem 1.5rem;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .gallery-modal-content {
        padding: 1rem;
    }
    
    .gallery-title {
        font-size: 1.5rem;
    }
    
    .gallery-description {
        font-size: 0.95rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .gallery-image-container {
        max-height: 400px;
        width: 100%;
        padding: 0 60px;
    }
    
    .gallery-image {
        max-height: 400px;
    }
    
    .gallery-slider {
        width: 100%;
    }
    
    .gallery-nav {
        position: absolute;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.25);
    }
    
    .gallery-prev {
        left: 5px;
    }
    
    .gallery-next {
        right: 5px;
    }
    
    .gallery-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }
    
    .gallery-thumbnails {
        margin-top: 2rem;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 968px) {
    .gallery-images-scroll {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .flavor-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 600px) {
    .gallery-images-scroll {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding: 0.6rem;
    }

    .gallery-images-scroll img {
        aspect-ratio: 1;
        object-fit: cover;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .flavor-filters {
        gap: 0.8rem;
    }

    .flavor-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .flavor-item h3 {
        font-size: 1.5rem;
    }

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

    .flavor-card {
        padding: 1.5rem;
    }

    .flavor-card h4 {
        font-size: 1.1rem;
    }
}

/* ============================================
   Image Viewer Modal
   ============================================ */

.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    z-index: 12000;
}

.viewer-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12001;
}

.viewer-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(212, 165, 116, 0.1);
    border: 2px solid #d4a574;
    color: #d4a574;
    font-size: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12002;
}

.viewer-close:hover {
    background: rgba(212, 165, 116, 0.2);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
}

.viewer-prev,
.viewer-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(212, 165, 116, 0.1);
    border: 2px solid #d4a574;
    color: #d4a574;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12002;
}

.viewer-prev {
    left: 20px;
}

.viewer-next {
    right: 20px;
}

.viewer-prev:hover,
.viewer-next:hover {
    background: rgba(212, 165, 116, 0.2);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
}

.viewer-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(212, 165, 116, 0.15);
    color: #d4a574;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    z-index: 12002;
}

@media (max-width: 600px) {
    .viewer-prev,
    .viewer-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .viewer-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }

    .viewer-image {
        max-height: 70vh;
    }
}

/* ============================================
   Loading Animation
   ============================================ */

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}
