:root {
    --primary: #facc15;
    --accent-orange: #ff5e00; /* For Buildhood style accents */
    --dark: #1a1a1a;
    --black: #0f0f0f;
    --gray: #252525;
    --white: #ffffff;
    --muted: #a1a1aa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--dark); color: var(--white); overflow-x: hidden; scroll-behavior: smooth; }
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

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



/* --- STICKY SIDE WIDGET --- */
.sticky-side-widget {
    position: fixed; right: 0; top: 50%; transform: translateY(-50%);
    z-index: 2000; display: flex; flex-direction: column;
}
.widget-item {
    width: 60px; height: 70px; display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: white; font-size: 24px; transition: 0.3s;
    border-radius: 10px 0 0 10px; margin-bottom: 2px;
}
.email-bg { background: var(--accent-orange); }
.call-bg { background: var(--accent-orange); border-top: 1px solid rgba(255,255,255,0.2); }
.whatsapp-bg { background: #25d366; }
.instagram-bg { background: #e4405f; }
.youtube-bg { background: #ff0000; }
.widget-item:hover { width: 70px; }   

/* --- NAVBAR (Fixed & Responsive) --- */
.navbar{
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s;
}

.navbar .container{
    max-width:1250px;
    margin:auto;
    background: rgba(20,20,20,0.85);
    backdrop-filter: blur(15px);
    padding:15px 30px;
    border-radius:100px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.logo { font-family: 'Archivo Black', sans-serif; font-size: 15px; }
.logo span { color: var(--primary); }

.nav-links{
display:flex;
list-style:none;
align-items:center;
}
.nav-links li a { color: var(--white); text-decoration: none; margin-left: 30px; font-weight: 600; font-size: 13px; text-transform: uppercase; }
.nav-links li a:hover { color: var(--primary); }
/* .btn-cta { background: var(--primary); color: var(--dark) !important; padding: 10px 25px; border-radius: 50px; } */

.mobile-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.mobile-toggle .bar { width: 30px; height: 3px; background: var(--primary); transition: 0.3s; }

/* --- HERO SECTION (Split Left Content, Right Stack) --- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; background-color: var(--black); }
.grid-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }

.badge { border: 1px solid var(--primary); color: var(--primary); padding: 5px 15px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.hero-left h2 { font-family: 'Archivo Black', sans-serif; font-size: 3.8rem; line-height: 0.9; margin: 25px 0; letter-spacing: -3px; }
.hero-left h2 span { color: transparent; -webkit-text-stroke: 1.5px var(--primary); }
.hero-left p { color: var(--muted); font-size: 1.1rem; max-width: 500px; margin-bottom: 40px; line-height: 1.6; }

.hero-actions { display: flex; gap: 20px; }
.btn-primary { background: var(--primary); color: var(--dark); padding: 18px 35px; text-decoration: none; font-weight: 800; border-radius: 5px; }
.btn-outline { border: 2px solid var(--white); color: var(--white); padding: 16px 35px; text-decoration: none; font-weight: 800; border-radius: 5px; }

/* Creative Photo Stack */
.hero-right{
    position:relative;
    width:100%;
    max-width:500px;
    margin:auto;
}
.image-stack { position: relative; width: 100%;}
.stack-img { position: absolute; background-size: contain; background-repeat: no-repeat; background-position: center; border-radius: 15px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.hero-img.main {
    width: 100%;
    border-radius: 15px;
    object-fit: contain; /* NO CROPPING */
}

/* Small Floating Images */
.hero-img.small1,
.hero-img.small2 {
    position: absolute;
    width: 30%;
    border-radius: 10px;
    object-fit: contain; /* NO CROPPING */
    background: #111;
    padding: 5px;
}

/* Positioning */
/* .hero-img.small1 {
    bottom: -20px;
    left: -10px;
} */

.hero-img.small1 {
    top: -10px;
    left: -10px;
}


/* --- ATTRACTIVE SECTION TITLE --- */
.section-title {
    font-family: 'Archivo Black', sans-serif;
    /* Responsive font: tiny on mobile, huge on laptop */
    font-size: clamp(2.2rem, 8vw, 2.5rem); 
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    line-height: 0.9;
    letter-spacing: -3px; /* Tighter letters look more professional */
    margin-bottom: 60px;
    position: relative;
    display: block;
    width: 100%;
}

/* The Stroke Effect for the word "PORTFOLIO" */
.section-title span {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary); /* Electric Yellow */
    transition: 0.5s ease;
}

/* Adding an Industrial Accent Line */
.section-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 8px;
    background: var(--primary);
    margin: 20px auto 0;
    border-radius: 4px;
    /* Subtle glow effect */
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.4); 
}

/* Hover Interaction: The stroke "fills in" when the user hovers the section */
.container:hover .section-title span {
    color: var(--primary);
    -webkit-text-stroke: 1.5px transparent;
    transform: translateY(-5px);
}


/* --- ABOUT SECTION --- */
.about { padding: 120px 0; background: var(--dark); }
.grid-about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }

.about-left { position: relative; }
.about-img-wrapper { position: relative; z-index: 2; }
.about-img-wrapper img { width: 100%; border-radius: 10px; filter: grayscale(0.5); }
.yellow-frame { 
    position: absolute; top: 3px; width: 100%; height: 100%; 
    border: 2px solid var(--primary); border-radius: 10px; z-index: 1; 
}


.experience-box { 
    position: absolute; top: -40px; right: -20px; background: var(--primary); 
    padding: 20px; border-radius: 10px; z-index: 3; display: flex; align-items: center; gap: 15px;
}
.big-year { font-family: 'Archivo Black'; font-size: 3rem; color: var(--dark); line-height: 1; }
.experience-box p { color: var(--dark); font-weight: 800; font-size: 0.9rem; }

.about-right h2 { font-family: 'Archivo Black'; font-size: 3.5rem; line-height: 1; margin: 20px 0; }
.about-right h2 span { color: transparent; -webkit-text-stroke: 1px var(--primary); }

.custom-list { list-style: none; margin-top: 30px; }
.custom-list li { margin-bottom: 15px; font-weight: 600; display: flex; align-items: center; gap: 15px; }
.custom-list li i { color: var(--primary); font-size: 1.2rem; }

/* --- EXPERTISE SECTION --- */
.expertise { padding: 100px 0; background: var(--black); }
.grid-expertise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }

.exp-card { 
    background: var(--dark); padding: 50px 30px; border-radius: 20px; position: relative; 
    overflow: hidden; transition: 0.4s; border: 1px solid rgba(255,255,255,0.05);
}
.exp-num { 
    position: absolute; top: -10px; right: 10px; font-size: 6rem; font-family: 'Archivo Black'; 
    color: rgba(255, 255, 255, 0.03); z-index: 0; 
}
.exp-card i { font-size: 40px; color: var(--primary); margin-bottom: 25px; position: relative; }
.exp-card h3 { font-family: 'Archivo Black'; margin-bottom: 15px; position: relative; }
.exp-card p { color: var(--muted); line-height: 1.6; position: relative; }

.exp-card:hover, .exp-card.active { border-color: var(--primary); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

/* --- PACKAGES SECTION --- */
.packages { padding: 100px 0; text-align: center; }
.grid-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }

.pkg-card { 
    background: var(--gray); padding: 50px 30px; border-radius: 20px; transition: 0.4s; 
    display: flex; flex-direction: column; align-items: center; border: 1px solid transparent;
}
.pkg-header h4 { font-family: 'Archivo Black'; letter-spacing: 2px; color: var(--muted); }
.pkg-price { font-family: 'Archivo Black'; font-size: 1.5rem; margin: 20px 0; color: var(--white); }
.pkg-price span { font-size: 1rem; color: var(--muted); }

.pkg-features { list-style: none; margin-bottom: 40px; text-align: left; width: 100%; margin-top: 10px;}
.pkg-features li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }
.pkg-features li i { color: var(--primary); margin-right: 10px; }

