/* ================= GLOBAL ================= */

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:#000;
    color:#fff;
    font-family:'Inter', sans-serif;
    overflow-x:hidden;
}

/* ================= NAVBAR ================= */

.navbar{
    position:fixed;
    top:0;
    left:0;
    right:0;
    padding:25px 60px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(6px);
    z-index:1000;
}



.menu{
    text-align:center;
    display:flex;
    gap:40px;
}

.menu a,
.menu a:visited,
.mobile-projects-menu a,
.mobile-projects-menu a:visited{
    color:#fff;
    text-decoration:none;
}

.social-icons{
    text-align:right;
    position:absolute;
    right:60px;
}

.social-icons a{
    color:white;
    margin-left:20px;
    font-size:18px;
    transition:0.3s;
}

.social-icons a:hover{
    color:#ff7a00;
}
.navbar > div:first-child{
    position:absolute;
    left:60px;
}

/* ================= PORTFOLIO DROPDOWN ================= */


.dropdown{
    position:relative;
    display:inline-block;
}

.dropdown-menu{
    position:absolute;
    top:140%;
    left:50%;
    transform:translateX(-50%) translateY(10px);
    background:rgba(15,15,15,0.9);
    backdrop-filter:blur(12px);
    padding:20px 0;
    min-width:220px;
    border-radius:8px;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 10px 40px rgba(0,0,0,0.5);

    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
    z-index:1000;
}

/* Dropdown links */
.dropdown-menu a{
    display:block;
    padding:12px 30px;
    font-size:14px;
    letter-spacing:1px;
    color:white;
    text-decoration:none;
    transition:0.3s ease;
}

.dropdown-menu a:hover{
    background:rgba(255,255,255,0.05);
    color:#0000ff;
    padding-left:36px; /* subtle slide effect */
}

/* Show on hover */
.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}

/* ================= TEXT ================= */

.small-text,
.section-label{
    font-weight:300;
    letter-spacing:2px;
    font-size:14px;
    opacity:0.7;
}

.main-heading{
    font-family:'Bebas Neue', sans-serif;
    letter-spacing:3px;
    margin-bottom:30px;
}

/* ================= HERO ================= */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 120px;
    background:
        radial-gradient(circle at right, rgba(133, 216, 255, 0.35), transparent 40%),
        #000;
}

.hero-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    max-width:1300px;
    margin:auto;
}

.hero-left{
    max-width:600px;
}

.hero .main-heading{
    font-size:120px;
    margin:10px 0;
}

.hero-about{
    margin-top:25px;
    line-height:1.7;
    opacity:0.85;
}

.hero-right img{
    width:420px;
    border-radius:12px;
    object-fit:cover;
}

/* ================= BIO SOFTWARE ================= */

.bio-tools{
    margin-top:30px;
}

.bio-tools-label{
    font-size:12px;
    letter-spacing:2px;
    opacity:0.6;
    margin-bottom:12px;
}

.bio-tools-list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.bio-tools-list span{
    border:1px solid rgba(255,255,255,0.15);
    padding:6px 14px;
    font-size:12px;
    letter-spacing:1px;
    transition:0.3s ease;
}

.bio-tools-list span:hover{
    background:rgba(255,255,255,0.05);
    border-color:rgba(255,255,255,0.3);
}
/* ================= BIG SCROLL INDICATOR ================= */

.hero{
    position:relative;
}

.scroll-indicator{
    position:absolute;
    bottom:50px;
    left:50%;
    transform:translateX(-50%);
}

.scroll-indicator span{
    display:block;
    width:35px;     /* bigger */
    height:35px;    /* bigger */
    border-left:4px solid white;
    border-bottom:4px solid white;
    transform:rotate(-45deg);
    animation:scrollBounce 1.5s infinite;
    opacity:0.9;
}

@keyframes scrollBounce{
    0% { transform:rotate(-45deg) translateY(0); opacity:0.5; }
    50% { transform:rotate(-45deg) translateY(10px); opacity:1; }
    100% { transform:rotate(-45deg) translateY(0); opacity:0.5; }
}
.scroll-indicator{
    position:absolute;
    bottom:50px;
    left:50%;
    transform:translateX(-50%);
    text-decoration:none;
}
/* ================= PROJECTS ================= */

.projects{
    padding:80px 120px 120px 120px;
    text-align:center;
}

.projects .main-heading{
    font-size:70px;
}

.category-row{
    display:flex;
    width:100%;
    margin-top:60px;
    gap:30px;
}

.category-link{
    display:block;
    flex:1;
    text-decoration:none;
    color:inherit;
}

.category-card{
    position:relative;
    height:320px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#1a1a1a;
    color:white;
    transition:0.4s;
    cursor:pointer;
}

.category-link:hover .category-card{
    transform:scale(1.03);
    background:#222;
}

