/* ==========================================================================
   ESTUDIO FOTOGRÁFICO ALEJANDRO HERNÁNDEZ
   Warm Editorial Wedding & Studio Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-warm: #FAF8F5;
    --bg-surface: #FFFFFF;
    --bg-card: #F7F4EF;
    --bg-accent: #EFE9DF;
    --gold-primary: #C5A880;
    --gold-light: #DFD3BF;
    --gold-dark: #9E7D52;
    --gold-glow: rgba(197, 168, 128, 0.25);
    --charcoal-900: #141311;
    --charcoal-800: #1E1C1A;
    --charcoal-700: #2E2B27;
    --text-muted: #6E685F;
    --border-warm: #EAE3D6;
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    background-color: var(--bg-warm);
    color: var(--charcoal-900);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-warm);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
    background: #D8CEBD;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C5A880;
}

/* Typography Classes */
.font-serif-luxury {
    font-family: var(--font-serif);
}

.font-heading-luxury {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.font-sans-body {
    font-family: var(--font-sans);
}

/* Text Shimmer / Gold Gradient */
.text-gold-gradient {
    background: linear-gradient(135deg, #B99764 0%, #E3D1A5 50%, #A88349 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.border-gold-subtle {
    border-color: rgba(197, 168, 128, 0.4);
}

/* Glassmorphism & Cards */
.glass-nav {
    background: rgba(250, 248, 245, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(222, 214, 200, 0.5);
}

.editorial-card {
    background: #FFFFFF;
    border: 1px solid #EAE3D6;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(46, 43, 39, 0.08);
    border-color: var(--gold-light);
}

/* Custom Button Effects */
.btn-gold {
    background: linear-gradient(135deg, #C5A880 0%, #B89669 100%);
    color: #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #B89669 0%, #A88349 100%);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.45);
    transform: translateY(-1px);
}

.btn-outline-gold {
    border: 1px solid #C5A880;
    color: #1E1C1A;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-gold:hover {
    background: #C5A880;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
}

/* Image Zoom and Hover Containers */
.img-editorial-zoom {
    overflow: hidden;
    position: relative;
}

.img-editorial-zoom img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.img-editorial-zoom:hover img {
    transform: scale(1.05);
}

/* Lightbox Modal */
#lightbox {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

#lightbox-image {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* Floating WhatsApp Pulse Effect */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-pulse-btn {
    animation: whatsapp-pulse 2.2s infinite;
}

/* Subtle decorative divider */
.ornament-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ornament-line::before,
.ornament-line::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #C5A880, transparent);
}

/* Interactive Calculator Styling */
.calc-option-card {
    transition: all 0.25s ease;
    cursor: pointer;
}

.calc-option-card:hover {
    border-color: var(--gold-primary);
    background-color: #FAF8F5;
}

.calc-option-card.selected {
    border-color: #B89669;
    background-color: #F8F5EE;
    box-shadow: 0 4px 14px rgba(184, 150, 105, 0.15);
}

/* Custom Checkbox */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 1.5px solid #C5A880;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
}

.custom-checkbox:checked {
    background-color: #B89669;
    border-color: #B89669;
}

.custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* FAQ Accordion Transitions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

/* Filter buttons */
.filter-btn.active {
    background-color: #1E1C1A;
    color: #FAF8F5;
    border-color: #1E1C1A;
}
