/* ========================================
   DESIGN SYSTEM - Dulzura Matok
   ======================================== */

:root {
    /* Colors */
    --color-cream: #FDF6F0;
    --color-cream-dark: #F5EBE0;
    --color-rose: #C9A98C;
    --color-rose-light: #E8D5C4;
    --color-rose-dark: #A67C5B;
    --color-gold: #D4A574;
    --color-gold-light: #E8C9A0;
    --color-chocolate: #3C2415;
    --color-chocolate-light: #5C3D2E;
    --color-chocolate-medium: #4A2C1A;
    --color-white: #FFFFFF;
    --color-pink: #E8B4B8;
    --color-pink-light: #F5D5D8;
    --color-text: #2C1810;
    --color-text-light: #6B5044;
    --color-text-muted: #9B8579;
    --color-whatsapp: #25D366;
    --color-instagram: #E1306C;
    --color-facebook: #1877F2;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(60, 36, 21, 0.85) 0%, rgba(76, 44, 26, 0.75) 50%, rgba(92, 61, 46, 0.7) 100%);
    --gradient-rose: linear-gradient(135deg, #C9A98C 0%, #E8C9A0 100%);
    --gradient-warm: linear-gradient(135deg, #F5EBE0 0%, #FDF6F0 50%, #F5D5D8 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(253, 246, 240, 0.95) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(60, 36, 21, 0.06);
    --shadow-md: 0 4px 20px rgba(60, 36, 21, 0.1);
    --shadow-lg: 0 8px 40px rgba(60, 36, 21, 0.15);
    --shadow-xl: 0 16px 64px rgba(60, 36, 21, 0.2);
    --shadow-glow: 0 0 30px rgba(201, 169, 140, 0.3);

    /* Typography */
    --font-primary: 'Heebo', sans-serif;
    --font-accent: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */

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

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

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ========================================
   PRELOADER
   ======================================== */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--color-chocolate);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

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

.preloader-logo {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: var(--color-gold);
    letter-spacing: 4px;
    margin-bottom: 30px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    background: var(--gradient-rose);
    border-radius: var(--radius-full);
    animation: preloaderFill 1.8s ease-in-out forwards;
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes preloaderFill {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo {
    color: var(--color-chocolate);
}

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

.logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-fast);
    border-radius: var(--radius-full);
}

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

.nav-link:hover {
    color: var(--color-white);
}

.navbar.scrolled .nav-link {
    color: var(--color-text-light);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-whatsapp);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.navbar.scrolled .hamburger span {
    background: var(--color-chocolate);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(60, 36, 21, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active .mobile-link:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-link:hover {
    color: var(--color-gold);
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-whatsapp);
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
    transition-delay: 0.35s;
}

.mobile-menu.active .mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   HERO SECTION
   ======================================== */

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

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1486427944544-d2c246c4df4e?w=1920&q=80');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.2);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212, 165, 116, 0.4);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-gold-light);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-title-line {
    display: block;
    font-family: var(--font-accent);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: 2px;
    direction: ltr;
}

.hero-title-line.accent {
    font-family: var(--font-accent);
    color: var(--color-gold);
    font-size: 3.8rem;
    font-weight: 400;
    font-style: italic;
    margin-top: 8px;
    letter-spacing: 3px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.7s backwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s backwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    animation: fadeInUp 0.8s ease 1.2s backwards;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(8px);
    }
}

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

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

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--color-whatsapp);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.45);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

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

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-rose);
    margin-bottom: 12px;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-chocolate);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    background: var(--color-white);
    overflow: hidden;
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    height: 500px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.placeholder-image {
    background: var(--color-cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    font-weight: 600;
    border: 3px dashed var(--color-rose);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-gold-light);
    border-radius: var(--radius-lg);
    z-index: 1;
    opacity: 0.5;
}

.about-content .section-label {
    display: block;
    text-align: right;
}

.about-content .section-title {
    text-align: right;
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-rose);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    margin-right: 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-text strong {
    color: var(--color-chocolate);
    font-weight: 700;
}

.about-features {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    transition: var(--transition-bounce);
}

.about-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.about-feature span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-chocolate);
}

/* ========================================
   PRODUCTS SECTION
/* ========================================
   MENU SECTION
   ======================================== */

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

.menu-card {
    max-width: 780px;
    margin: 0 auto;
    background: linear-gradient(160deg, var(--color-chocolate) 0%, var(--color-chocolate-light) 100%);
    border-radius: var(--radius-xl);
    padding: 48px 52px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.menu-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.menu-columns {
    display: flex;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.menu-col {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-col li {
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(212, 165, 116, 0.15);
    transition: var(--transition-fast);
    position: relative;
    padding-right: 18px;
}

.menu-col li::before {
    content: '◆';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.45rem;
    color: var(--color-gold);
    opacity: 0.8;
}

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

.menu-col li:hover {
    color: var(--color-gold-light);
    padding-right: 22px;
}

.menu-more {
    color: var(--color-gold-light) !important;
    font-style: italic;
    font-weight: 600 !important;
}

.menu-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(212, 165, 116, 0.5), transparent);
    margin: 0 36px;
    flex-shrink: 0;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products {
    background: var(--gradient-warm);
}

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

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: var(--color-gold);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
}

.product-info {
    padding: 28px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-chocolate);
    margin-bottom: 12px;
}

.product-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-rose-dark);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.product-cta::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-rose-dark);
    transition: var(--transition-fast);
}

.product-cta:hover {
    color: var(--color-chocolate);
    gap: 12px;
}

