/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Colors derived exactly from the image */
    --clr-dark: #121212;
    --clr-darker: #080808;
    --clr-light: #f8f6f3; /* Slight beige for promo section */
    --clr-white: #ffffff;
    --clr-gold: #ab8e66;
    --clr-gold-dark: #8c7352;
    --clr-text-dark: #1a1a1a;
    --clr-text-muted: #555555;
    --clr-border-dark: rgba(255, 255, 255, 0.1);
    --clr-border-light: rgba(0, 0, 0, 0.1);

    /* Fonts */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --section-pad-y: 100px;
    --section-pad-x: 8%;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--clr-text-dark);
    background-color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
}

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

ul {
    list-style: none;
}

/* Typography Utility */
.section-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--clr-text-dark);
}

.italic-text {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--clr-gold-dark);
}

/* Links with arrows */
.link-arrow, .link-arrow-white, .link-arrow-gold {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    gap: 15px;
    position: relative;
}

.link-arrow { color: var(--clr-text-dark); }
.link-arrow-white { color: var(--clr-white); }
.link-arrow-gold { color: var(--clr-gold); }

.arrow {
    transition: transform 0.3s ease;
}

.link-arrow:hover .arrow, .link-arrow-white:hover .arrow, .link-arrow-gold:hover .arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px var(--section-pad-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: var(--header-text-color, var(--clr-white));
}

.navbar.scrolled {
    position: fixed;
    background-color: var(--header-bg-color, rgba(18, 18, 18, 0.95));
    padding: 15px var(--section-pad-x);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    width: auto;
    /* Convertimos el logo negro a blanco para que resalte en el fondo oscuro */
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-family: var(--header-font, var(--font-sans));
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--header-text-color, inherit);
}

.nav-links a:hover {
    color: var(--header-hover-color, var(--clr-gold));
}

.btn-reservar {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 14px 28px;
    background-color: rgba(171, 142, 102, 0.9);
    color: var(--clr-white);
    text-transform: uppercase;
}

.btn-reservar:hover {
    background-color: var(--clr-gold-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: var(--clr-white);
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
    display: flex;
    padding: 0 var(--section-pad-x);
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-drag-title,
.hero-drag-subtitle {
    position: absolute;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Default (Desktop) */
.hero-drag-title {
    top: var(--dt-t, 30%);
    left: var(--dt-l, 10%);
    width: max-content;
    max-width: 90%;
}
.hero-drag-subtitle {
    top: var(--ds-t, 50%);
    left: var(--ds-l, 10%);
    width: max-content;
    max-width: 90%;
}

.hero h1 {
    font-size: var(--dt-sz, 4rem);
    line-height: 1.15;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    font-weight: 400;
}

.hero-subtitle {
    font-size: var(--ds-sz, 1.2rem);
    margin-top: 15px;
    opacity: 0.9;
    color: var(--clr-white);
    letter-spacing: 2px;
}

.hero-location {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 45px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background-color: var(--clr-white);
    color: var(--clr-dark);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: var(--section-pad-x);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.scroll-indicator span {
    font-size: 0.55rem;
    letter-spacing: 3px;
    font-weight: 600;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Sobre Mí
   ========================================================================== */
.sobre-mi {
    padding: 120px var(--section-pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--clr-white);
    gap: 80px;
}

.sobre-mi-content {
    flex: 1;
    max-width: 500px;
}

.sobre-mi .section-label {
    margin-bottom: 40px;
}

.sobre-mi h2 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 40px;
    color: var(--clr-text-dark);
}

.sobre-mi .italic-text {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 70px;
}

.sobre-mi-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sobre-mi-image .img-placeholder {
    width: 100%;
    max-width: 420px;
    height: 550px;
    background-size: cover;
    background-position: center;
}

/* ==========================================================================
   Portfolio Destacado
   ========================================================================== */
.portfolio {
    padding: 80px var(--section-pad-x) 120px;
    background-color: var(--clr-white);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 250px 250px;
    gap: 15px;
}

.masonry-item {
    background-size: cover;
    background-position: center;
}

.col-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.col-2-top { grid-column: 2 / 3; grid-row: 1 / 2; }
.col-2-bot { grid-column: 2 / 3; grid-row: 2 / 3; filter: grayscale(100%); }
.col-3 { grid-column: 3 / 4; grid-row: 1 / 3; }
.col-4-top { grid-column: 4 / 5; grid-row: 1 / 2; }
.col-4-bot { grid-column: 4 / 5; grid-row: 2 / 3; }

/* ==========================================================================
   Servicios
   ========================================================================== */
.servicios {
    background-color: var(--clr-dark);
    color: var(--clr-white);
}

.servicios-container {
    display: flex;
}

.servicios-list {
    flex: 1;
    padding: 100px var(--section-pad-x) 100px var(--section-pad-x);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title-dark {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 2px;
    margin-bottom: 50px;
    color: var(--clr-white);
    font-weight: 600;
}

.accordion-item {
    border-bottom: 1px solid var(--clr-border-dark);
    padding: 30px 0;
    cursor: pointer;
}

.accordion-header {
    display: flex;
    align-items: center;
}

.accordion-header .number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-right: 40px;
    color: var(--clr-white);
}

.accordion-title h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 400;
}

.accordion-title p {
    font-size: 0.85rem;
    color: #aaaaaa;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-title p {
    height: auto;
    opacity: 1;
    margin-top: 10px;
}

.accordion-header .icon {
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--clr-white);
}

.servicios-image {
    flex: 1.2;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 800px;
}

.servicios-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.servicios-image-overlay p {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

/* ==========================================================================
   Estadísticas
   ========================================================================== */
.stats {
    padding: 80px var(--section-pad-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--clr-white);
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--clr-dark);
    margin-bottom: 10px;
    font-family: var(--font-serif);
    font-weight: 500;
}

.stat-item h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--clr-gold);
    margin: 15px auto 0;
}

