
:root{
    --primary:#172033;
    --secondary:#C9A66B;
    --cream:#F9F6F1;
    --white:#ffffff;
    --dark:#1d1d1d;
    --text:#555;
    --glass:rgba(255,255,255,0.15);
    --shadow:0 10px 30px rgba(0,0,0,0.15);
    --radius:16px;
    --transition:.4s ease;
}

h1 {
    animation: slideInLeft 2.5s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo img{
    height: 68px;
    width: auto;
    display: block;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background: linear-gradient(135deg,#F9F6F1 0%, #f3ebe1 50%, #ffffff 100%);
    color:var(--text);
    line-height:1.8;
    overflow-x:hidden;
}

/* =========================
   LOADER
========================= */

.loader{
    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    transition:.6s;
}

.loader.hidden{
    opacity:0;
    visibility:hidden;
}

.loader-circle{
    width:70px;
    height:70px;
    border:5px solid #ddd;
    border-top:5px solid var(--primary);
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

/* =========================
   NAVIGATION
========================= */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
}

.navbar{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    backdrop-filter:transform(18px);
    background:var(--transition);
    border-bottom:1px transparent rgba(255,255,255,.2);
}

.logo{
    font-size:1.5rem;
    font-weight:700;
    color:var(--white);
    text-decoration:none;
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:var(--white);
    text-decoration:none;
    font-weight:500;
    transition:var(--transition);
}

.nav-links a:hover,
.nav-links a.active{
    color:var(--secondary);
}

.hamburger{
    display:none;
    flex-direction:column;
    cursor:pointer;
    gap:6px;
}

.hamburger span{
    width:25px;
    height:3px;
    background:white;
    transition:.4s;
}

/* =========================
   HERO
========================= */

.hero{
    height:100vh;
    background-position:center;
    background-size:cover;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
}

.hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    color:white;
    max-width:850px;
    padding:20px;
}

.hero-content h1{
    font-size:4rem;
    margin-bottom:20px;
}

.hero-content p{
    font-size:1.2rem;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-block;
    padding:14px 30px;
    border-radius:50px;
    text-decoration:none;
    transition:var(--transition);
    font-weight:600;
}

.btn-primary{
    background:var(--primary);
    color:white;
}

.btn-primary:hover{
    background:#73492a;
    transform:translateY(-4px);
}

.btn-secondary{
    background:var(--secondary);
    color:white;
}

.btn-secondary:hover{
    transform:translateY(-4px);
}

/* =========================
   PAGE BANNER
========================= */

.page-banner{
    height:50vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    position:relative;
    background-size:cover;
    background-position:center;
}

.page-banner::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.page-banner-content{
    position:relative;
    z-index:2;
}

.page-banner h1{
    font-size:3rem;
}

/* =========================
   SECTIONS
========================= */

section{
    padding:90px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.5rem;
    color:var(--primary);
}

.section-title p{
    max-width:700px;
    margin:auto;
}

/* =========================
   CARDS
========================= */

.grid{
    display:grid;
    gap:30px;
}

.grid-3{
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

.card{
    background:white;
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:260px;
    object-fit:cover;
}
.card-content{
    padding:25px;
}

/* =========================
   FEATURE BOXES
========================= */

.feature-card{
    background:white;
    padding:35px;
    text-align:center;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.feature-card:hover{
    transform:translateY(-8px);
}

.feature-card i{
    font-size:2.5rem;
    color:var(--primary);
    margin-bottom:15px;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonial{
    background:white;
    padding:30px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.testimonial h4{
    color:var(--primary);
    margin-top:15px;
}

/* =========================
   FILTER BUTTONS
========================= */

.filter-buttons{
    text-align:center;
    margin-bottom:40px;
}

.filter-btn{
    border:none;
    background:var(--primary);
    color:white;
    padding:12px 20px;
    margin:8px;
    border-radius:40px;
    cursor:pointer;
    transition:.3s;
}

.filter-btn:hover{
    background:var(--secondary);
}

/* =========================
   FORMS
========================= */

.contact-form{
    display:grid;
    gap:20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
}

.contact-form textarea{
    min-height:180px;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#1f1f1f;
    color:white;
    padding:60px 8%;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

footer a{
    color:#ddd;
    text-decoration:none;
}

footer a:hover{
    color:var(--secondary);
}

/* =========================
   SCROLL TOP
========================= */

.scroll-top{
    position:fixed;
    right:20px;
    bottom:20px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:white;
    cursor:pointer;
    display:none;
    z-index:999;
}

.scroll-top.show{
    display:block;
}

/* =========================
   REVEAL ANIMATION
========================= */

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:1s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .hero-content h1{
        font-size:3rem;
    }

    .nav-links{
        position:absolute;
        top:100%;
        left:-100%;
        width:100%;
        background:white;
        flex-direction:column;
        padding:30px;
        transition:.4s;
    }

    .nav-links.active{
        left:0;
    }

    .nav-links a{
        color:#333;
    }

    .hamburger{
        display:flex;
    }

    .gallery{
        column-count:2;
    }
}

@media(max-width:768px){

    .hero-content h1{
        font-size:2.3rem;
    }

    .page-banner h1{
        font-size:2rem;
    }

    .gallery{
        column-count:1;
    }

    section{
        padding:70px 6%;
    }
}

.grid-2{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}
.faq-item{
    background:#fff;
    margin-bottom:15px;
    padding:20px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.faq-question{
    cursor:pointer;
    color:var(--primary);
    margin-bottom:10px;
}

.faq-item p{
    margin-top:10px;
}

.gallery img{
    width:100%;
    border-radius:14px;
    cursor:pointer;
    transition:.4s ease;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.gallery img:hover{
    transform:translateY(-6px) scale(1.02);
}

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:12px;
}

.testimonial img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #c9a86a;
}

footer {
    position: relative;
    background: url("footer.jfif") no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Optional */
    color: #fff;
    padding: 60px 30px;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* Dark overlay for readability */
    z-index: 1;
}

footer .footer-grid,
footer p,
footer h3,
footer a {
    position: relative;
    z-index: 2;
}

footer h3 {
    color: #ffffff;
}

footer p,
footer a {
    color: #f5f5f5;
    text-decoration: none;
}

footer a:hover {
    color: #ffd700;
}