/* ===========================
   GLOBAL STYLES
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    background:#f5f1ea;
    color:#3e3428;
    scroll-behavior:smooth;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.section{
    padding:100px 0;
}

.section-title{
    text-align:center;
    font-size:36px;
    margin-bottom:60px;
    position:relative;
}

.section-title::after{
    content:"";
    width:80px;
    height:3px;
    background:#b08968;
    display:block;
    margin:15px auto 0;
}

/* ===========================
   LOADER
=========================== */

#loader{
    position:fixed;
    width:100%;
    height:100vh;
    background:#f5f1ea;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.loader-circle{
    width:60px;
    height:60px;
    border:5px solid #e6d5c3;
    border-top:5px solid #b08968;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    0%{transform:rotate(0deg);}
    100%{transform:rotate(360deg);}
}

/* ===========================
   HEADER
=========================== */

header{
    position:fixed;
    width:100%;
    background:rgba(245,241,234,0.95);
    backdrop-filter:blur(10px);
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    z-index:1000;
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:22px;
    font-weight:600;
    color:#6f4e37;
}

nav ul{
    list-style:none;
    display:flex;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#3e3428;
    font-weight:500;
    transition:0.3s;
}

nav a:hover{
    color:#b08968;
}

.social-icons{
    display:flex;
    gap:15px;
}

.social-icons svg{
    width:22px;
    fill:#6f4e37;
    transition:0.3s;
}

.social-icons svg:hover{
    fill:#b08968;
    transform:scale(1.2);
}

/* ===========================
   HERO
=========================== */

.hero{
    height:100vh;
    background:url("Project-1.jpg") center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
}

.hero-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:700px;
}

.hero h2{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    font-size:18px;
    margin-bottom:30px;
}

.btn-primary{
    background:#b08968;
    color:white;
    padding:12px 30px;
    border:none;
    text-decoration:none;
    border-radius:30px;
    transition:0.3s;
    cursor:pointer;
}

.btn-primary:hover{
    background:#8c6a4d;
    transform:translateY(-3px);
}

/* ===========================
   ABOUT
=========================== */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.about-text p{
    margin-bottom:20px;
    line-height:1.7;
}

.info-box{
    background:#e6d5c3;
    padding:20px;
    border-radius:10px;
}

.about-stats{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.stat-card{
    background:white;
    padding:30px;
    text-align:center;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
    transition:0.3s;
}

.stat-card:hover{
    transform:translateY(-5px);
}

/* ===========================
   PROJECTS
=========================== */

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.project-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 15px 30px rgba(0,0,0,0.07);
    transition:0.4s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.project-info{
    padding:20px;
}

/* ===========================
   CONTACT
=========================== */

.contact form{
    max-width:600px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:15px;
    border:1px solid #d8c3b0;
    border-radius:8px;
    font-family:inherit;
    transition:0.3s;
}

.form-group input:focus,
.form-group textarea:focus{
    border-color:#b08968;
    outline:none;
}

.success-message{
    margin-top:20px;
    text-align:center;
    display:none;
    color:green;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#3e3428;
    color:white;
    text-align:center;
    padding:30px 0;
}

/* ===========================
   FLOATING PROFILE
=========================== */

.profile-floating{
    position:fixed;
    top:100px;
    right:30px;
    z-index:999;
}

.profile-floating img{
    width:90px;
    height:90px;
    border-radius:50%;
    border:4px solid #b08968;
    box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:900px){

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

    nav ul{
        display:none;
    }

    .hero h2{
        font-size:32px;
    }
}