/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2c1a0e;
    background-color: #f4e8d2;
    background-image: url('../images/bg-texture.png');
    /* A subtle parchment/paper texture */
    background-size: cover;
    background-attachment: fixed;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo-text,
.hero-subtext-doors {
    font-family: 'Cinzel', serif;
}

.content-wrapper {
    /* max-width: 1200px; */
    margin: 0 auto;
    background-color: transparent;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-image: url('../images/bg-texture.png');
    /* repeating the texture to give edge boundaries */
}

/* Top bar */
.top-bar {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    margin-right: 5px;
}

.contact-info a {
    color: #2c1a0e;
    text-decoration: none;
    font-size: 16px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: transparent;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 140px;
    width: auto;
}

.main-header {
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: -5px;
}

.logo-sub {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
}

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

nav a {
    text-decoration: none;
    color: #2c1a0e;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover {
    color: #8b4513;
}

.btn-quote-header {
    background: linear-gradient(180deg, #4d2612 0%, #291206 100%);
    color: #eed8b6;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid #5a3821;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2), 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-quote-header:hover {
    background: linear-gradient(180deg, #5c3018 0%, #3a1a0a 100%);
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.3), 0 6px 8px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 50px;
    box-shadow: inset 0px 5px 15px rgba(0, 0, 0, 0.5);
    border-top: 3px solid #8b6b4a;
    border-bottom: 3px solid #8b6b4a;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #f7ecd5;
    max-width: 450px;
    text-align: center;
}

.hero-badge {
/*     width: 120px; */
margin-bottom: 0;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    max-height: 191px;
    object-fit: cover;
    width: 100%;
}

.hero-content h2 {
    font-size: 38px;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtext-doors {
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.btn-primary {
    background: transparent;
    color: #f7ecd5;
    border: 2px solid #8b6b4a;
    padding: 12px 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    background-color: rgba(60, 30, 20, 0.6);
}

.btn-primary:hover {
    background-color: rgba(139, 107, 74, 0.8);
}

/* Services */
.services {
    padding: 60px 40px;
    text-align: center;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.section-header .line {
    height: 1px;
    background-color: #8b6b4a;
    flex: 1;
    max-width: 200px;
    margin: 0 20px;
}

.section-header h3 {
    font-size: 28px;
    font-family: 'Cinzel', serif;
    color: #2c1a0e;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    flex: 1;
    background-color: #f8eccf;
    /* solid light beige background block */
    background-image: url('../images/bg-texture.png');
    /* add texture so it matches */
    border: 2px solid #d4c5a9;
    padding: 15px 20px 30px;
    text-align: left;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.card h4 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #d4c5a9;
    padding-bottom: 10px;
}

.card ul {
    list-style: none;
    margin-bottom: 25px;
}

.card li {
    margin-bottom: 10px;
    font-size: 15px;
}

.card li i {
    font-size: 12px;
    margin-right: 10px;
    color: #2c1a0e;
}

.btn-dark {
    display: block;
    width: 140px;
    margin: 0 auto;
    margin-top: auto;
    /* aligns button at the very bottom */
    text-align: center;
    background: linear-gradient(180deg, #4d2612 0%, #291206 100%);
    color: #eed8b6;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid #5a3821;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-dark:hover {
    background: linear-gradient(180deg, #5c3018 0%, #3a1a0a 100%);
}

/* About Section */
.about {
    padding: 40px 0;
}

.about-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.about-content h4 {
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-content p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #4a3828;
}

.about-checks {
    list-style: none;
    margin-bottom: 30px;
}

.about-checks li {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
}

.about-checks li i {
    margin-right: 10px;
    color: #2c1a0e;
}

.btn-learn {
    margin: 0;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 60px 40px;
    text-align: center;
}

.features {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #3b2011;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f4e8d2;
    font-size: 32px;
    margin-bottom: 15px;
    border: 3px solid #8b6b4a;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.2);
}

.feature p {
    font-weight: 700;
    font-size: 16px;
}

/* CTA */
.cta {
    background: linear-gradient(180deg, #4d2612 0%, #291206 100%);
    color: #eed8b6;
    padding: 30px 40px;
    text-align: center;
    border-top: 2px solid #8b6b4a;
    border-bottom: 2px solid #8b6b4a;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.btn-cta {
    background: transparent;
    color: #eed8b6;
    border: 2px solid #8b6b4a;
    padding: 10px 40px;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
    background-color: rgba(60, 30, 20, 0.4);
}

.btn-cta:hover {
    background-color: rgba(139, 107, 74, 0.8);
}

/* Footer */
footer {
    padding: 30px 40px;
    background-color: #201006;
    color: #eed8b6;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-left .logo {
    font-family: 'Cinzel', serif;
    font-size: 20px;
}

.footer-middle ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.footer-middle li {
    font-size: 14px;
}

.footer-middle i {
    margin-right: 10px;
    color: #5a3821;
}

.footer-right h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-right ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.footer-right a {
    color: #a98d6c;
    text-decoration: none;
    font-size: 12px;
}

.footer-right a:hover {
    color: #eed8b6;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    .service-cards {
        flex-direction: column;
    }

    .about {
        flex-direction: column;
    }

    .features {
        flex-wrap: wrap;
        gap: 20px;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
	width: 100%;
}
.footer-left .logo img {
    height: auto;
    width: auto;
}


/* ============================================================
   RESPONSIVE NEW CSS — Mobile-First Overhaul
   All breakpoints: 900px (tablet), 768px (small tablet), 480px (mobile)
   Hamburger menu styles included — toggled by script.js
   ============================================================ */

/* ── Hamburger Button ──────────────────────────────────────── */
.sb-mobile-cta {
    display: none;
}
.sb-hamburger {
    display: none;               /* hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 9999;
    flex-shrink: 0;
}

.sb-hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #2c1a0e;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}

/* Animated X state when nav is open */
.sb-hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.sb-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.sb-hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── Mobile Nav Overlay ────────────────────────────────────── */
nav.sb-nav-open ul {
    display: flex !important;
}

/* ── Tablet / Small Desktop  ≤ 900px ──────────────────────── */
@media (max-width: 900px) {

    /* --- Top Bar --- */
    .top-bar {
        justify-content: center;
        padding: 8px 15px;
    }

    .contact-info {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* --- Header --- */
    header {
        flex-wrap: wrap;
        padding: 15px 20px;
        gap: 0;
        position: relative;
    }

    /* Logo takes left side, hamburger takes right */
    .logo {
        flex: 1;
    }

    .logo img {
        height: 90px;
    }

    /* Make hamburger visible */
    .sb-hamburger {
        display: flex;
    }

    /* "GET A QUOTE" header button — hide on tablet, shown below nav */
    .btn-quote-header {
        display: none;
    }

    /* Nav collapses into a full-width dropdown */
    nav {
        order: 3;             /* push below logo row */
        width: 100%;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.35s ease;
    }

    nav.sb-nav-open {
        max-height: 400px;    /* generous cap for animation */
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        background-color: #2c1a0e;
        padding: 10px 0;
        margin-top: 10px;
        border-radius: 4px;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        color: #eed8b6 !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 14px;
        letter-spacing: 1px;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    nav ul li a:hover {
        background-color: rgba(255,255,255,0.1);
        color: #f4e8d2 !important;
    }

    /* CTA Quote button — shown below nav on mobile */
    .sb-mobile-cta {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        order: 4;
    }

    .sb-mobile-cta .btn-quote-header {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        border-radius: 4px;
    }

    /* --- Hero --- */
    .hero {
        height: auto !important;
        min-height: 340px;
        padding: 40px 20px;
        align-items: center;
        justify-content: center;
    }

    .hero::before {
        background: linear-gradient(to bottom,
            rgba(0,0,0,0.75) 0%,
            rgba(0,0,0,0.5) 100%);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-badge {
        width: 80px;
    }

    .hero-content h2 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .hero-subtext-doors {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .hero-content p {
        font-size: 15px;
    }

    /* --- Services --- */
    .services {
        padding: 40px 15px;
    }

    .service-cards {
        flex-direction: column;
        gap: 16px;
    }

    .card {
        width: 100%;
    }

    /* --- About --- */
    .about {
        padding: 30px 0;
    }

    .about-container {
        flex-direction: column;
        gap: 24px;
    }

    .about-content,
    .about-image {
        flex: none;
        width: 100%;
    }

    .about-image img {
        max-height: 320px;
        object-fit: cover;
    }

    /* --- Why Choose Us --- */
    .why-choose-us {
        padding: 40px 15px;
    }

    .features {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .feature {
        width: calc(50% - 12px);
        min-width: 120px;
    }

    /* --- Section Header --- */
    .section-header h3 {
        font-size: 22px;
    }

    .section-header .line {
        max-width: 80px;
    }

    /* --- CTA --- */
    .cta {
        padding: 25px 15px;
    }

    .cta h3 {
        font-size: 18px;
    }

    /* --- Gallery --- */
    .gallery-section {
        padding: 40px 0;
    }

    .gallery-container {
        gap: 24px;
    }

    .project {
        flex-direction: column !important;
        gap: 16px;
    }

    .project-image,
    .project-info {
        flex: none;
        width: 100%;
    }

    /* --- Contact --- */
    .contact-section > .container {
        flex-direction: column !important;
        gap: 24px;
    }

    .contact-details,
    .contact-form-container {
        flex: none !important;
        width: 100%;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* --- Brands --- */
    .brand-list {
        gap: 12px;
    }

    .brand-box {
        font-size: 16px;
        padding: 14px 18px;
    }

    /* --- Partners section --- */
    .partners {
        padding: 30px 15px;
    }

    /* --- Footer --- */
    footer {
        padding: 24px 15px;
    }

    .footer-container {
        flex-direction: column;
        gap: 18px;
        text-align: center;
        align-items: center;
    }

    .footer-middle ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-right ul {
        justify-content: center;
    }
}

/* ── Small Tablet  ≤ 768px ──────────────────────────────────── */
@media (max-width: 768px) {

    .logo img {
        height: 70px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-subtext-doors {
        font-size: 14px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn-primary {
        padding: 10px 22px;
        font-size: 13px;
    }

    .about-content h3 {
        font-size: 20px;
    }

    .about-content h4 {
        font-size: 13px;
    }

    .feature {
        width: calc(50% - 12px);
    }

    /* contact details list stack icon+text */
    .contact-details ul li {
        align-items: flex-start;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 14px;
    }
}

/* ── Mobile  ≤ 480px ────────────────────────────────────────── */
@media (max-width: 480px) {

    .logo img {
        height: 60px;
    }

    header {
        padding: 12px 15px;
    }

    /* Hero extra compact */
    .hero {
        min-height: 280px;
        padding: 30px 15px;
    }

    .hero-badge {
        width: 60px;
    }

    .hero-content h2 {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .hero-subtext-doors {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    /* Full-width features grid (1 column) */
    .feature {
        width: 100%;
    }

    /* Section headers shrink */
    .section-header h3 {
        font-size: 18px;
    }

    .section-header .line {
        display: none;
    }

    /* Cards */
    .card h4 {
        font-size: 17px;
    }

    /* CTA */
    .cta h3 {
        font-size: 16px;
    }

    .btn-cta {
        font-size: 15px;
        padding: 10px 24px;
    }

    /* About */
    .about-content h3 {
        font-size: 18px;
    }

    .btn-dark {
        font-size: 13px;
    }

    /* Footer */
    .footer-left .logo {
        font-size: 16px;
    }

    .footer-middle li {
        font-size: 13px;
    }

    /* Brand boxes */
    .brand-box {
        font-size: 14px;
        padding: 10px 14px;
    }

    /* Form submit btn */
    .btn-quote-header.submit-btn {
        font-size: 15px;
        padding: 13px;
    }

    /* Contact details */
    .contact-details {
        padding: 24px 16px;
    }

    .contact-form-container {
        padding: 24px 16px;
    }
}

.container {
    max-width: 1300px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}