.stat-item p {
    font-size: 0.8rem;
    color: var(--clr-text-muted, #888);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* ==========================================================================
   Promociones
   ========================================================================== */
.promociones {
    padding: 100px var(--section-pad-x);
    background-color: var(--clr-light);
}

.promociones-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.promociones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.promo-card {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.1) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--clr-white);
}

.badge {
    background-color: rgba(171, 142, 102, 0.8); /* Gold background */
    color: var(--clr-white);
    padding: 6px 12px;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 1px;
    align-self: flex-start;
}

.card-content {
    margin-bottom: 10px;
}

.card-content h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.75rem;
    color: #dddddd;
    margin-bottom: 30px;
    line-height: 1.5;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.price {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--clr-white);
}

.price span {
    font-size: 1.1rem;
}

.old-price {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
    margin-left: 8px;
}

/* ==========================================================================
   Testimonios
   ========================================================================== */
.testimonios {
    padding: 100px var(--section-pad-x);
    background-color: var(--clr-white);
}

.flex-title {
    display: flex;
    align-items: center;
    gap: 30px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 60px;
    color: var(--clr-text-muted);
}

.flex-title .line {
    flex: 1;
    height: 1px;
    background-color: var(--clr-border-light);
}

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

.nav-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 10px;
}

.nav-btn:hover {
    color: var(--clr-dark);
}

.testimonio-content {
    flex: 1;
    max-width: 500px;
    position: relative;
    padding-left: 50px;
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--clr-gold);
    position: absolute;
    left: 0;
    top: -20px;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--clr-text-dark);
}

.author {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--clr-text-dark);
}

.testimonio-image {
    width: 450px;
    height: 250px;
    background-size: cover;
    background-position: center;
}

/* ==========================================================================
   Instagram
   ========================================================================== */
.instagram {
    padding-bottom: 0;
    background-color: var(--clr-white);
}

.instagram-header {
    padding: 0 var(--section-pad-x);
}

.instagram-header h3 {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--clr-text-muted);
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 100%;
}

.instagram-feed a {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.instagram-feed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.next-ig {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    color: var(--clr-dark);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--clr-dark);
    color: var(--clr-text-muted);
    padding: 80px var(--section-pad-x) 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.logo-footer {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--clr-white);
    letter-spacing: 2px;
}

.footer-p {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #888888;
    margin-bottom: 5px;
}

.footer h4 {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--clr-text-muted);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links .flex-title {
    margin-bottom: 25px;
    color: var(--clr-text-muted);
}

.footer ul li, .footer-contact p {
    margin-bottom: 12px;
}

.footer ul a, .footer-contact p {
    font-size: 0.8rem;
    color: #cccccc;
    line-height: 1.5;
}

.footer ul a:hover {
    color: var(--clr-white);
}

