/* =========================================================================
   1. CSS VARIABLES & THEME
   ========================================================================= */

/* ── LIGHT MODE (default) ── */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Backgrounds */
    --bg-color:     #FAFAFA;  /* Warm off-white main background  */
    --bg-alt:       #F1F1F1;  /* Soft gray for alternate sections */

    /* Text */
    --text-main:    #111111;  /* Near-black headings             */
    --text-muted:   #555555;  /* Mid-gray body text              */

    /* Accent – brand red (same in both modes) */
    --accent:       #E11D2E;
    --accent-hover: #C0101F;  /* Deeper red – readable on light  */

    /* Buttons */
    --primary:      #E11D2E;
    --primary-hover:#C0101F;
    --primary-text: #FFFFFF;

    /* Borders & Dividers */
    --border-color: #E0E0E0;

    /* Components */
    --card-bg:      #FFFFFF;
    --card-shadow:  0 4px 20px rgba(0, 0, 0, 0.07);
    --highlight:    #F5F5F5;

    /* Layout */
    --container-w: 1200px;
    --nav-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── DARK MODE – Luxury Cinematic ── */
[data-theme="dark"] {
    --bg-color:     #0B0B0B;  /* Deep matte black           */
    --bg-alt:       #161616;  /* Dark charcoal              */
    --text-main:    #FFFFFF;
    --text-muted:   #B3B3B3;  /* Soft gray                  */

    --accent:       #E11D2E;
    --accent-hover: #FF3B4A;  /* Brighter red on dark       */

    --primary:      #E11D2E;
    --primary-hover:#FF3B4A;
    --primary-text: #FFFFFF;

    --border-color: #2A2A2A;
    --card-bg:      #1A1A1A;
    --card-shadow:  0 10px 30px rgba(0, 0, 0, 0.6);
    --highlight:    #D1D5DB;
}

/* =========================================================================
   2. GLOBAL RESETS
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* =========================================================================
   3. UTILITIES & TYPOGRAPHY
   ========================================================================= */
.container {
    width: 90%;
    max-width: var(--container-w);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

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

.mt-4 {
    margin-top: 2rem;
}

/* Headings */
.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-text);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--primary-text);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-full {
    width: 100%;
}

