/**
 * ----------------------------------------------------
 * SHAANFOTOGRAPHY - Custom Stylesheet
 * ----------------------------------------------------
 */

/* ========================================================= */
/* 1. THEME COLORS & VARIABLES */
/* ========================================================= */
:root {
    /* Backgrounds */
    --bg-black: #050505; /* Primary dark background */
    --card-bg: #121212;  /* Slightly lighter background for cards/containers */

    /* Accent & Text */
    --gold: #FFD700;     /* Primary accent color (Gold) */
    --gold-hover: #E5C100; /* Darker gold for hover states */
    --text-gray: #dddddd; /* Secondary text color */
     --studio-yellow: #ffcc00;
    --gutter: 20px;
    --transition-speed: 0.6s;
    --line-color: rgba(255, 255, 255, 0.15); /* Subtle vertical lines */
}

/* ========================================================= */
/* 2. RESET & GLOBAL BASICS */
/* ========================================================= */
html {
    scroll-behavior: smooth;
    /* FIX: Prevents height jumping on mobile browsers */
    height: -webkit-fill-available;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-black);
    color: white;
    overflow-x: hidden;
    /* FIX: Use a fixed pixel value to prevent shifting when address bar hides */
    padding-top: 70px;
    min-height: 100vh;
    /* Fix for smooth momentum scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

/* Typography Headings - Use Playfair Display for emphasis */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

@media (max-width: 576px) {
    body {
        padding-top: 60px;
    }
    .navbar {
        height: 60px; /* Matches the smaller padding on mobile */
    }
    .contact-stack {
        right: 15px;
        bottom: calc(15px + env(safe-area-inset-bottom));
        gap: 12px;
    }
}

/* ========================================================= */
/* 3. NAVBAR SECTION STYLING */
/* ========================================================= */
.navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: 12px 0;

    /* FIX: Absolute locking */
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px; /* Force a consistent height */
    z-index: 10000;

    /* FIX: Force Hardware Acceleration to stop "shaking" */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
}
/* Navbar Toggler Icon Color */
.navbar-toggler-icon {
    /* Targets the default Bootstrap toggler lines and colors them gold */
    filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--gold));
}

.navbar-brand {
    /* Layout */
    display: flex;
    align-items: center;

    /* Typography */
    font-size: 1.3rem;
    color: white !important;
    letter-spacing: 2px;
    font-weight: 700;
    white-space: nowrap; /* Prevents text wrapping */
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Styling for the logo image inside the brand link */
.navbar-brand img {
    height: 35px;
    width: auto;
    margin-right: 5px;
}

/* Styling for the navigation links */
.nav-link {
    /* Typography */
    color: white !important;
    font-size: 0.9rem;
    text-transform: uppercase;

    /* Spacing */
    margin-left: 20px;
}

.nav-link:hover,
.nav-link.active {
    /* Gold hover effect */
    color: var(--gold) !important;
}


/* ========================================================= */
/* 4. HOME SECTION (HERO SLIDER) */
/* ========================================================= */
.carousel-item {
    /* Box Model - Full viewport height for main hero section */
    position: relative;
    height: clamp(520px, 90vh, 900px);
    /* Color/Visual */
    background-color: #000;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    /* Ensures image covers the container without distortion */
    object-fit: cover;
    object-position: center center;
}

/* Dark gradient overlay for text readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    z-index: 5; /* Keep overlay below caption */
}

/* Caption position adjustment (Desktop default) */
.carousel-caption {
    bottom: 25%; /* Default position from the bottom */
    z-index: 10;
}

