/*
Theme Name: Ayansh CNC
Author: Santy
Version: 4.0
*/

/* =========================
GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,sans-serif;
    background:#f5f5f5;
    color:#222;
    line-height:1.7;
    overflow-x:hidden;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

.container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

/* =========================
HEADER
========================= */

.site-header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:9999;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
}

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo a{
    font-size:32px;
    font-weight:700;
    color:#3cadc3;
    text-decoration:none;
}

.main-navigation ul{
    display:flex;
    list-style:none;
    gap:30px;
}

.main-navigation a{
    text-decoration:none;
    color:#222;
    font-weight:600;
    transition:.3s;
}

.main-navigation a:hover{
    color:#3cadc3;
}

/* =========================
HERO SECTION
========================= */

.hero{
    background:
    linear-gradient(rgba(0,0,0,.70),rgba(0,0,0,.70)),
    url('https://cncworkindia.online/wp-content/uploads/2026/05/ayansh.png');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    padding:140px 20px;
    text-align:center;
    color:#fff;
}

.hero h1{
    font-size:60px;
    line-height:1.2;
    margin-bottom:20px;
}

.hero p{
    max-width:900px;
    margin:auto;
    font-size:20px;
}

/* =========================
BUTTONS
========================= */

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-top:35px;
}

.hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:220px;
    padding:15px 30px;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.quote-btn{
    background:#f7b500;
    color:#000;
}

.quote-btn:hover{
    background:#e0a800;
    transform:translateY(-3px);
}

.inquiry-btn,
.whatsapp-hero-btn{
    background:#25D366;
    color:#fff;
}

.inquiry-btn:hover,
.whatsapp-hero-btn:hover{
    background:#1fb657;
    transform:translateY(-3px);
}

/* =========================
SECTION COMMON
========================= */

.section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    font-size:42px;
    font-weight:700;
    color:#222;
    margin-bottom:60px;
    position:relative;
}

.section-title:after{
    content:'';
    width:80px;
    height:4px;
    background:#3cadc3;
    display:block;
    margin:15px auto 0;
    border-radius:20px;
}


/* =========================
STANDARD CARDS
========================= */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

/* =========================
GALLERY
========================= */

.gallery-section{
    padding:100px 0;
    background:#fafafa;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:20px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.10);
}

.gallery-item img{
    width:100%;
    height:320px;
    object-fit:cover;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

.overlay{
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    padding:20px;
    background:linear-gradient(transparent,rgba(0,0,0,.9));
    color:#fff;
}

.overlay h3{
    font-size:18px;
}

/* =========================
CONTACT FORM
========================= */

form{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

form input,
form textarea{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
}

form textarea{
    resize:vertical;
}

form button{
    background:#f7b500;
    color:#000;
    border:none;
    padding:15px 30px;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

form button:hover{
    background:#e0a800;
}

/* =========================
FLOATING BUTTONS
========================= */

.call-btn{
    position:fixed;
    right:20px;
    bottom:90px;
    background:#ff9800;
    color:#fff;
    padding:14px 22px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    z-index:9999;
}

.whatsapp-btn{
    position:fixed;
    right:20px;
    bottom:25px;
    background:#25D366;
    color:#fff;
    padding:14px 22px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    z-index:9999;
}

/* =========================
FOOTER
========================= */

.footer{
    background:#111;
    color:#fff;
    padding:60px 0;
}

.footer-wrap{
    display:flex;
    justify-content:space-between;
    gap:30px;
}

.footer-left{
    width:45%;
}

.footer-map{
    width:55%;
}

.footer a{
    color:#f7b500;
    text-decoration:none;
}

.social-links{
    margin-top:20px;
}

.social-links a{
    display:inline-block;
    margin-right:15px;
}

.copyright{
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid #333;
    text-align:center;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:991px){

    .topbar{
        flex-direction:column;
        gap:15px;
    }

    .main-navigation ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-wrap{
        flex-direction:column;
    }

    .footer-left,
    .footer-map{
        width:100%;
    }
}

@media(max-width:768px){

    .hero{
        padding:100px 15px;
    }

    .hero h1{
        font-size:36px;
    }

    .hero p{
        font-size:16px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .hero-btn{
        width:100%;
        max-width:320px;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .gallery-item img{
        height:250px;
    }

    .section-title{
        font-size:32px;
    }
}