.product-cta:hover::after {
    width: 100%;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 1 / 1;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(60, 36, 21, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

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

.gallery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.5);
    transition: var(--transition-bounce);
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

.gallery-cta {
    text-align: center;
    margin-top: 48px;
}

.gallery-cta p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ========================================
   GALLERY TABS (Categories)
   ======================================== */

.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-rose-light);
    background: transparent;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.gallery-tab:hover {
    border-color: var(--color-gold);
    color: var(--color-chocolate);
    background: var(--color-cream-dark);
    transform: translateY(-2px);
}

.gallery-tab.active {
    background: var(--color-chocolate);
    color: var(--color-white);
    border-color: var(--color-chocolate);
    box-shadow: var(--shadow-md);
}

.tab-price {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.8;
}

.gallery-tab.active .tab-price {
    color: var(--color-gold-light);
}

.gallery-category {
    display: none;
}

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

/* ========================================
   HOW IT WORKS
   ======================================== */

.how-it-works {
    background: var(--color-chocolate);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.how-it-works::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 140, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.how-it-works .section-label {
    color: var(--color-gold-light);
}

.how-it-works .section-title {
    color: var(--color-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(212, 165, 116, 0.3);
}

.step-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-white);
}

.step-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ========================================
   TRUST / STATS SECTION
   ======================================== */

.trust {
    background: var(--color-cream);
    padding: 80px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.trust-stat {
    text-align: center;
    padding: 32px 16px;
    position: relative;
}

.trust-stat::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: var(--color-rose-light);
}

.trust-stat:last-child::after {
    display: none;
}

.trust-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-chocolate);
    display: inline;
    line-height: 1;
}

.trust-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    display: inline;
    margin-right: 4px;
}

.trust-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 8px;
    font-weight: 500;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    background: var(--gradient-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-rose-light);
}

.contact-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-bounce);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
    color: var(--color-whatsapp);
}

.phone-icon {
    background: rgba(201, 169, 140, 0.15);
    color: var(--color-rose-dark);
}

.instagram-icon {
    background: rgba(225, 48, 108, 0.1);
    color: var(--color-instagram);
}

.facebook-icon {
    background: rgba(24, 119, 242, 0.1);
    color: var(--color-facebook);
}

.contact-method {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-chocolate);
    margin-bottom: 8px;
}

.contact-detail {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    direction: ltr;
}

.contact-action {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-rose-dark);
    transition: var(--transition-fast);
}

.contact-card:hover .contact-action {
    color: var(--color-chocolate);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--color-chocolate);
    color: var(--color-white);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 6px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-bounce);
}

.social-link:hover {
    background: var(--color-gold);
    transform: translateY(-3px) scale(1.1);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.sostudiolink {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-decoration: underline;
    transition: var(--transition-fast);
    display: inline-block;
    margin-top: 5px;
}

.sostudiolink:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition-bounce);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: var(--color-white);
    color: var(--color-chocolate);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-fast);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

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

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

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

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

    .trust-stat::after {
        display: none;
    }

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

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

    .nav-links,
    .nav-cta,
    .hero-social-icons {
        display: none;
    }

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

    .menu-card {
        padding: 32px 24px;
    }

    .menu-columns {
        flex-direction: column;
        gap: 0;
    }

    .menu-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(212, 165, 116, 0.5), transparent);
        margin: 20px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title-line {
        font-size: 3rem;
    }

    .hero-title-line.accent {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-frame {
        height: 350px;
    }

    .about-image {
        height: 350px;
    }

    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }

    .about-divider {
        margin: 0 auto 24px;
    }

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

    .about-features {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

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

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title-line {
        font-size: 2.3rem;
    }

    .hero-title-line.accent {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .trust-number {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 52px;
        height: 52px;
    }
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(60, 36, 21, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-gold);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-bounce);
}

.lightbox-close:hover {
    color: var(--color-white);
    transform: scale(1.1) rotate(90deg);
}

.lightbox-content {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    color: var(--color-white);
    font-size: 24px;
    transition: var(--transition-bounce);
    user-select: none;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 50%;
    z-index: 2;
}

.lightbox-prev {
    right: 20px;
}

.lightbox-next {
    left: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--color-gold);
    color: var(--color-chocolate);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-prev {
        right: 10px;
    }

    .lightbox-next {
        left: 10px;
    }
}

/* ========================================
   ALL PHOTOS MODAL
   ======================================== */
.all-photos-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    /* Above everything */
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.all-photos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.all-photos-close {
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.all-photos-close:hover {
    color: var(--color-rose);
}

.all-photos-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 40px;
    background: var(--color-cream-dark);
}

.all-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    grid-auto-flow: dense;
}

.all-photos-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.all-photos-grid img:hover {
    transform: scale(1.02);
}


/* ========================================
   TEXT MODALS (Legal)
   ======================================== */
.text-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    padding: 20px;
}

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

.text-modal-content {
    background: var(--color-white);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    padding: 40px;
    direction: rtl;
}

.text-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

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

.text-modal-body h2 {
    color: var(--color-chocolate);
    margin-bottom: 10px;
    font-size: 2rem;
}

.text-modal-body h3 {
    color: var(--color-rose-dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.text-modal-body h4 {
    color: var(--color-chocolate-light);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.text-modal-body p,
.text-modal-body li {
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.8;
}

.text-modal-body ul {
    list-style-type: none;
    padding-right: 20px;
}

.text-modal-body ul li {
    position: relative;
}

.text-modal-body ul li::before {
    content: "•";
    color: var(--color-gold);
    font-weight: bold;
    position: absolute;
    right: -15px;
}