.footer-social a:hover {
    color: var(--clr-gold);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contacto {
    padding: var(--section-pad-y) var(--section-pad-x);
    background-color: var(--clr-dark);
    color: var(--clr-white);
    text-align: center;
}

.contacto-header h3 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.contacto-header p {
    font-weight: 300;
    margin-bottom: 40px;
    color: #ccc;
}

.contacto-form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--clr-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

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

.alert-success {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
    padding: 15px;
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: 4px;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.btn-outline {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 24px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-top: 25px;
    color: var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-dark);
}

.footer-bottom {
    text-align: center;
    font-size: 0.7rem;
    color: #666666;
    padding-top: 30px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-drag-title { top: var(--tt-t, 30%); left: var(--tt-l, 10%); max-width: 80%; }
    .hero-drag-subtitle { top: var(--ts-t, 50%); left: var(--ts-l, 10%); max-width: 80%; }
    
    .hero h1 { font-size: var(--tt-sz, 3rem); }
    .hero-subtitle { font-size: var(--ts-sz, 1rem); }
    .masonry-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .col-1, .col-3 { grid-column: span 2; min-height: 400px; }
    .col-2-top, .col-2-bot, .col-4-top, .col-4-bot { grid-column: span 1; min-height: 250px; }
    .promociones-grid { grid-template-columns: 1fr; }
    .servicios-container { flex-direction: column; }
    .servicios-image { min-height: 500px; }
}

@media (max-width: 768px) {
    .nav-links, .btn-reservar { display: none; }
    
    /* Hero Drag Mobile */
    .hero-drag-title { top: var(--mt-t, 30%); left: var(--mt-l, 10%); max-width: 90%; }
    .hero-drag-subtitle { top: var(--ms-t, 50%); left: var(--ms-l, 10%); max-width: 90%; }
    .hero h1 { font-size: var(--mt-sz, 2.2rem); }
    .hero-subtitle { font-size: var(--ms-sz, 0.95rem); }
    
    .sobre-mi { flex-direction: column; padding: 60px var(--section-pad-x); text-align: center; }
    .stats { flex-direction: column; gap: 40px; }
    .testimonios-slider { flex-direction: column; text-align: center; gap: 30px; }
    .testimonio-content { padding-left: 0; }
    .quote-icon { position: relative; top: 0; margin-bottom: 10px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    
    .masonry-grid { display: flex; flex-direction: column; gap: 15px; }
    .masonry-item { min-height: 300px; width: 100%; grid-column: auto; grid-row: auto; }
}

/* ==========================================================================
   Portfolio Page & Lightbox
   ========================================================================== */
.portfolio-page {
    background-color: #fff;
    color: #333;
}

.solid-nav {
    background-color: var(--header-bg-color, rgba(10, 10, 10, 0.95)) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-header-page {
    padding: 150px 20px 50px;
    text-align: center;
}
.portfolio-header-page h1 {
    font-size: 3rem;
    letter-spacing: 5px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #333;
}
.portfolio-header-page p {
    color: #666;
    font-size: 0.9rem;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.category-section {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-item {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
}

.item-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.zoom-icon {
    font-size: 3rem;
    color: #fff;
    font-weight: 300;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 95%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.lightbox-caption {
    margin-top: 15px;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 400;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: 300;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--clr-gold);
}

.lightbox .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox .nav-btn:hover {
    background: var(--clr-gold);
    color: var(--clr-dark);
}

.prev-btn { left: 30px; }
.next-btn { right: 30px; }

/* ==========================================================================
   Store Gallery Styles
   ========================================================================== */
.store-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}

@media (max-width: 1024px) {
    .store-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .store-grid {
        grid-template-columns: 1fr;
    }
}

/* Store Modal */
.store-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.store-modal-content {
    background: var(--clr-white);
    display: flex;
    max-width: 1000px;
    width: 100%;
    height: 600px;
    max-height: 90vh;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .store-modal-content {
        flex-direction: column;
        height: auto;
        max-height: 95vh;
        overflow-y: auto;
    }
}

.store-modal-left {
    flex: 1;
    background: #f5f5f5;
    position: relative;
}

.store-modal-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .store-modal-left {
        height: 300px;
        flex: none;
    }
}

.store-modal-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.store-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--clr-dark);
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.3s;
}

.store-modal-close:hover {
    color: var(--clr-gold);
}

.store-modal-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--clr-dark);
}

.store-modal-price {
    font-size: 1.5rem;
    color: var(--clr-gold);
    font-weight: bold;
    margin-bottom: 20px;
}

.store-modal-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex: 1;
    overflow-y: auto;
}

.store-modal-form {
    margin-top: auto;
}

/* Ensure anchor links are not hidden behind fixed navbar */
section[id] {
    scroll-margin-top: 100px;
}




.sobre-mi.img-left {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .sobre-mi.img-left {
        flex-direction: column !important;
    }
    .sobre-mi-image {
        width: 100%;
    }
}