.carousel-caption h1 {
    /* Typography & Visuals */
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* Gold Button Style (Global) */
.btn-gold {
    /* Visuals & Typography */
    background-color: var(--gold);
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;

    /* Box Model & Interactivity */
    padding: 10px 40px;
    border: none;
    border-radius: 30px;
    width: auto; /* Ensures button is only as wide as its content */
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    color: black;
}


/* ========================================================= */
/* 5. MEDIA QUERIES (RESPONSIVENESS) */
/* ========================================================= */

/* Tablet/Small Desktop (Max-width: 991px) */
@media (max-width: 991px) {
    /* --- NAVBAR Adjustments --- */
    .navbar-collapse {
        /* Adds a slight background to the collapsed menu for better visibility */
        background-color: var(--card-bg);
        border-top: 1px solid #333;
    }
    .nav-link {
        /* Add vertical padding to links for easier tapping */
        padding: 10px 15px;
        margin-left: 0;
    }

    /* --- HERO SLIDER Adjustments --- */
    .carousel-item {
        /* Reduce hero height slightly on tablets */
        height: 75vh;
        min-height: 400px;
    }
    /* Adjusted caption position slightly higher on mid-screens */
    .carousel-caption {
        bottom: 15%;
    }
    /* Specific adjustment for the first slide image alignment */
    .carousel-item:first-child img {
        object-position: left center;
    }
}

/* Mobile (Max-width: 576px) */
@media (max-width: 576px) {
    /* --- NAVBAR Adjustments --- */
    .navbar-brand {
        font-size: 0.9rem; /* Smaller logo text on mobile */
        letter-spacing: 1px;
    }
    .navbar-brand img {
        height: 30px; /* Smaller logo image */
    }


    /* --- HERO SLIDER Adjustments --- */
    .carousel-item {
        /* Reduce hero height further on small mobile screens */
        position: relative;
        height: clamp(350px, 85vh, 800px);
        background-color: #000;
    }
    .carousel-caption {
        /* FIX for text moving too far down: Use a small, fixed pixel value */
        bottom:150px !important;
        padding-bottom: 0;
    }
    .carousel-caption h1 {
        /* Significantly smaller heading for mobile */
        font-size: 1.9rem !important;
        margin-bottom: 10px;
    }
    .carousel-caption p {
        /* Small paragraph text */
        font-size: 0.8rem !important;
        /* Now visible on all screens thanks to HTML change */
    }

    /* --- BUTTON Adjustments --- */
    .btn-gold {
        font-size: 0.9rem;
        padding: 10px 25px !important; /* Smaller button padding */
    }
}




/* ========================================================= */
/* 2. PORTFOLIO / GALLERY SECTION (IMAGE ANIMATION) */
/* ========================================================= */


/* --- Section Styling --- */
.portfolio-grid-section {
    padding: 50px 0;
    background-color: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.portfolio-grid-section .container-fluid {
    padding: 0 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Portfolio Wrapper & Vertical Lines --- */
.portfolio-wrapper {
    display: flex;
    gap: var(--gutter);
    position: relative;
    align-items: flex-start;
}

/* Vertical lines logic for desktop */
@media (min-width: 993px) {
    .portfolio-column.center-col {
        position: relative;
    }
    /* Left Line */
    .portfolio-column.center-col::before {
        content: "";
        position: absolute;
        top: -20px;
        bottom: -20px;
        left: calc(var(--gutter) / -2);
        width: 1px;
        background: var(--line-color);
        z-index: 1;
    }
    /* Right Line */
    .portfolio-column.center-col::after {
        content: "";
        position: absolute;
        top: -20px;
        bottom: -20px;
        right: calc(var(--gutter) / -2);
        width: 1px;
        background: var(--line-color);
        z-index: 1;
    }
}

.portfolio-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
    z-index: 2;
}

/* --- Masonry Heights --- */
.h-landscape { height: 240px; }
.h-portrait  { height: 400px; }
.h-square    { height: 320px; }

/* --- Card Logic --- */
.masonry-card {
    position: relative;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.masonry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Curtain Animation --- */
.curtain {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--studio-yellow);
    z-index: 10;
    transform: translateY(0);
    transition: transform 1.1s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.masonry-card.is-visible .curtain {
    transform: translateY(-101%);
}

.masonry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    filter: grayscale(20%); /* Artistic touch */
    transition: opacity 0.5s ease 0.4s, transform 0.8s ease, filter 0.4s ease;
}

.masonry-card.is-visible img {
    opacity: 1;
}

.masonry-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* --- Card Info / Hover --- */
.card-hover {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent 100%);
    opacity: 0;
    z-index: 11;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

.masonry-card:hover .card-hover {
    opacity: 1;
    transform: translateY(0);
}

.card-info h4 { font-size: 1.1rem; margin: 0; font-weight: 600; letter-spacing: 0.5px; }
.card-info span { color: var(--studio-yellow); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; }

/* --- Best-in-Class Responsive Design --- */

/* Tablet: 2 Columns */
@media (max-width: 992px) {
    .portfolio-wrapper {
        flex-wrap: wrap; /* Allows columns to drop to next line */
        gap: 20px;
    }

    /* Make the first two columns 50% width (minus gap) */
    .portfolio-column {
        flex: 0 0 calc(50% - 10px);
    }

    /* Make the 3rd column full width or hidden to keep alignment clean */
    .portfolio-column:last-child {
        flex: 0 0 100%;
    }

    /* Adjust heights for tablet consistency */
    .h-landscape, .h-portrait, .h-square {
        height: 350px !important;
    }
}

/* Mobile: 1 Column */
@media (max-width: 600px) {
    .portfolio-wrapper {
        flex-direction: column; /* Stack vertically */
    }

    .portfolio-column {
        flex: 0 0 100% !important;
        width: 100%;
    }

    /* Tighter spacing for mobile screens */
    .portfolio-grid-section .container-fluid {
        padding: 0 20px;
    }

    .h-landscape, .h-portrait, .h-square {
        height: 280px !important;
    }
}



/* ========================================================= */
/* PORTFOLIO SECTION (Section 2 with Filters) */
/* ========================================================= */
.portfolio-section {

    padding: 0;
    background-color: var(--card-bg);
    min-height: 100vh; /* Makes the section fill the whole screen */
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;

}

.portfolio-section .container {
    height: 100%;
    padding-top: 100px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;



}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--bg-black);
}

