/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    width: 100%;
    min-height: 100vh;
    background-color: #050505;
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.85)), url('../hero image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
  }
  
  body.no-scroll {
    overflow: hidden !important;
  }
  
  main {
    position: relative;
    width: 100%;
  }
  
  .content-section {
    position: relative;
    min-height: 100vh;
    padding: 8rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
  }
  
  /* ==========================================================================
     2. PRELOADER
     ========================================================================== */
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  #preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  
  .loader-content {
    text-align: center;
    max-width: 90vw;
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .loader-text {
    font-size: clamp(1.4rem, 4vw, 2.8rem);
    letter-spacing: 0.25rem;
    margin-bottom: 2rem;
    font-weight: 800;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    transition: font-family 0.15s ease;
  }
  
  .progress-container {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 2px;
  }
  
  .progress-bar {
    width: 0%;
    height: 100%;
    background: #ffffff;
    transition: width 0.1s linear;
  }
  
  .loader-bottom-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 2.5rem;
  }
  
  .enter-btn {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 0.8rem 2.8rem;
    letter-spacing: 0.25rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .enter-btn.show {
    opacity: 1;
    pointer-events: auto;
  }
  
  .enter-btn:hover {
    background: #ffffff;
    color: #000000;
  }
  
  /* ==========================================================================
     3. HEADER & NAVIGATION
     ========================================================================== */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.8rem 2.5rem;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
  }
  
  .logo img {
    height: 120px;
    width: auto;
  }
  
  .dropdown {
    justify-self: end;
    position: relative;
  }
  
  .dropdown-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(8px);
    min-width: 140px;
    border: 1px solid #222;
  }
  
  .dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Side Nav Dots */
  .side-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 2000;
  }
  
  .nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
  }
  
  .nav-dot.active {
    background: #fff;
    transform: scale(1.4);
  }
  
  /* ==========================================================================
     4. HERO SECTION
     ========================================================================== */
  .hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    will-change: transform, opacity, filter;
  }
  
  .main-logo-heading {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    letter-spacing: 0.4rem;
    font-weight: 800;
  }
  
  .hero-subtext {
    font-size: 1rem;
    letter-spacing: 0.25rem;
    color: #ccc;
    margin-top: 0.5rem;
  }
  
  /* ==========================================================================
     5. ABOUT SECTION
     ========================================================================== */
  .about-container {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    max-width: 1100px;
    width: 100%;
  }
  
  .about-image-wrapper {
    flex: 1;
    max-width: 360px;
  }
  
  .about-profile-img {
    width: 100%;
    border-radius: 6px;
    display: block;
  }
  
  .about-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .about-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  
  .about-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    letter-spacing: 0.05rem;
  }
  
  .about-text {
    color: #ccc;
    line-height: 1.7;
    font-size: 1.05rem;
  }
  
  .about-socials {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
  }
  
  .social-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
  }
  
  .social-icon-btn i {
    font-size: 1rem;
  }
  
  .social-icon-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
  }
  
  /* ==========================================================================
     6. WORK SECTION & 3D STAGE CAROUSEL
     ========================================================================== */
  .filter-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .filter-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #444;
    color: #ccc;
    padding: 0.6rem 1.6rem;
    cursor: pointer;
    letter-spacing: 0.1rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
  }
  
  .filter-btn.active {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
  }
  
  .carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
  }
  
  .carousel-stage {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .carousel-card {
    position: absolute;
    width: 55%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000; /* Letterbox background for portrait media */
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Contain prevents 1080x1920 vertical videos from stretching into landscape boxes */
  .carousel-card img,
  .carousel-card video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; 
  }
  
  /* Center Card */
  .carousel-card.active-card {
    z-index: 3;
    transform: translateX(0) scale(1);
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  /* Left Preview Card */
  .carousel-card.prev-card {
    z-index: 2;
    transform: translateX(-65%) scale(0.82);
    opacity: 0.45;
    filter: blur(1px);
    cursor: pointer;
  }
  
  /* Right Preview Card */
  .carousel-card.next-card {
    z-index: 2;
    transform: translateX(65%) scale(0.82);
    opacity: 0.45;
    filter: blur(1px);
    cursor: pointer;
  }
  
  .carousel-card.prev-card:hover,
  .carousel-card.next-card:hover {
    opacity: 0.75;
  }
  
  .carousel-arrow {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .carousel-arrow:hover {
    background: #fff;
    color: #000;
  }
  
  .carousel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin-top: 1.2rem;
  }
  
  .carousel-counter {
    font-family: monospace;
    color: #888;
    font-size: 0.9rem;
  }
  
  .view-all-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity 0.2s ease;
  }
  
  .view-all-btn:hover {
    opacity: 0.7;
  }
  
  /* ==========================================================================
     7. PINTEREST / MASONRY BOARD (Modal Overlay)
     ========================================================================== */
  .gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(16px);
    z-index: 10000;
    display: none;
    flex-direction: column;
    padding: 4rem 2rem 2rem 2rem;
    overflow-y: auto;
  }
  
  .gallery-modal.open {
    display: flex;
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 2rem auto;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .modal-header h3 {
    font-size: 1.8rem;
    letter-spacing: 0.2rem;
  }
  
  .modal-type-filters {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .modal-type-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  
  .modal-type-btn.active,
  .modal-type-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
  }
  
  .close-modal-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .close-modal-btn:hover {
    background: #fff;
    color: #000;
  }
  
  /* Pinterest Columns */
  .pinterest-grid {
    column-count: 4;
    column-gap: 1.2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }
  
  .pin-item {
    break-inside: avoid;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .pin-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .pin-item img,
  .pin-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
  }
  
  /* Pinterest Height Adjustments for 9:16 reels */
  .pin-item.tall { height: 520px; }
  .pin-item.medium { height: 360px; }
  .pin-item.short { height: 240px; }
  
  /* ==========================================================================
     8. RATES & CONTACT SECTION
     ========================================================================== */
  .rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
    perspective: 1000px;
  }
  
  .rate-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem 2rem;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
  }
  
  .rate-card:hover {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
  }
  
  .rate-card h3 {
    letter-spacing: 0.12rem;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
  
  .price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #fff;
    letter-spacing: 0.05rem;
  }
  
  .rate-card p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
  }
  
  .fee-subtext {
    font-size: 0.75rem;
    font-family: monospace;
    color: #888;
    letter-spacing: 0.08rem;
    margin-bottom: 1.5rem;
  }
  
  .price-tag {
    font-weight: 700;
    letter-spacing: 0.1rem;
    cursor: pointer;
    margin-top: auto;
    font-size: 0.85rem;
    transition: color 0.2s ease;
  }
  
  .price-tag:hover {
    color: #aaa;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 450px;
    width: 100%;
  }
  
  .contact-form input, 
  .contact-form textarea {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid #333;
    color: #fff;
    padding: 1rem;
    font-family: inherit;
    backdrop-filter: blur(4px);
  }
  
  .contact-form button {
    background: #fff;
    color: #000;
    padding: 1rem;
    border: none;
    font-weight: bold;
    letter-spacing: 0.1rem;
    cursor: pointer;
  }
  
  /* ==========================================================================
     9. SITE FOOTER
     ========================================================================== */
  .site-footer {
    position: relative;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 4rem 2rem 2rem 2rem;
    margin-top: 4rem;
    z-index: 100;
  }
  
  .footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
  }
  
  .footer-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    color: #777;
    font-family: monospace;
  }
  
  .footer-nav {
    display: flex;
    gap: 1.8rem;
  }
  
  .footer-nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.15rem;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .footer-nav a:hover {
    color: #fff;
  }
  
  .footer-socials {
    display: flex;
    gap: 1.2rem;
  }
  
  .footer-socials a {
    color: #aaa;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(17, 17, 17, 0.6);
  }
  
  .footer-socials a:hover {
    color: #000;
    background: #fff;
    border-color: #fff;
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    max-width: 1100px;
    margin: 1.8rem auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 0.1rem;
    font-family: monospace;
  }
  
  .back-to-top {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .back-to-top:hover {
    color: #fff;
  }
  
  /* ==========================================================================
     10. MEDIA QUERIES & RESPONSIVENESS
     ========================================================================== */
  @media (max-width: 1024px) {
    .pinterest-grid { column-count: 3; }
    .carousel-card { width: 75%; }
    .carousel-card.prev-card { transform: translateX(-40%) scale(0.85); }
    .carousel-card.next-card { transform: translateX(40%) scale(0.85); }
  }
  
  @media (max-width: 800px) {
    .about-container { flex-direction: column; text-align: center; }
    .about-tags { justify-content: center; }
    .carousel-container { gap: 0.5rem; }
    .carousel-arrow { width: 38px; height: 38px; font-size: 1.1rem; }
  }
  
  @media (max-width: 768px) {
    .pinterest-grid { column-count: 2; }
    .carousel-stage { height: 360px; }
    .carousel-card { width: 85%; }
  
    .footer-container {
      flex-direction: column;
      text-align: center;
      gap: 1.8rem;
    }
    
    .footer-nav {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.2rem;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
  }
  
  @media (max-width: 480px) {
    .pinterest-grid { column-count: 1; }
  }