.pkg-card.featured { 
    background: var(--primary); transform: scale(1.05); position: relative; 
}
.pkg-card.featured .pkg-header h4, .pkg-card.featured .pkg-price, .pkg-card.featured .pkg-features li { color: var(--dark); }
.pkg-card.featured .pkg-features li i { color: var(--dark); }
.pkg-card.featured .pkg-features li { border-bottom: 1px solid rgba(0,0,0,0.1); }

.recom-tag { 
    position: absolute; top: -15px; background: var(--dark); color: var(--primary); 
    padding: 5px 20px; border-radius: 50px; font-weight: 800; font-size: 12px;
}

.btn-outline-small { 
    border: 1px solid var(--primary); color: var(--primary); padding: 10px 20px; 
    text-decoration: none; border-radius: 5px; font-weight: 700; font-size: 13px;
}
.btn-primary-small { 
    background: var(--dark); color: var(--primary); padding: 12px 25px; 
    text-decoration: none; border-radius: 5px; font-weight: 800; font-size: 13px;
}
/* --- DYNAMIC EXPERTISE & PACKAGES --- */
.exp-card, .pkg-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(250, 204, 21, 0.1);
}

/* Hover State for Expertise */
.exp-card:hover {
    background: var(--primary); /* Yellow */
    color: var(--dark);
    transform: translateY(-15px) scale(1.02);
}
.exp-card:hover i, .exp-card:hover p, .exp-card:hover h3 { color: var(--dark); }
.exp-card:hover .exp-num { color: rgba(0,0,0,0.1); }