/* =========================================================================
   4. NAVBAR
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
}

/* Light mode scrolled nav – bright frosted glass */
.header.scrolled {
    background-color: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Dark mode scrolled nav – dark frosted glass */
[data-theme="dark"] .header.scrolled {
    background-color: rgba(11, 11, 11, 0.92);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Over hero image: always white text regardless of theme */
.header:not(.scrolled) .logo,
.header:not(.scrolled) .nav-links a,
.header:not(.scrolled) .theme-toggle {
    color: #ffffff;
}

/* Once scrolled: light mode needs dark text on white nav */
.header.scrolled .logo,
.header.scrolled .nav-links a,
.header.scrolled .theme-toggle {
    color: var(--text-main);
}

/* Dark mode scrolled nav – keep white */
[data-theme="dark"] .header.scrolled .logo,
[data-theme="dark"] .header.scrolled .nav-links a,
[data-theme="dark"] .header.scrolled .theme-toggle {
    color: #FFFFFF;
}

.logo span {
    color: var(--accent);
}

/* ── Logo Image ── */
.logo-img {
    height: 72px;
    width: auto;
    display: block;
    border-radius: 6px;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* The logo has a black bg — looks perfect on dark nav */
}

.logo:hover .logo-img {
    transform: scale(1.04);
}

/* Light mode: when nav is scrolled (white bg), add a dark pill behind the logo */
.header.scrolled .logo-img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Footer logo — slightly larger */
.logo-img--footer {
    height: 72px;
    border-radius: 8px;
    margin-bottom: 0.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    font-size: 1.25rem;
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.header:not(.scrolled) .mobile-menu-btn {
    color: #ffffff;
}

/* =========================================================================
   5. HERO SECTION
   ========================================================================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    color: #ffffff;
    max-width: 800px;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero-content .tagline {
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* =========================================================================
   6. ABOUT SECTION
   ========================================================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    transform: translate(20px, 20px);
    z-index: -1;
    transition: var(--transition);
}

.about-image:hover::after {
    transform: translate(10px, 10px);
}

.about-image img {
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* =========================================================================
   7. PORTFOLIO GALLERY
   ========================================================================= */
.gallery-filters {
    position: sticky;
    top: 90px;

    display: flex;
    gap: 1rem;

    padding: 12px 20px;
    width: fit-content;
    margin: auto;

    backdrop-filter: blur(18px) saturate(180%);
    background: rgba(0,0,0,0.45);

    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.15);

    transition: all 0.35s ease;

    z-index: 100;
}

.gallery-filters.sticky-active {
    backdrop-filter: blur(25px) saturate(200%);
    transform: scale(0.95);
}

.gallery-filters:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}
.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-main);
    background-color: transparent;
    transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent);
    color: #ffffff;
}
.filter-btn.active {
    background: var(--accent);
    color: white;
    transform: scale(1.05);

    box-shadow:
        0 0 12px rgba(225,29,46,0.6);
}
.gallery-item {
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.gallery-item.hide {
    opacity: 0;
    transform: scale(0.9);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

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

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.hide {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery-overlay h3 {
    color: #ffffff;
    margin-bottom: 0.25rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-overlay .category-tag {
    color: var(--accent);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay .category-tag {
    transform: translateY(0);
}

.view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.view-btn:hover {
    background-color: var(--accent);
}

/* ── Featured Gallery Item ── */
.gallery-item.featured {
    grid-column: 1 / -1;
    margin-bottom: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.gallery-item.featured .gallery-img-wrapper {
    width: 100%;
    height: 480px;
    overflow: hidden;
    position: relative;
    display: block;
}

.gallery-item.featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-item.featured:hover {
    box-shadow: 0 12px 50px rgba(225, 29, 46, 0.25), 0 4px 20px rgba(0,0,0,0.4);
}

.gallery-item.featured .gallery-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    padding: 2.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* Featured badge */
.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    margin-bottom: 0.75rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item.featured:hover .featured-badge {
    transform: translateY(0);
}

.gallery-item.featured .gallery-overlay h3 {
    font-size: 1.75rem;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.08s;
}

.gallery-item.featured:hover .gallery-overlay h3 {
    transform: translateY(0);
}

.gallery-item.featured .category-tag {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.15s;
}

.gallery-item.featured:hover .category-tag {
    transform: translateY(0);
}

/* =========================================================================
   8. SERVICES
   ========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease;
    border: 1px solid var(--border-color);
    transform: perspective(800px) rotateX(0) rotateY(0);
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.service-card:hover {
    border-color: var(--accent);
    /* Light mode: gentle lift and soft red border glow */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 18px rgba(225, 29, 46, 0.15);
    transform: perspective(800px) translateY(-8px) scale(1.02);
}

[data-theme="dark"] .service-card:hover {
    /* Dark mode: deeper shadow + stronger red glow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(225, 29, 46, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-icon i {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-icon i {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.service-price {
    font-weight: 600;
    color: var(--text-main);
    display: block;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* =========================================================================
   9. NEW PRICING PACKAGES (Grid + Tabs + Toggle)
   ========================================================================= */
.pricing {
    position: relative;
    overflow: hidden;
}

/* Tabs */
.pricing-tabs-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.pricing-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .pricing-tabs {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-tab:hover {
    color: var(--text-main);
}

.pricing-tab.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(225, 29, 46, 0.4);
}

.pricing-tab i {
    font-size: 1.1em;
}

/* Controls & Preview */
.pricing-controls {
    margin-bottom: 3rem;
}

.pricing-preview-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pricing-preview-text span {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.3rem;
    transition: opacity 0.3s ease;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.toggle-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--border-color);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text-main);
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--accent);
}

input:checked + .slider:before {
  transform: translateX(30px);
  background-color: #fff;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Grid & Cards */
.pricing-grid-wrapper {
    width: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center; /* Allow normal cards to be a bit shorter next to popular */
    justify-content: center;
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 330px);
    }
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .pricing-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: rgba(225, 29, 46, 0.3);
}

[data-theme="dark"] .pricing-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* Popular Card Variant */
.pricing-card.popular {
    transform: scale(1.05);
    border: 1px solid var(--accent);
    box-shadow: 0 0 25px rgba(225, 29, 46, 0.15);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 15px 40px rgba(225, 29, 46, 0.25);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #ff4d4d);
    color: #fff;
    padding: 6px 18px;
    border-radius: 0 0 10px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(225, 29, 46, 0.4);
}

/* Pricing card details */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .price {
    color: var(--accent);
}

.pricing-divider {
    border: none;
    border-top: 1px dashed var(--border-color);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.pricing-features li span {
    transition: opacity 0.3s ease;
}

.book-btn {
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
}

/* Animation classes applied from JS */
.fade-in {
    animation: fadeSlideUp 0.4s ease-out forwards;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Keep scaling for popular cards inside animation */
.pricing-card.popular.fade-in {
    animation: fadeSlideUpPopular 0.4s ease-out forwards;
}

@keyframes fadeSlideUpPopular {
    from { opacity: 0; transform: scale(1.05) translateY(20px); }
    to { opacity: 1; transform: scale(1.05) translateY(0); }
}

@media (max-width: 768px) {
    .pricing-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        border-radius: 12px;
    }
    
    .pricing-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .pricing-card.popular.fade-in {
        animation: fadeSlideUp 0.4s ease-out forwards;
    }
}

/* =========================================================================
   10. TESTIMONIALS
   ========================================================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .testimonial-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.stars {
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    margin-bottom: 0.25rem;
}

.client-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =========================================================================
   11. CONTACT SECTION
   ========================================================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.method-info h4 {
    margin-bottom: 0.25rem;
}

.method-info a {
    color: var(--text-muted);
    transition: var(--transition);
}

.method-info a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-color);
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.12);
}

/* =========================================================================
   12. FOOTER
   ========================================================================= */
.footer {
    background-color: #0D0D0D;  /* Always near-black — premium brand feel */
    color: #f8fafc;
    padding-top: 5rem;
}

[data-theme="dark"] .footer {
    background-color: #080808;
    border-top: 1px solid #2A2A2A;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: #ffffff;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #050505;
    padding: 1.5rem 0;
    text-align: center;
    color: #888888;
    font-size: 0.875rem;
}

/* =========================================================================
   13. FLOATING BUTTONS
   ========================================================================= */
.floating-btn {
    position: fixed;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: var(--transition);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    right: 30px;
    background-color: #25D366;
    /* WhatsApp Green */
}

.back-to-top {
    left: 30px;
    background-color: var(--accent);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* =========================================================================
   14. LIGHTBOX MODAL
   ========================================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    transform: scale(0.85);
    /* Start smaller for dramatic zoom */
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    /* Deeper shadow */
    border-radius: var(--radius-sm);
    opacity: 0;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.1s;
}

.lightbox.active .lightbox-caption {
    transform: translateY(0);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    z-index: 2001;
}

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

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition);
    user-select: none;
    z-index: 2001;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
}

/* =========================================================================
   15. RESPONSIVE DESIGN (Media Queries)
   ========================================================================= */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .pricing-card.popular {
        transform: scale(1);
        /* Disable scale on tablet to prevent overlap issues */
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    /* Dark mode mobile menu fix */
    [data-theme="dark"] .nav-links {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid var(--border-color);
    }

    .header:not(.scrolled) .nav-links a {
        color: var(--text-main);
        /* Ensure links are visible when opened on top */
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        padding: 2rem 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        font-size: 1.125rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand p {
        margin: 0 auto 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .d-none-mobile {
        display: none;
    }
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

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

/* =========================================================================
   12. FOOTER (duplicate block – kept for specificity, points to same dark base)
   ========================================================================= */
.footer {
    background-color: #0D0D0D;
    color: #f8fafc;
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: #94a3b8;
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    text-align: center;
    color: #888888;
    font-size: 0.875rem;
}

/* =========================================================================
   13. INSTAGRAM FEED & FLOATING ELEMENTS
   ========================================================================= */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.insta-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
    display: block;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
}

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

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

/* Floating Buttons */
.floating-btn {
    position: fixed;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-btn {
    right: 30px;
    background-color: #25D366;
    /* WhatsApp Green */
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
}

.back-to-top {
    right: 100px;
    background-color: var(--primary);
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-5px);
}

/* =========================================================================
   14. LIGHTBOX MODAL
   ========================================================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

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

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    color: #fff;
    font-size: 1.25rem;
    text-align: center;
    width: 100%;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--accent);
}

/* =========================================================================
   15. ANIMATIONS & REVEAL (JS)
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.fade-up {
    animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

/* =========================================================================
   15. RESPONSIVE QUERIES
   ========================================================================= */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        transform: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header:not(.scrolled) .nav-links.active a {
        color: var(--text-main);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .gallery-grid {
        column-count: 1;
    }

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

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 20px;
    }

    .whatsapp-btn {
        right: 20px;
    }

    .back-to-top {
        right: 75px;
    }
}

/* =========================================================================
   16. CUSTOM COMPONENTS (Studio Location)
   ========================================================================= */
.studio-location {
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-alt);  /* Uses theme variable — light=F1F1F1, dark=161616 */
}

.studio-location h2 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.map-container {
    max-width: 1100px;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .map-container {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}