.category-card h3{
    position:relative;
    z-index:2;
    font-family:'Bebas Neue', sans-serif;
    letter-spacing:2px;
    font-size:40px;
}

/* Background overlay system */

.concerts-bg::before{
    content:"";
    position:absolute;
    inset:0;
    background:url('../Assets/main/concerts.jpg') center/cover no-repeat;
    filter:blur(2px);
    transform:scale(1.1);
    z-index:0;
}

.brands-bg::before{
    content:"";
    position:absolute;
    inset:0;
    background:url('../Assets/projects/brands/instax/instax_2.jpg') center/cover no-repeat;
    filter:blur(2px);
    transform:scale(1.1);
    z-index:0;
}

.fashion-bg::before{
    content:"";
    position:absolute;
    inset:0;
    background:url('../Assets/main/saburi.jpg') center/cover no-repeat;
    filter:blur(2px);
    transform:scale(1.1);
    z-index:0;
}

.concerts-bg::after,
.brands-bg::after,
.fashion-bg::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
    z-index:1;
}
.ai-bg::before{
    content:"";
    position:absolute;
    inset:0;
    background:url('../Assets/projects/ai/royalenfield/royal_7.jpg') center/cover no-repeat;
    filter:blur(2px);
    transform:scale(1.1);
    z-index:0;
}

/* ================= SLIDER ================= */

.slider-title{
    font-family:'Bebas Neue', sans-serif;
    font-size:36px;
    margin:30px 0 20px;
    text-align:center;
    display:flex;
    gap:25px;
}

.auto-slider{
    width:100%;
    overflow:hidden;
}

.auto-track{
    display:flex;
    gap:30px;
    width:max-content;            /* IMPORTANT */
    animation:scrollSlider 20s linear infinite;  /* slower */
}

.auto-track img{
    width:320px;
    height:240px;
    object-fit:cover;
    border-radius:10px;
    flex-shrink:0;
}

@keyframes scrollSlider{
    from { transform:translateX(0); }
    to   { transform:translateX(-50%); }
}

.slide-item{
    position:relative;
    min-width:620px;
    height:380px;
    flex-shrink:0;
}

.slide-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
}

.slide-title{
    position:absolute;
    bottom:12px;
    left:14px;
    font-family:'Bebas Neue', sans-serif;
    font-size:22px;
    letter-spacing:1px;
    color:white;
}

/* ================= GALLERY ================= */

.preview-grid{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.preview-grid img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:8px;
    transition:0.4s ease;
}

.preview-grid img:hover{
    transform:scale(1.03);
}

.full-gallery{
    display:none;
    margin-top:80px;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.full-gallery img{
    width:100%;
    height:240px;
    object-fit:cover;
    border-radius:8px;
}

.hidden-work {
    display: none !important;
}

.hidden-work.show-work {
    display: block !important;
}

.see-more-section{
    text-align:center;
    margin-top:40px;
}

.see-more-btn{
    font-family:'Bebas Neue', sans-serif;
    letter-spacing:2px;
    font-size:24px;
    color:white;
    background:none;
    border:1px solid #fff;
    padding:12px 40px;
    cursor:pointer;
}

.page-description{
    max-width:900px;
    margin:15px auto 10px;
    font-weight:300;
    line-height:1.7;
    opacity:0.85;
    text-align:center;
}

/* ================= PREVIEW GRID OVERLAY TITLES ================= */

.preview-grid .grid-item{
    position:relative;
    display:block;
    overflow:hidden;
    border-radius:8px;
}

.preview-grid .grid-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:8px;
    transition:0.4s ease;
}

/* Title bottom-left like slider */
.preview-grid .grid-title{
    position:absolute;
    bottom:18px;
    left:20px;
    font-family:'Bebas Neue', sans-serif;
    font-size:26px;
    letter-spacing:2px;
    color:white;
    z-index:2;
}

/* Subtle dark fade for readability */
.preview-grid .grid-item::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:120px;
    background:linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    z-index:1;
}

/* Slight zoom on hover */
.preview-grid .grid-item:hover img{
    transform:scale(1.05);
}

/* ================= TOP WORKS ================= */

.topworks-section{
    width:100%;
    margin:100px 0 150px;
    padding:0;
    text-align:center;
}

.topworks-section .main-heading{
    font-size:90px;
    margin-bottom:60px;
}

.topworks-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    width:100%;
}

.topwork-item{
    display:flex;
    align-items:center;
    gap:25px;
    padding:50px 60px;
    border-bottom:1px solid rgba(255,255,255,0.15);
    border-right:1px solid rgba(255,255,255,0.15);
}


.topwork-item img{
    width:250px;
    height:150px;
    object-fit:cover;
    border-radius:6px;
    flex-shrink:0;
    transition:0.4s ease;
}
.topwork-item img:hover{
    transform:scale(1.03);
}