/* Portfolio Grid */
.portfolio-grid {
    columns: 280px auto; /* Fixed column width */
    column-gap: 25px;
    flex: 1;
    overflow-y: auto;
    padding: 10px 5px;
    width: calc(100% + 10px);
    margin: 0 -5px;
    -ms-overflow-style: none;  /* Hides scrollbar in Internet Explorer/Edge */
    scrollbar-width: none;     /* Hides scrollbar in Firefox */
}



/* Portfolio Items */
.portfolio-item {
    display: block;
    break-inside: avoid;
    position: relative;
    overflow: hidden;
    width: 100%; /* Takes full column width */
    border-radius: 5px;
    box-shadow: var(--shadow);
    height: auto; /* Let the image define the height */
    margin-bottom: 25px;
    cursor: pointer;
    background: transparent !important;
    cursor: pointer;
    transition: transform 0.3s ease;



}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-item img {

    transition: var(--transition);
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px; /* Keeps the rounded corners on the image itself */
    transition: opacity 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: var(--transition);
    background: rgba(26, 26, 26, 0.85);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    text-align: center;
    color: var(--white);
    z-index: 2;
    transition: opacity 0.3s ease;
}




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

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.portfolio-overlay p {
    font-size: 0.9rem;
    color: var(--text-gray);
}
/* Tablet (991px and below) */
@media (max-width: 991px) {
 .portfolio-grid {
        columns: 230px auto;
    }

    .portfolio-item {
        height: 250px;
    }
 }
/* mobile (768px and below) */
@media (max-width: 768px) {
 .portfolio-grid {
        columns: 200px auto;
    }

    .portfolio-item {
        height: 220px;
        margin-bottom: 15px;
    }

    .portfolio-filter {
        gap: 8px;
        margin-bottom: 1.5rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
.portfolio-grid {
        columns: 1;
    }

    .portfolio-item {
        height: 200px;
    }

    .portfolio-filter {
        gap: 5px;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
        padding: 6px 12px;
    }
}


/* Large Desktop */
@media (min-width: 1400px) {

    .portfolio-grid {
        columns: 320px auto;
    }
}

/* ========================================================= */
/* 7. PORTFOLIO MODAL / LIGHTBOX (FIXED) */
/* ========================================================= */

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 20000; /* Must be higher than Navbar (10000) */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* When JS adds .active or sets display: flex */
#portfolioModal.active {
    display: flex !important;
}