/* Hover State for Packages */
.pkg-card:hover {
    background: var(--primary); /* Yellow */
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(250, 204, 21, 0.2);
}
.pkg-card:hover h4, 
.pkg-card:hover .pkg-price, 
.pkg-card:hover .pkg-features li,
.pkg-card:hover .pkg-features li i { color: var(--dark); border-color: rgba(0,0,0,0.1); }

.btn-pkg {
    margin-top: auto;
    padding: 10px 20px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}
.pkg-card:hover .btn-pkg { background: var(--dark); color: var(--primary); border-color: var(--dark); }

/* --- PROJECT CARDS --- */
.projects{
    background-color: var(--black);
     padding: 100px 0; text-align: center;
}
.project-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 60px 0; }
.project-card { 
    background: var(--gray); border-radius: 15px; overflow: hidden; 
    position: relative; cursor: pointer; transition: 0.3s;
}

.project-media{
height:260px;
width:100%;
overflow:hidden;
}
.project-media img, .project-media video { width: 100%; height: 100%; object-fit: cover; }

/* The Icon Trigger */
.media-trigger {
    position: absolute; top: 15px; right: 15px; background: var(--primary);
    width: 40px; height: 40px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; color: var(--black);
    z-index: 5; transition: 0.3s;
}
.media-trigger:hover { transform: scale(1.2); }

.project-info-box { padding: 20px; }
.project-info-box h4 { font-family: 'Archivo Black'; font-size: 1.1rem; }
.project-info-box p { color: var(--primary); font-weight: 700; font-size: 0.8rem; margin-top: 5px; }

/* Details Drawer (Card Click) */
.details-drawer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary); color: var(--black); z-index: 10;
    transform: translateY(100%); transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 30px;
}
.project-card.active .details-drawer { transform: translateY(0); }
.drawer-inner h3 { font-family: 'Archivo Black'; border-bottom: 2px solid var(--black); margin-bottom: 15px; }
.drawer-inner ul { list-style: none; }
.drawer-inner li { margin-bottom: 10px; font-weight: 700; }
.close-drawer { position: absolute; top: 20px; right: 20px; cursor: pointer; font-size: 20px; }

/* --- LIGHTBOX MODAL --- */
.media-lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); z-index: 3000; display: none;
    align-items: center; justify-content: center;
}
.media-lightbox.active { display: flex; }
.lightbox-content { width: 80%; max-height: 80vh; display: flex; justify-content: center; }
.lightbox-content img, .lightbox-content video { max-width: 100%; max-height: 80vh; border-radius: 10px; }
.close-lightbox { position: absolute; top: 30px; right: 40px; color: white; font-size: 50px; cursor: pointer; }

.slider-controls { position: absolute; width: 90%; display: none; justify-content: space-between; }
.slider-controls button { background: none; border: none; color: white; font-size: 40px; cursor: pointer; }

