/* --- Root Variables & Reset --- */
:root {
    --gold: #c5a059;
    --gold-dark: #b08d4a;
    --dark: #1a1a1c;
    --white: #ffffff;
    --light-bg: #f9f7f2;
    --text: #333333;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.section-padding { padding: 100px 0; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* --- Top Bar --- */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Force one line */
}

.contact-info-list, .social-links-list {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: nowrap;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.contact-info-list i {
    color: var(--gold);
    font-size: 1rem;
}

.social-links-list a { 
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white); 
    transition: var(--transition); 
    font-size: 1.1rem;
    text-decoration: none;
    white-space: nowrap;
}

.social-links-list a:hover { color: var(--gold); }

/* Helper classes for Top Bar text */
.show-mobile { display: none; }

/* --- Navigation --- */
.navbar {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 50px; }

.nav-links-list { display: flex; list-style: none; gap: 30px; }
.nav-links-list a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.nav-links-list a:hover, .nav-links-list a.active { color: var(--gold); }

/* --- Hero Section --- */
.hero-bg {
    height: 85vh;
    background: url('../blinds/window.jpg') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.4);
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text-box { color: var(--white); text-align: left; max-width: 700px; }

.hero-text-box h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: center;
}

.hero-text-box h1 span {
    color: var(--gold);
    display: block;
    font-size: 0.5em;
    text-transform: uppercase;
    letter-spacing: 12px;}

.hero-btns {
    display: flex;
    justify-content: space-between; /* Pushes one left, one right */
    align-items: center;
    margin-top: 30px;
    width: 100%; /* Spans the full width of the hero-text-box */
}

/* Updated Button Style */
.btn-gold {
    display: inline-block;
    /* Remove width: auto; use a specific width so they match */
    width: 48%; /* Leaves a 4% gap in the middle */
    padding: 5px 0;
    background: var(--gold);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    transition: var(--transition);
}

.btn-gold:hover { background: var(--white); color: var(--dark); transform: translateY(-3px); }

/* --- Sections --- */
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.badge {
    background: #f0ede6;
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.gold-line { width: 60px; height: 3px; background: var(--gold); border: none; margin: 25px 0; }

.intro-content h2 { font-family: 'Playfair Display', serif; font-size: 3rem; line-height: 1.2; color: var(--dark); }

/* --- Professional Slideshow --- */
.slideshow-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.mySlides img { width: 100%; height: 550px; object-fit: cover; }

.prev, .next {
    cursor: pointer; 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    width: 50px; 
    height: 50px; 
    background: rgba(26, 26, 28, 0.6);
    backdrop-filter: blur(8px); 
    color: white; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: var(--transition); 
    z-index: 20;
    text-decoration: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover { 
    background: var(--gold); 
    transform: translateY(-50%) scale(1.1);
}

/* --- Service Cards --- */
.services-bg { background-color: var(--light-bg); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; }

.mid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; list-style: none; }
.service-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(197, 160, 89, 0.2); }

.icon-circle {
    width: 130px;
    height: 130px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f0ede6;
}
.icon-circle img { width: 100%; height: 100%; object-fit: cover; }

/* --- Refined Footer --- */
.main-footer {
    background: var(--dark);
    color: #a0a0a0;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.footer-links span {
    color: #444;
    user-select: none;
}

.footer-links a:hover {
    color: var(--gold);
}

.credits {
    width: 100%;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.menu-toggle .bar { width: 25px; height: 3px; background-color: var(--dark); transition: var(--transition); }

/* --- Back to Top --- */
#myBtn {
    position: fixed; bottom: 40px; right: 40px;
    background: var(--dark); color: white; border: none;
    width: 50px; height: 50px; border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition); z-index: 100;
}
#myBtn:hover { background: var(--gold); transform: translateY(-5px); }
/* --- Responsive Queries --- */
@media (max-width: 992px) {
    .grid-split { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .gold-line { margin: 25px auto; }
}

@media (max-width: 768px) {
    /* 1. Navbar & Toggle Fixes */
    .menu-toggle { 
        display: flex; 
        z-index: 1001; /* Keeps button ABOVE the white menu */
    }

    .nav-links-list {
        position: fixed; 
        top: 80px; /* Adjust this to match your navbar height */
        left: -100%; 
        width: 100%; 
        height: calc(100vh - 80px);
        background: white; 
        flex-direction: column; 
        align-items: center; 
        padding-top: 50px;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000; /* Sits above page content but below toggle */
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links-list.show { left: 0; }

    /* 2. Hero Buttons - Professional Stacking */
    .hero-btns {
        flex-direction: column; 
        gap: 15px;
        width: 100%;
        max-width: 400px; /* Keeps buttons from getting too wide on tablets */
        margin: 30px auto 0;
    }
    
    .btn-gold {
        width: 100%; 
        margin-right: 0;
    }

    .hero-text-box { text-align: center; }

    /* 3. Top Bar Mobile - Horizontal One Line */
    .top-bar .container {
        flex-direction: row; 
        justify-content: space-between;
        gap: 10px;
    }

    .handle, .hide-mobile { display: none; }
    .show-mobile { display: inline; }

    .contact-info-list, .social-links-list {
        gap: 12px;
        font-size: 0.7rem;
    }

    /* 4. Footer Mobile - Force Single Line */
    .footer-links {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .footer-links a, .footer-links span {
        font-size: 0.65rem;
        white-space: nowrap;
    }

    .footer-links span { display: inline; } 

    .credits p {
        font-size: 0.6rem;
        white-space: nowrap;
        letter-spacing: 1px;
    }
    
    .main-footer { padding: 40px 0 30px; }
}

/* Extra Tight Adjustment for very small phones (Under 480px) */
@media (max-width: 480px) {
    .footer-links a, .footer-links span, .credits p {
        font-size: 0.55rem;
    }
    
    .contact-info-list li:last-child {
        display: none; /* Hide email to save space */
    }

    /* Smaller text for tiny screens to prevent breaking the line */
    .hero-text-box h1 {
        font-size: 2.2rem;
    }
}
