*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
html{
    scroll-behavior: smooth;
    scroll-padding: 2rem;
}
body{
    background: #080808;
    color: #fff;
    overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.container{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.35),transparent), url(image/wallpaper.jpg);
    background-size: cover;
    background-position: center;
    padding: 0 8%;
    position: relative;
}
nav{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    position: relative;
    z-index: 100;
}
.logo{
    width: 280px;
    margin-left: -100px;
    cursor: pointer;
}
.cart-icon{
    width: 28px;
    cursor: pointer;
}
nav ul{
    display: flex;
    list-style: none;
}
nav ul li{
    display: inline-block;
    margin: 10px 22px;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    transition: width 0.3s;
}
nav ul li a:hover::after{ width: 60%; }

/* Hamburger */
.hamburger{
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 200;
}
.hamburger span{
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ transform: translateY(-9px) rotate(-45deg); }

.menu-overlay{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 98;
}
.menu-overlay.show{ display: block; }

/* ========== HERO ========== */
.text-box{
    color: #fff;
    position: absolute;
    bottom: 8%;
    left: 8%;
    right: 8%;
}
.text-box p{
    font-size: 48px;
    font-weight: 600;
}
.text-box h1{
    font-size: 120px;
    line-height: 150px;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    background: url(image/Daco.png);
    -webkit-background-clip: text;
    background-position: 0 0;
    animation: back 20s linear infinite;
}
@keyframes back{ 100%{ background-position: 1000px 0; } }
.text-box h3{
    font-size: 36px;
    font-weight: 500;
}
.text-box .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
    gap: 12px;
}
.text-box a{
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    font-size: 14px;
}
.text-box a span{
    font-size: 26px;
    line-height: 14px;
    margin-left: 6px;
}
.text{
    font-size: 13px;
    line-height: 1.6;
    color: #ccc;
    flex-basis: 100%;
}
.social-icon{
    position: absolute;
    right: 3%;
    bottom: 8%;
}
.social-icon i{
    width: 35px;
    display: block;
    margin: 28px 5px;
    color: #fff;
    transition: all 0.4s ease;
}
.social-icon i:hover{ color: #ff004f; transform: translateY(-4px); }

/* ========== SHARED ========== */
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.container2{
    width: 100%;
    background: #000;
    padding: 70px 10%;
}
.container3{
    width: 100%;
    background: #111;
    padding: 60px 10%;
}

/* ========== ABOUT ========== */
.about-col-1{ flex-basis: 33%; }
.about-col-1 img{ width: 100%; border-radius: 12px; }
.about-col-2{ flex-basis: 62%; }
.about-col-3 img{ display: none; }

.sub-title{
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.tab-titles{
    display: flex;
    margin: 18px 0 30px;
}
.tab-links{
    margin-right: 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: #bbb;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.4s;
}
.tab-links.active-link{ color: #fff; }
.tab-links.active-link::after{ width: 50%; }
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
    font-size: 14px;
    color: #ccc;
    line-height: 1.7;
}
.tab-contents ul li span{
    color: #ff004f;
    font-size: 14px;
    font-weight: 600;
}
.tab-contents{ display: none; }
.tab-contents.active-tab{ display: block; }

/* ========== SERVICES ========== */
.services-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}
.services-list div{
    background: #1a1a1a;
    padding: 34px 26px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    border-radius: 12px;
    transition: background 0.4s, transform 0.4s;
    cursor: pointer;
}
.services-list i{
    font-size: 40px;
    margin-bottom: 16px;
    color: #ff004f;
}
.services-list div h2{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}
.services-list div p{ color: #aaa; }
.services-list div a{
    text-decoration: none;
    color: #ff004f;
    font-size: 13px;
    margin-top: 16px;
    display: inline-block;
}
.services-list div:hover{
    background: #ff004f;
    transform: translateY(-8px);
}
.services-list div:hover i,
.services-list div:hover a,
.services-list div:hover p{ color: #fff; }

/* ========== PORTFOLIO ========== */
.work-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}
.work{
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.work img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #ff004f);
    border-radius: 12px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 28px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3{ font-weight: 600; margin-bottom: 6px; }
.layer p{ font-size: 12px; color: #eee; }
.layer a{
    margin-top: 14px;
    color: #ff004f;
    text-decoration: none;
    font-size: 16px;
    line-height: 52px;
    background: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{ transform: scale(1.08); }
.work:hover .layer{ height: 100%; }

.btn{
    display: block;
    margin: 36px auto 0;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 12px 44px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: background 0.4s;
}
.btn:hover{ background: #ff004f; }

/* ========== CONTACT ========== */
.contact-left{ flex-basis: 35%; }
.contact-right{ flex-basis: 60%; }
.contact-left p{
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-left p i{ color: #ff004f; font-size: 20px; }
.contact-right h2{ padding-top: 14px; font-size: 22px; }
.social-icons{ margin-top: 22px; }
.social-icons a{
    text-decoration: none;
    font-size: 26px;
    margin-right: 14px;
    color: #aaa;
    display: inline-block;
    transition: transform 0.4s, color 0.4s;
}
.social-icons a:hover{ color: #ff004f; transform: translateY(-5px); }
.btn.btn2{ display: inline-block; }
.contact-right form{ width: 100%; }
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #1a1a1a;
    padding: 13px 16px;
    margin: 9px 0;
    color: #fff;
    font-size: 15px;
    border-radius: 8px;
}
form .btn2{
    padding: 12px 50px;
    font-size: 15px;
    margin-top: 12px;
    cursor: pointer;
    background: #000;
    border: 1px solid #ff004f;
    color: #fff;
    border-radius: 6px;
    transition: background 0.4s;
}
form .btn2:hover{ background: #ff004f; }
.copyright{
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background: #1a1a1a;
    font-size: 13px;
    font-weight: 300;
    margin-top: 40px;
    border-radius: 10px;
}
.copyright i{ color: #ff004f; }

/* ========== TABLET (≤900px) ========== */
@media only screen and (max-width: 900px){
    .text-box h1 { font-size: 72px; line-height: 88px; }
    .text-box h3 { font-size: 24px; }
    .text-box p  { font-size: 30px; }
    .about-col-1 { flex-basis: 100%; margin-bottom: 24px; }
    .about-col-2 { flex-basis: 100%; }
    .contact-left, .contact-right { flex-basis: 100%; }
    .services-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .work-list     { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ========== MOBILE (≤600px) ========== */
@media only screen and (max-width: 600px){

    /* Nav */
    .hamburger { display: flex; }
    .cart-icon  { display: none; }
    .logo { width: 190px; margin-left: -44px; }

    nav ul{
        position: fixed;
        top: 0;
        right: -100%;
        width: 58%;
        height: 100vh;
        background: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 99;
        transition: right 0.35s ease;
        box-shadow: -4px 0 24px rgba(0,0,0,0.6);
    }
    nav ul.open { right: 0; }
    nav ul li { display: block; margin: 16px 0; }
    nav ul li a { font-size: 18px; }

    /* Hero */
    .container { height: 100vh; }
    .text-box { bottom: 5%; left: 5%; right: 5%; }
    .text-box p  { font-size: 20px; }
    .text-box h1 { font-size: 40px; line-height: 48px; }
    .text-box h3 { font-size: 13px; }
    .text-box .row { margin-top: 12px; gap: 8px; }
    .text-box a  { padding: 8px 13px; font-size: 12px; }
    .text-box a span { font-size: 16px; }
    .text { font-size: 11px; }
    .social-icon { display: none; }

    /* Sections */
    .container2 { padding: 40px 5%; }
    .container3 { padding: 40px 5%; }

    /* About */
    .about-col-1 img { display: none; }
    .about-col-2, .about-col-3 { flex-basis: 100%; }
    .about-col-3 img { display: block; width: 100%; border-radius: 10px; margin-top: 20px; }
    .abt span { display: none; }
    .sub-title { font-size: 26px; margin-bottom: 8px; }
    .tab-links { margin-right: 14px; font-size: 13px; }

    /* Services — 1 column */
    .services-list { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
    .services-list div { padding: 22px 18px; }
    .services-list div h2 { font-size: 17px; }
    .services-list i { font-size: 30px; margin-bottom: 10px; }

    /* Portfolio — swipe carousel, no wrapping */
    .work-list{
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        gap: 14px;
        margin-top: 20px;
        padding-bottom: 12px;
        /* bleed past container padding so cards reach screen edges */
        margin-left: -5%;
        margin-right: -5%;
        padding-left: 5%;
        padding-right: 5%;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .work-list::-webkit-scrollbar { height: 3px; }
    .work-list::-webkit-scrollbar-track { background: #222; }
    .work-list::-webkit-scrollbar-thumb { background: #ff004f; border-radius: 2px; }

    .work{
        flex: 0 0 78vw;
        max-width: 78vw;
        scroll-snap-align: start;
        aspect-ratio: 4/3;
    }

    /* Contact */
    .contact-left, .contact-right { flex-basis: 100%; }
    .contact-right { margin-top: 20px; }
    form input, form textarea { font-size: 14px; }
}