.topwork-text h3{
    margin:0 0 4px 0;
    font-size:30px;
    font-family:'Bebas Neue', sans-serif;
}

.topwork-text p{
    margin:0;
    font-size:14px;
    opacity:0.8;
}

.topwork-item:nth-child(3n){
    border-right:none;
}

.topwork-item:nth-last-child(-n+3){
    border-bottom:none;
}

/* ================= CONTACT ================= */

/* ================= CONTACT ================= */

.contact{
    padding:140px 120px;
    text-align:center;
    background:#050505;
}

.contact .main-heading{
    font-size:90px;
    margin-bottom:30px;
}

.contact-description{
    max-width:700px;
    margin:0 auto 60px;
    line-height:1.7;
    opacity:0.8;
    font-weight:300;
}

.contact-details{
    display:flex;
    justify-content:center;
    gap:100px;
    margin-bottom:60px;
    flex-wrap:wrap;
}

.contact-item h4{
    font-family:'Bebas Neue', sans-serif;
    letter-spacing:2px;
    font-size:22px;
    margin-bottom:10px;
}

.contact-item a,
.contact-item p{
    font-size:16px;
    color:white;
    text-decoration:none;
    opacity:0.85;
}

.contact-item a:hover{
    color:#ff7a00;
}

.contact-socials{
    display:flex;
    justify-content:center;
    gap:40px;
}

.contact-socials a{
    font-size:28px;
    color:white;
    transition:0.3s ease;
}

.contact-socials a:hover{
    color:#ff7a00;
    transform:translateY(-3px);
}



/* ================= PROJECT HERO OVERLAY ================= */

.project-hero{
    position:relative;
    height:75vh; /* slightly reduced so gallery peeks */
    overflow:hidden;
}

.project-hero img{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.65);
    display:flex;
    align-items:center;
}

.hero-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    padding:0 120px;
    width:100%;
    align-items:center;
}

.hero-left h1{
    font-family:'Bebas Neue', sans-serif;
    font-size:90px;
    margin-bottom:10px;
}

.hero-subtitle{
    opacity:0.6;
    margin-bottom:30px;
}

.hero-description{
    line-height:1.8;
    opacity:0.85;
    margin-bottom:30px;
    max-width:500px;
}

.hero-meta{
    display:flex;
    gap:30px;
    font-size:14px;
    opacity:0.6;
}

.hero-right iframe{
    width:100%;
    height:400px;
    border-radius:12px;
}

/* Smooth fade into gallery */
.project-hero::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:150px;
    background:linear-gradient(to bottom, transparent, #000);
}

/* ================= PROJECT GALLERY ================= */

.project-gallery{
    padding:140px 120px;
    margin-top:-250px;   /* overlap effect */
    position:relative;
    z-index:2;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);  /* 4 columns */
    gap:25px;
}

.gallery-grid img{
    width:100%;
    aspect-ratio:1/1; 
    height:350px;
    object-fit:cover;
    border-radius:8px;
    transition:0.4s ease;
}

.gallery-grid img:hover{
    transform:scale(1.03);
}



/* ================= LIGHTBOX ================= */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.95);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
    z-index:9999;
}

.lightbox.active{
    opacity:1;
    visibility:visible;
}

.lightbox-img{
    max-width:90%;
    max-height:85vh;
    border-radius:8px;
    transform:scale(0.9);
    transition:0.3s ease;
}

.lightbox.active .lightbox-img{
    transform:scale(1);
}

.lightbox-close{
    position:absolute;
    top:30px;
    right:40px;
    font-size:40px;
    color:white;
    cursor:pointer;
    font-weight:300;
    transition:0.3s;
}

.lightbox-close:hover{
    color:#ff7a00;
}

/* ===== Lightbox Arrows ===== */

.lightbox-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:50px;
    color:white;
    cursor:pointer;
    padding:20px;
    user-select:none;
    transition:0.3s ease;
}

.lightbox-arrow:hover{
    color:#ff7a00;
}

.lightbox-arrow.left{
    left:40px;
}

.lightbox-arrow.right{
    right:40px;
}

.lightbox-arrow.hidden{
    display:none;
}

/* ===== HERO BRANDS SECTION ===== */

.hero-brands-label{
    margin-top:50px;
    font-size:13px;
    letter-spacing:3px;
    opacity:0.6;
}

.hero-brands-logos{
    margin-top:25px;
    display:grid;
    grid-template-columns:repeat(4, 1fr);  /* 4 per row */
    gap:40px 60px;                         /* row / column gap */
    max-width:700px;
}

.hero-brands-logos img{
    height:60px;        /* Bigger logos */
    width:auto;
    margin:auto;        /* center inside grid cell */
    object-fit:contain;
    transition:0.3s ease;
}