/* --- FOOTER --- */
.main-footer { background: #151515; padding: 80px 0 0; border-top: 1px solid #333; }
.footer-grid{
display:grid;
grid-template-columns:1.8fr 1fr 1.5fr;
gap:40px;
}
.footer-title { 
    font-family: 'Archivo Black'; margin-bottom: 25px; position: relative; 
    padding-bottom: 10px; font-size: 1.1rem;
}
.footer-title::after {
    content: ''; position: absolute; bottom: 0; left: 0; 
    width: 40px; height: 3px; background: var(--accent-orange);
}

.address-block{ margin-top: 10px;}

.address-block p { font-size: 0.9rem; color: var(--muted); margin: 15px 0; line-height: 1.6; }
.footer-socials { margin-top: 20px; display: flex; gap: 15px; }
.footer-socials a { color: var(--white); font-size: 18px; transition: 0.3s; }
.footer-socials a:hover { color: var(--accent-orange); }

.footer-links, .footer-contact-list { list-style: none; }
.footer-links li, .footer-contact-list li { margin-bottom: 12px; font-size: 0.95rem; }
.footer-links a { text-decoration: none; color: var(--muted); transition: 0.3s; }
.footer-links a:hover { color: var(--white); padding-left: 5px; }
.footer-contact-list i { color: var(--accent-orange); margin-right: 10px; }

.footer-bottom { 
    background: #0a0a0a; padding: 25px; text-align: center; 
    font-size: 0.85rem; color: var(--muted); border-top: 1px solid #222;
}

/* =================================
TABLET DEVICES (1024px and below)
=================================*/

@media (max-width:1024px){

.container{
padding:0 20px;
}

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

.hero-left p{
margin:auto;
}

.hero-actions{
justify-content:center;
}


/* ABOUT */

.grid-about{
grid-template-columns:1fr;
text-align:center;
gap:50px;
}

.about-left{
display:flex;
flex-direction:column;
align-items:center;
}

.experience-box{
position:relative;
top:auto;
right:auto;
margin-bottom:20px;
}

/* CARDS */

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

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

.project-grid-3{
grid-template-columns:1fr 1fr;
}

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

}



/* =================================
MOBILE DEVICES (768px and below)
=================================*/

@media (max-width:768px){

.container{
padding:0 18px;
text-align:center;
}

/* NAVBAR */

.mobile-toggle{
display:flex;
}

.nav-links{
display:none;
position:absolute;
top:70px;
left:0;
width:100%;
background:var(--dark);
flex-direction:column;
padding:30px 0;
text-align:center;
border-radius:20px;
}

.nav-links.active{
display:flex;
}

.nav-links li{
margin:15px 0;
}

.nav-links li a{
margin:0;
font-size:1.2rem;
}

/* HERO */

.hero{
padding-top:120px;
}

.hero-left h1{
font-size:2.5rem;
letter-spacing:-1px;
}

.hero-actions{
flex-direction:column;
align-items:center;
gap:15px;
}

.btn-primary,
.btn-outline{
width:100%;
}

/* HERO IMAGE */

.hero-right{
    height: auto; /* allow flexible height */
    display: flex;
    justify-content: center;
}

.image-stack {
    position: relative;
    width: 100%;
    height: auto;
}
 .hero-img.small1,
    .hero-img.small2 {
        position: static;
        width: 80%;
        margin: 10px auto;
        display: block;
    }



/* ABOUT */

.about-right h2{
font-size:2.2rem;
}

/* GRIDS */

.grid-expertise,
.grid-packages,
.project-grid-3,
.footer-grid{
grid-template-columns:1fr;
}

.project-media{
height:200px;
}


.team .pkg-card {
    text-align: center;
}
.team-img {
    width: 250px;      /* same width */
    height: 250px;     /* same height */
    margin: 0 auto;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;  
    background: #000;  /* fills exact box */
    display: block;
}
/* FOOTER */
.footer-socials{
justify-content:center;
}
.footer-grid{
text-align:center;
}
.footer-title{
text-align:center;
}

.footer-title::after{
left:50%;
transform:translateX(-50%);
}
.team-grid {
    grid-template-columns: 1fr;
}
}



/* =================================
SMALL MOBILE (480px and below)
=================================*/

@media (max-width:480px){

.container{
padding:0 15px;
}

.hero-left h1{
font-size:2rem;
}

.section-title{
font-size:1.8rem;
letter-spacing:-1px;
}


/* sticky contact icons */

.sticky-side-widget{
right:5px;
}

.widget-item{
width:50px;
height:55px;
font-size:18px;
}

.footer-socials{
justify-content:center;
}
.footer-title{
text-align:center;
}

.footer-title::after{
left:50%;
transform:translateX(-50%);
}
.team-grid {
    grid-template-columns: 1fr;
}
}