/*
Theme Name: SR Films Photography
Theme URI: https://srfilmsphotography.com/
Author: SR Films Photography
Author URI: https://srfilmsphotography.com/
Description: Luxury fine-art wedding photography and filmmaking WordPress theme. Fully editable with Elementor, Ultimate Addons Header & Footer Builder, and WPForms.
Version: 1.1.0
Text Domain: srfilmsphotography
Tags: photography, portfolio, luxury, editorial, elementor, custom-header, custom-menu
*/

:root {
    --sm-cream: #fcfbf6;
    --sm-cream-alt: #f6f6f2;
    --sm-charcoal: #2b2a37;
    --sm-black: #000000;
    --sm-white: #ffffff;
    --sm-text-dark: #333333;
    --sm-text-muted: #777777;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--sm-cream);
    color: var(--sm-text-dark);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
    background-color: var(--sm-cream);
    color: var(--sm-text-dark);
    -webkit-font-smoothing: antialiased;
}

/* Ensure no preloader blocks screen */
.load-wrapper, .loader {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.no-scroll {
    overflow: auto !important;
}

/* Elementor container stretch */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1400px;
}

/* ==========================================================================
   Animated Hamburger Menu & Luxury Drawer
   ========================================================================== */
.top-menu {
    z-index: 100000 !important;
}

.top-menu-btn-wrapper {
    z-index: 100001 !important;
}

.top-menu-btn-wrapper {
    cursor: pointer !important;
    z-index: 100002 !important;
}

.top-menu-btn {
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 38px !important;
    height: 38px !important;
    position: relative !important;
    z-index: 100003 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.burger-line-1, .burger-line-2, .burger-line-3 {
    width: 26px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    margin: 3px 0 !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, background-color 0.25s ease !important;
    transform-origin: center !important;
    display: block !important;
    border-radius: 1px !important;
}

/* Active Cross: lines become pitch black (#000000) and form an X */
.top-menu-btn.is-active .burger-line-1,
body.menu-open .top-menu-btn .burger-line-1 {
    transform: translateY(8px) rotate(45deg) !important;
    background-color: #000000 !important;
}

.top-menu-btn.is-active .burger-line-2,
body.menu-open .top-menu-btn .burger-line-2 {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}

.top-menu-btn.is-active .burger-line-3,
body.menu-open .top-menu-btn .burger-line-3 {
    transform: translateY(-8px) rotate(-45deg) !important;
    background-color: #000000 !important;
}

.top-menu-dropdown {
    z-index: 99990 !important;
    background-color: #f6f6f2 !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s ease !important;
}

.top-menu-dropdown.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.top-menu-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: auto !important;
    padding: clamp(30px, 5vh, 60px) 20px !important;
    box-sizing: border-box !important;
    gap: clamp(8px, 1.8vh, 18px) !important;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.45s ease 0.15s, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) 0.15s !important;
}

.top-menu-dropdown.is-open .top-menu-list {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.top-menu-link-wrapper {
    position: relative !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 0 4px 0 !important;
    margin: 0 !important;
    line-height: normal !important;
}

.link-black-top-menu {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: clamp(24px, 3.2vw, 44px) !important;
    line-height: 1.35 !important;
    font-weight: 200 !important;
    letter-spacing: clamp(3px, 0.4vw, 6px) !important;
    color: #2b2a37 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: color 0.3s ease, letter-spacing 0.3s ease !important;
}

.link-black-top-menu:hover {
    color: #000000 !important;
    letter-spacing: clamp(5px, 0.6vw, 9px) !important;
}

.top-menu-link-wrapper .line {
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0% !important;
    height: 1px !important;
    background-color: #2b2a37 !important;
    transform: translateX(-50%) !important;
    transition: width 0.35s ease !important;
}

.top-menu-link-wrapper:hover .line {
    width: 100% !important;
}

.top-menu-img {
    background-image: url('https://cdn.prod.website-files.com/66a7a0688827e8c45f40319a/678fc70ed81fd6d083a8bfe4_front%20%20white%20final.avif') !important;
    background-position: center !important;
    background-size: cover !important;
    width: clamp(260px, 38vw, 420px) !important;
    max-width: 85vw !important;
    height: clamp(85px, 14vh, 150px) !important;
    max-height: 22vh !important;
    border-radius: 4px !important;
    margin: clamp(6px, 1.2vh, 16px) 0 !important;
    flex-shrink: 0 !important;
    display: block !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

.top-menu-img:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.14) !important;
}