.hero-brands-logos img:hover{
    transform:scale(1.15);
}
.mobile-projects{
    display:none;
}
/* Hide mobile menu on desktop */
.mobile-menu{
    display:none;
}

/* =========================================
   🔥 HOME PAGE — CLEAN MOBILE STRUCTURE
========================================= */

@media (max-width:768px){

/* Show mobile menu only on mobile */
.mobile-menu{
    display:flex;
}
.desktop-only{
    display:none !important;
}

/* ===== MOBILE NAVBAR FIX ===== */

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 20px;
}

.social-icons{
    order:1;
}

.hamburger{
    order:2;
    display:flex;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    z-index:2000;
}

.hamburger span{
    width:25px;
    height:2px;
    background:white;
}

/* Hide menu by default on mobile */
.menu{
    position:absolute;
    top:70px;
    left:20px;
    right:20px;
    width:auto;          /* smaller = cleaner */
    
    background:#0f0f0f;
    border-radius:16px;
    padding:22px 20px;

    display:flex;
    flex-direction:column;
    gap:22px;

    box-shadow:0 20px 50px rgba(0,0,0,0.6);

    opacity:0;
    visibility:hidden;
    transform:translateY(-6px);
    transition:0.2s ease;
}

/* Show when active */
.menu.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.menu a{
    width:100%;
    display:flex;
    justify-content:flex-start;
    gap:10px;
    letter-spacing:1px;
    align-items:center;
    font-size:20px;
}
.mobile-projects-toggle{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    font-size:20px;
    gap:10px;  
}

/* When active */
.menu.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
/* Hide desktop dropdown on mobile */
.dropdown{
    display:none;
}

/* Show mobile dropdown */
.mobile-projects{
    display:block;
    width:100%;
}


.mobile-projects-menu{
    display:none;
    flex-direction:column;
    gap:14px;
    margin-top:12px;
    padding-left:12px;
}

.mobile-projects-menu a{
    font-size:15px;
    opacity:0.85;
}

.mobile-projects.active .mobile-projects-menu{
    display:flex;
}

.arrow{
    transition:0.25s ease;
    font-size:16px;
    margin-left:8px;
}

.mobile-projects.active .arrow{
    transform:rotate(180deg);
}

/* ---------------- HERO ---------------- */

.hero{
    padding:110px 20px 60px;
    min-height:auto;
}

.hero-wrapper{
    flex-direction:column;
    text-align:center;
    gap:30px;
}

.hero .main-heading{
    font-size:46px;
}

.hero-right{
    display:none;   /* hide photo */
}

.scroll-indicator{
    display:none;   /* hide arrow */
}

/* ===== TOOLS SINGLE LINE MOBILE (NO SCROLL) ===== */


.bio-tools{
    margin-top:20px;
}

.bio-tools-list{
    display:flex;
    flex-wrap:nowrap;              /* force single line */
    justify-content:center;
    gap:8px;                        /* tighter gap */
}

.bio-tools-list span{
    font-size:10px;                 /* smaller text */
    padding:5px 8px;                /* smaller padding */
    letter-spacing:0.5px;
    white-space:nowrap;             /* prevent breaking */
}





/* ---------------- BRANDS WORKED WITH ---------------- */

.hero-brands-logos{
    display:grid;
    grid-template-columns:repeat(3, 1fr);   /* 3 per row */
    gap:30px 25px;
    max-width:100%;
}

.hero-brands-logos img{
    height:55px;
    width:auto;
    margin:auto;
}


/* ---------------- TOP WORKS ---------------- */

.topworks-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);   /* keep 3 per row */
    gap:15px;
}

.topwork-item{
    flex-direction:column;
    text-align:center;
    padding:15px;
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.topwork-item img{
    width:100%;
    aspect-ratio:16/9;        /* fixed consistent ratio */
    height:auto;
    object-fit:cover;
}

.topwork-text h3{
    font-size:18px;
}

.topwork-text p{
    font-size:12px;
}


/* ===== MOBILE PROJECTS CLEAN ===== */

.projects{
    padding:80px 20px;
}

.projects .main-heading{
    font-size:48px;
    margin-bottom:40px;
}

.category-row{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.category-card{
    height:180px;
    border-radius:12px;
}

.category-card h3{
    font-size:28px;
}



/* ---------------- CONTACT ---------------- */

.contact{
    padding:70px 20px;
}

.contact-details{
    flex-direction:column;
    gap:25px;
}



/* ---------------- Projects ---------------- */

.projects{
    padding:100px 20px 60px;
}

.page-description{
    font-size:14px;
    line-height:1.6;
    padding:0 5px;
}
.projects .main-heading{
    font-size:42px;
}

.slider-title{
    font-size:24px;
    margin:40px 0 20px;
}
.preview-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
}
.preview-grid img{
    height:auto;
    aspect-ratio:4/5;
    object-fit:cover;
}
}