.modal-content {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Close Button Styling */
.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

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

/* Navigation Arrow Container */
.modal-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Allows clicking image behind it if needed */
}

.modal-nav-btn {
    pointer-events: auto; /* Re-enable clicks for buttons */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    background: var(--gold);
    color: black;
    transform: scale(1.1);
}

/* Adjustments for Mobile */
@media (max-width: 768px) {
    .modal-nav {
        top: auto;
        bottom: -70px;
        width: 150px;
        left: 50%;
        transform: translateX(-50%);
    }

    .modal-close {
        top: -40px;
        font-size: 2.5rem;
    }

    .modal-img {
        max-height: 70vh;
    }
}
/* ========================================================= */
/* ABOUT US SECTION - SHAANFOTOGRAPHY THEME (UPDATED LAYOUT) */
/* ========================================================= */

.about-section {
    padding: 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-black);
}

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

.section-header h1 {
    font-family: 'Playfair Display', serif;
    color: #ffffff; /* Changed to white */
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h1:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--gold); /* Keep gold for decorative elements */
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.2rem;
    color: #ffffff; /* Changed to white */
    max-width: 600px;
    margin: 20px auto 0;
}

/* Image and Note Container for PC Layout */
.about-content-container {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

/* Picture Section for PC */
.about-picture {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-picture img {
    width: 85%; /* Reduced from 100% */
    max-width: 400px; /* Reduced from 500px */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.1);
    transition: transform 0.8s ease;
    filter: brightness(0.9) contrast(1.1);
}

.about-picture:hover img {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.image-frame {
    position: relative;
    z-index: 2;
    width: 85%; /* Match image width */
    max-width: 400px; /* Match image max-width */
    display: flex;
    justify-content: center;
}

.image-frame:before {
    content: '';
    position: absolute;
    width: calc(100% + 30px); /* Reduced from 40px */
    height: calc(100% + 30px); /* Reduced from 40px */
    border: 2px solid var(--gold);
    top: -15px; /* Reduced from -20px */
    left: -15px; /* Reduced from -20px */
    z-index: -1;
    border-radius: 10px;
    opacity: 0.5;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.image-frame:after {
    content: '';
    position: absolute;
    width: 40px; /* Reduced from 50px */
    height: 40px; /* Reduced from 50px */
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    top: -20px; /* Reduced from -25px */
    left: -20px; /* Reduced from -25px */
    z-index: -1;
}

/* Craft Note Section for PC */
.about-note {
    flex: 1;
    padding-left: 20px;
}

.about-note h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #ffffff; /* Changed to white */
    margin-bottom: 20px;
}

.about-note p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #ffffff; /* Changed to white */
    line-height: 1.7;
}

.about-note strong {
    color: #ffffff; /* Changed to white */
    font-weight: 600;
}

/* Balance Portion (Features & Stats) */
.balance-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.features-section {
    padding-right: 20px;
}

.stats-section {
    padding-left: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.1);
    background-color: rgba(255, 215, 0, 0.05);
}