/* ==========================================================================
   Floating Corner Popups (Cookie Consent & Booking Now)
   ========================================================================== */
.cookie-popup {
    position: fixed !important;
    bottom: 24px !important;
    left: 24px !important;
    right: auto !important;
    z-index: 9998 !important;
    width: 380px !important;
    max-width: calc(100vw - 48px) !important;
    background-color: #ffffff !important;
    padding: 24px 24px 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.cookie-popup.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.popup-booking {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    left: auto !important;
    z-index: 9998 !important;
    width: 380px !important;
    max-width: calc(100vw - 48px) !important;
    background-color: #ffffff !important;
    padding: 24px 24px 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.popup-booking.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.popup-text-wrapper, .cookie-text-wrapper {
    margin-bottom: 16px;
}

.popup-title {
    font-family: 'Cormorant Garamond', Didot, Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

.popup-booking .popup-title {
    text-align: center !important;
}

.popup-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #666666 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

.cookie-btn, .popup-submit-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 12px 18px !important;
    border: 1px solid #111111 !important;
    background-color: transparent !important;
    color: #111111 !important;
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
    cursor: pointer !important;
}

.cookie-btn:hover, .popup-submit-btn:hover {
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

.popup-btn-txt {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    display: block !important;
    transition: color 0.3s ease, -webkit-text-fill-color 0.3s ease !important;
}

.cookie-btn:hover .popup-btn-txt, .popup-submit-btn:hover .popup-btn-txt {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-decoration: none !important;
}

.cookie-close-btn, .popup-close-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 22px !important;
    height: 22px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.55 !important;
    transition: opacity 0.2s ease !important;
}

.cookie-close-btn:hover, .popup-close-btn:hover {
    opacity: 1 !important;
}

.popup-close_line-1, .popup-close_line-2 {
    position: absolute !important;
    width: 14px !important;
    height: 1.5px !important;
    background-color: #111111 !important;
}

.popup-close_line-1 {
    transform: rotate(45deg) !important;
}

.popup-close_line-2 {
    transform: rotate(-45deg) !important;
}

@media (max-width: 767px) {
    .cookie-popup {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        max-width: none !important;
    }
    .popup-booking {
        right: 12px !important;
        left: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* ==========================================================================
   Instagram Section Background Grid Fix (Image 2 vs 3 Fix)
   ========================================================================== */
.instagram-section {
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 700px !important;
    padding: 60px 20px !important;
}

.hp-embrace-bg-wrapper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
    display: flex !important;
}

.hp-embrace-bg-wrapper .embrace-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    filter: brightness(0.96) contrast(1.02) !important;
}

.hp-bef_footer-txt-wrapper-copy {
    position: relative !important;
    z-index: 10 !important;
    background-color: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12) !important;
    border-radius: 2px !important;
    max-width: 520px !important;
    width: 90% !important;
    padding: 45px 35px !important;
}

/* ==========================================================================
   Horizontal Scrolling Gallery (Screenshots 1)
   ========================================================================== */
.fotki-inner-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.fotki-sticky-block {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--sm-cream);
}

.camera {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    will-change: transform;
    transition: none !important;
    cursor: grab;
}

.camera:active {
    cursor: grabbing;
}

.fotki-title {
    flex: 0 0 45vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    box-sizing: border-box;
}

.fotki-names {
    font-family: 'Cormorant Garamond', Didot, Georgia, serif;
    font-size: 56px;
    line-height: 1.1;
    color: #2b2a37;
    font-weight: 400;
}

.fotki-names.sec {
    font-style: italic;
    font-family: 'Cormorant Garamond', Didot, Georgia, serif;
}

.fotki-names-and {
    font-family: 'Cormorant Garamond', Didot, Georgia, serif;
    font-style: italic;
    font-size: 26px;
    margin: 5px 0;
    color: #888888;
}

.fotki-inner-place {
    font-family: 'Cormorant Garamond', Didot, Georgia, serif;
    font-style: italic;
    font-size: 22px;
    color: #666666;
    margin-top: 25px;
}