.feature-icon {
    background-color: rgba(255, 215, 0, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold); /* Keep gold for icons */
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.feature-item:hover .feature-icon {
    background-color: var(--gold);
    color: var(--bg-black);
    transform: rotateY(180deg);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.feature-text h3 {
    font-size: 1.2rem;
    color: #ffffff; /* Changed to white */
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.95rem;
    color: #ffffff; /* Changed to white */
    margin-bottom: 0;
}

.stats {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    padding: 30px;
    background-color: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.stats:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stat-item {
    text-align: center;
    padding: 15px 0;
    position: relative;
}

.stat-item:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255, 215, 0, 0.3);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #ffffff; /* Changed to white */
    font-weight: 600;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #ffffff; /* Changed to white */
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-element {
    position: absolute;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
}

.floating-1 {
    top: 10%;
    left: 5%;
    font-size: 10rem;
    color: var(--gold); /* Keep gold for decorative elements */
    animation: float 15s infinite linear;
}

.floating-2 {
    bottom: 10%;
    right: 5%;
    font-size: 8rem;
    color: rgba(255, 215, 0, 0.7); /* Keep gold for decorative elements */
    animation: float 18s infinite linear reverse;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* ========================================================= */
/* RESPONSIVE BREAKPOINTS */
/* ========================================================= */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .about-content-container {
        gap: 60px;
    }
}

/* Tablet and below (992px and below) */
@media (max-width: 992px) {
    .section-header h1 {
        font-size: 2.8rem;
    }

    .about-note h2 {
        font-size: 2rem;
    }

    .balance-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-section {
        padding-right: 0;
    }

    .stats-section {
        padding-left: 0;
    }

    .stat-item:not(:last-child):after {
        display: none;
    }

    .stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .stat-item {
        width: 50%;
        padding: 10px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 20px;
    }

    /* Change from side-by-side to stacked layout */
    .about-content-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-picture {
        width: 100%;
        margin-bottom: 30px;
    }

    .about-note {
        padding-left: 0;
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .stats {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .floating-1, .floating-2 {
        display: none;
    }

    /* Adjust picture for mobile - make it larger */
    .about-picture img {
        width: 100%;
        max-width: 350px; /* Slightly larger on mobile */
    }

    .image-frame {
        width: 100%;
        max-width: 350px; /* Slightly larger on mobile */
    }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
    .section-header h1 {
        font-size: 2.2rem;
    }

    .about-note h2 {
        font-size: 1.8rem;
    }

    .stat-item {
        width: 100%;
    }

    .feature-item {
        padding: 12px;
    }

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

    .section-header p {
        font-size: 1rem;
    }

    .about-note p {
        font-size: 1rem;
    }

    /* Adjust picture for small mobile */
    .about-picture img {
        max-width: 320px;
    }

    .image-frame {
        max-width: 320px;
    }
}


/* ========================================================= */
/* SHAAN PHOTOGRAPHY SERVICE SECTION (THEMED) */
/* ========================================================= */
/* ========================================================= */
/* SHAAN PHOTOGRAPHY - INFINITE WHEEL SERVICES */
/* ========================================================= */

.services-section {
    padding: 80px 0;
    background-color: var(--bg-black);
    overflow: hidden;
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.services-track {
    width: 100%;
    display: flex;
    overflow: hidden;
}

/* --- DESKTOP: FIXED 3 COLUMNS --- */
.services-grid {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
    padding: 0 5%;
}

/* Hide the duplicate cards on Desktop to keep it fixed */
.services-grid .service-category:nth-child(n+4) {
    display: none;
}

.service-category {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    text-align: center;
    flex: 0 0 320px; /* Same size for all */
    min-height: 310px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.category-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; }
.service-category h3 { font-family: 'Playfair Display', serif; color: #fff; }
.service-category ul { list-style: none; padding: 0; margin-top: auto; }
.service-category li { padding: 8px 0; color: var(--text-gray); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

/* --- MOBILE & TABLET: THE WHEEL ANIMATION --- */
@media (max-width: 1024px) {
    /* Show all 6 cards for the loop */
    .services-grid .service-category:nth-child(n+4) {
        display: flex;
    }

    .services-grid {
        justify-content: flex-start;
        width: max-content; /* Needed for animation */
        padding: 20px;
        animation: wheelScroll 15s linear infinite;
    }

    /* Pause wheel on touch */
    .services-grid:active {
        animation-play-state: paused;
    }
}

@keyframes wheelScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Moves exactly by the width of the first 3 cards + gaps */
        transform: translateX(calc(-50% - 15px));
    }
}

/* Specific size for smaller phones */
@media (max-width: 576px) {
    .service-category {
        flex: 0 0 280px;
        min-height: 380px;
    }
}
/* ========================================================= */
/* CONTACT SECTION - BALANCED & FIXED */
/* ========================================================= */

.luxury-contact {
    background: #1a1a1a;
    padding: 78px 0;
    color: #ffffff;
}

.contact-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Titles */
.gold-subtitle {
    color: #c5a059;
    letter-spacing: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.gold-subtitle:hover {
    color: #d4b77d;
}

.section-main-title {
    font-size: 1.7rem;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.section-main-title:hover {
    color: #f0f0f0;
}

/* FIXED: Equal Height Containers */
.enquiry-form-wrapper,
.contact-info-side {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.enquiry-form-wrapper:hover,
.contact-info-side:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.form-label {
    color: #888;
    font-size: 0.65rem;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.form-label:hover {
    color: #aaa;
}

.form-control, .form-select {
    background: #222 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    font-size: 0.85rem;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:hover, .form-select:hover {
    border-color: #444 !important;
}

.form-control:focus, .form-select:focus {
    border-color: #c5a059 !important;
    box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.1) !important;
}

.btn-enquiry-refined {
    width: 100%;
    background: linear-gradient(135deg, #c5a059 0%, #a37e3d 100%);
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-enquiry-refined:hover {
    background: linear-gradient(135deg, #d4b468 0%, #b38d45 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
}

.btn-enquiry-refined:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Branch Cards */
.branch-card-link {
    text-decoration: none !important;
    display: block;
}

.branch-card {
    background: #252525 !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.branch-card:hover {
    background: #2a2a2a !important;
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.branch-card:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.branch-name {
    color: #c5a059;
    font-size: 0.9rem;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.branch-card:hover .branch-name {
    color: #d4b468;
}

.branch-address {
    color: #999;
    font-size: 0.75rem;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.branch-card:hover .branch-address {
    color: #bbb;
}

/* FIXED: Locate on Map Text */
.map-action-link {
    color: #c5a059;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.map-action-link:hover {
    color: #d4b468;
    border-top-color: rgba(197, 160, 89, 0.3);
    gap: 12px;
}

.map-action-link i {
    transition: transform 0.3s ease;
}

.map-action-link:hover i {
    transform: translateX(3px);
}

/* FIXED: Call Us CSS */
.contact-methods-grid {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    margin-top: auto; /* Pushes Call Us to the bottom of the container */
}

.method-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-item:hover {
    background: rgba(197, 160, 89, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.method-item:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.method-icon i {
    color: #c5a059;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background: rgba(197, 160, 89, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.method-item:hover .method-icon i {
    background: rgba(197, 160, 89, 0.2);
    color: #d4b468;
    transform: scale(1.05);
}

.method-label {
    display: block;
    font-size: 0.6rem;
    color: #888;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.method-item:hover .method-label {
    color: #aaa;
}

.method-value {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.method-item:hover .method-value {
    color: #f0f0f0;
}

/* Mobile View Adjustments */
@media (max-width: 991px) {
    .mobile-center-head {
        text-align: center;
    }

    .method-item {
        justify-content: center;
    }

    .map-action-link {
        justify-content: center;
        background: rgba(197, 160, 89, 0.05);
        padding: 8px;
        border-radius: 4px;
        border: none;
    }

    .map-action-link:active {
        background: rgba(197, 160, 89, 0.1);
        transform: scale(0.98);
    }

    .branch-card:active {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }

    .btn-enquiry-refined:active {
        transform: translateY(0);
        box-shadow: 0 2px 5px rgba(197, 160, 89, 0.3);
    }

    .method-item:active {
        transform: translateY(0);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-enquiry-refined:hover,
    .branch-card:hover,
    .method-item:hover,
    .map-action-link:hover {
        transform: none !important;
    }

    .enquiry-form-wrapper:hover,
    .contact-info-side:hover {
        box-shadow: none;
        background: rgba(255, 255, 255, 0.02);
    }

    .branch-card:hover {
        border-color: rgba(255, 255, 255, 0.05);
    }
}




/* ========================================================= */
/* Contact-footer section */
/* ========================================================= */



.studio-footer {
    background: #111111; /* Slightly darker than the contact section */
    padding: 40px 0 20px;
    color: #ffffff;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-logo span {
    color: #c5a059; /* Gold accent */
}

.footer-brand p {
    color: #777;
    font-size: 0.8rem;
    margin: 0;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #ffffff;
    font-size: 1.2rem;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    text-decoration: none;
}

.footer-social a:hover {
    color:yellow;
    background: #c5a059;
    transform: translateY(-3px);
}

/* Bottom Copyright */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #555;
    font-size: 0.75rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Base state for all fade-in elements */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* When the JS adds 'visible' */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* STAGGER EFFECT: Makes elements appear one after another */
.luxury-contact .fade-in:nth-child(1) { transition-delay: 0.1s; }
.luxury-contact .col-lg-6:nth-child(1).fade-in { transition-delay: 0.3s; }
.luxury-contact .col-lg-6:nth-child(2).fade-in { transition-delay: 0.5s; }









/* ========================================================= */
/* Whats App, Mobile, and Professional Camera Animation */
/* ========================================================= */

/* Container Alignment */
.contact-stack {
    position: fixed;
    right: 25px;
    /* FIX: bottom calculation that respects mobile dynamic bars */
    bottom: calc(25px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    align-items: flex-end;

    /* FIX: Pin to graphics layer to stop jumping */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    pointer-events: none; /* Container doesn't block scrolling */
}

/* Modern Button Base */
.modern-btn {
    position: relative;
    width: 55px;
    height: 55px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    box-sizing: border-box;
    pointer-events: auto; /* Reactivate clicking for buttons */
    /* Ensure hardware acceleration for animations */
    will-change: transform, box-shadow;
}

/* Icons Styling */
.modern-btn i {
    font-size: 22px;
    z-index: 2;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-whatsapp i { color: #25D366; }
.btn-phone i { color: #d4af37; } /* Gold color */
.btn-camera-booking i { color: #ffffff; }

/* --- PC SPECIFIC: CAMERA BUTTON --- */
@media (min-width: 577px) {
    .mobile-only { display: none !important; }

    .btn-camera-booking {
        width: 55px;
        overflow: hidden;
        padding: 0 15px;
        justify-content: flex-start; /* Keeps icon fixed when expanding */
    }

    /* Fixed alignment for icon inside camera button */
    .btn-camera-booking i {
        min-width: 25px;
        text-align: center;
    }

    /* Professional "Book Now" Text */
    .book-text-pc {
        max-width: 0;
        opacity: 0;
        overflow: hidden;
        font-weight: 700;
        font-size: 13px;
        color: #fff;
        transition: all 0.4s ease;
        white-space: nowrap;
        letter-spacing: 1px;
        margin-left: 0;
    }

    /* PC Hover: Button expands and reveals text */
    .btn-camera-booking:hover {
        width: 160px;
        border-color: #d4af37; /* Gold focus border */
        background: #000;
    }

    .btn-camera-booking:hover .book-text-pc {
        max-width: 100px;
        opacity: 1;
        margin-left: 12px;
    }

    /* Camera Focus Bracket Animation */
    .camera-focus-bracket {
        position: absolute;
        width: 35px;
        height: 35px;
        border: 1px solid rgba(212, 175, 55, 0);
        transition: all 0.3s ease;
        z-index: 1;
    }

    .btn-camera-booking:hover .camera-focus-bracket {
        border-color: rgba(212, 175, 55, 0.5);
        transform: scale(1.2);
    }
}

/* --- MOBILE SPECIFIC: WHATSAPP/PHONE --- */
@media (max-width: 576px) {
    .desktop-only { display: none !important; }

    .contact-stack {
        right: 15px;
        bottom: 20px;
        gap: 12px;
    }

    .modern-btn {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
}

/* --- SHARED ANIMATIONS --- */

/* Shutter Click effect when clicking (Active State) */
.modern-btn:active {
    transform: scale(0.9) !important;
}

/* Label logic for Mobile/Secondary buttons */
.btn-label {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.modern-btn:hover .btn-label {
    opacity: 1;
    right: 65px;
}

/* Glow Pulses for Mobile Icons */
.btn-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: inherit;
    z-index: 1;
}

.btn-whatsapp .btn-glow { animation: pulse-green 2.5s infinite; }
.btn-phone .btn-glow { animation: pulse-gold 2.5s infinite; }

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