.fotki-photos {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
}

.fotki-photo-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 75vh;
    gap: 35px;
    padding-right: 20vw;
}

.fotki-photo-wrapper {
    height: 100%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.fotki-photo-img {
    height: 100%;
    width: auto;
    max-height: 75vh;
    min-width: 280px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: block;
    border-radius: 1px;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Mouse Scroll Indicator */
.srfilms-mouse-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 50;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.srfilms-mouse-icon {
    width: 20px;
    height: 32px;
    border: 1.5px solid #2b2a37;
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.srfilms-mouse-wheel {
    width: 2.5px;
    height: 6px;
    background-color: #2b2a37;
    border-radius: 2px;
    animation: mouseWheelMove 1.6s infinite ease-in-out;
}

.srfilms-mouse-arrow {
    margin-top: 6px;
    animation: mouseArrowBounce 1.6s infinite ease-in-out;
}

@keyframes mouseWheelMove {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(5px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes mouseArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@media (max-width: 991px) {
    .fotki-title {
        flex: 0 0 80vw;
    }
    .fotki-names {
        font-size: 40px;
    }
    .fotki-photo-list {
        height: 65vh;
        gap: 20px;
    }
    .fotki-photo-img {
        max-height: 65vh;
    }
}

/* ==========================================================================
   Portfolio & Homepage Gallery Cards: Bottom-to-Top Hover Text & Subtle Zoom
   ========================================================================== */
.article-wraper, .article-wraper2 {
    position: relative !important;
    overflow: hidden !important;
}

.article-wraper .fotki-hover-bg,
.article-wraper2 .fotki-hover-bg,
.article-link .fotki-hover-bg,
.article-link2 .fotki-hover-bg,
.fotki-hover-bg {
    opacity: 0 !important;
    transition: opacity 0.45s ease !important;
    pointer-events: none !important;
    z-index: 4 !important;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0) 100%) !important;
}

.article-wraper .article-description,
.article-wraper2 .article-description,
.article-link .article-description,
.article-link2 .article-description,
.article-wraper .fotki-descr,
.article-wraper2 .fotki-descr,
.article-link .fotki-descr,
.article-link2 .fotki-descr,
.article-wraper .featured,
.article-wraper2 .featured,
.article-link .featured,
.article-link2 .featured,
.article-description {
    opacity: 0 !important;
    transform: translateY(24px) !important;
    transition: opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1), transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

.article-image, .article-image2 {
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform !important;
    display: block !important;
}

/* Hover State: Reveal description and background overlay smoothly from bottom to top */
.article-wraper:hover .article-description,
.article-wraper2:hover .article-description,
.article-link:hover .article-description,
.article-link2:hover .article-description,
.article-wraper:hover .fotki-descr,
.article-wraper2:hover .fotki-descr,
.article-link:hover .fotki-descr,
.article-link2:hover .fotki-descr,
.article-wraper:hover .featured,
.article-wraper2:hover .featured,
.article-link:hover .featured,
.article-link2:hover .featured,
.article-wraper:focus-within .article-description,
.article-wraper2:focus-within .article-description,
.article-wraper:focus-within .fotki-descr,
.article-wraper2:focus-within .fotki-descr,
.article-wraper:focus-within .featured,
.article-wraper2:focus-within .featured {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.article-wraper:hover .fotki-hover-bg,
.article-wraper2:hover .fotki-hover-bg,
.article-link:hover .fotki-hover-bg,
.article-link2:hover .fotki-hover-bg,
.article-wraper:focus-within .fotki-hover-bg,
.article-wraper2:focus-within .fotki-hover-bg {
    opacity: 1 !important;
}

.article-wraper:hover .article-image,
.article-wraper2:hover .article-image2,
.article-link:hover .article-image,
.article-link2:hover .article-image2 {
    transform: scale(1.04) !important;
}

/* ==========================================================================
   Elementor Built Page Layout & Compatibility
   ========================================================================== */
.elementor-built-page {
    width: 100%;
    position: relative;
    background-color: var(--sm-cream);
    min-height: 50vh;
}

.elementor-built-page .elementor-element {
    box-sizing: border-box;
}

.elementor-built-page .e-con-boxed,
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1400px;
}




