/* ==========================================================================
   HD FLOORING - STYLESHEET
   ========================================================================== */

:root {
    --primary: #c8963e;
    --primary-dark: #a67a2e;
    --primary-light: #e8c878;
    --dark: #1a1a1a;
    --dark-2: #2a2a2a;
    --dark-3: #333;
    --gray: #666;
    --gray-light: #999;
    --light: #f5f5f0;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-3);
    background: var(--white);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; color: var(--dark); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 15px; }
h3 { font-size: 1.3rem; }

.text-accent { color: var(--primary); }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 50px; }
.section-header p { color: var(--gray); font-size: 1.05rem; }
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-whatsapp { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: var(--white); }
.btn-lg { padding: 15px 35px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition);
    padding: 15px 0;
}
.navbar.scrolled {
    background: var(--dark);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 50px; width: auto; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
}
.nav-link {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.btn-nav {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    margin-left: 10px;
}
.btn-nav:hover { background: var(--primary-dark) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.nav-overlay.active { display: block; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 100vh; min-height: 600px; max-height: 900px; overflow: hidden; }
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%); }
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 80px;
}
.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    width: fit-content;
}
.hero h1, .hero h2.hero-heading {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}
.hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 550px; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.hero-dot.active { background: var(--primary); transform: scale(1.3); }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar { background: var(--dark); padding: 25px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}
.trust-item i { font-size: 1.5rem; color: var(--primary); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.9rem; }
.trust-item span { font-size: 0.8rem; color: var(--gray-light); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-images { position: relative; }
.about-img-main {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 55%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}
.about-content .section-label { display: block; }
.about-content p { color: var(--gray); margin-bottom: 15px; }
.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.stat { text-align: center; }
.stat-number { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-align: center;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* ==========================================================================
   FLOORING TYPES (Detail Layout)
   ========================================================================== */
.flooring-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}
.flooring-detail:last-child { border-bottom: none; }
.flooring-detail.reverse .flooring-detail-img { order: 2; }
.flooring-detail.reverse .flooring-detail-content { order: 1; }
.flooring-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.flooring-detail-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.flooring-detail-img:hover img { transform: scale(1.03); }
.flooring-detail-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark);
}
.flooring-detail-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.8;
}
.flooring-detail-content .btn { margin-top: 10px; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { background: var(--light); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item.hidden { display: none; }
.gallery-item.show { display: block; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-toggle { text-align: center; margin-top: 30px; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--white);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 2rem;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}
.cta-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.85); }
.cta-content { position: relative; text-align: center; }
.cta-content h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 15px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 30px; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-form { background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea { resize: vertical; }

.form-status { margin-top: 15px; padding: 12px; border-radius: var(--radius); text-align: center; display: none; }
.form-status.success { display: block; background: #d4edda; color: #155724; }
.form-status.error { display: block; background: #f8d7da; color: #721c24; }

.contact-card {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.contact-card h3 { margin-bottom: 20px; font-size: 1.2rem; }
.contact-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
}
.contact-detail i { color: var(--primary); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.contact-detail p { color: var(--gray); font-size: 0.9rem; margin: 0; }
.contact-detail a { color: var(--gray); }
.contact-detail a:hover { color: var(--primary); }

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
}
.hours-row:last-child { border-bottom: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 45px; margin-bottom: 15px; }
.footer-about p { font-size: 0.9rem; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 15px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.footer-links h4, .footer-contact h4 { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 10px; }
.footer-contact i { color: var(--primary); margin-right: 8px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   WHATSAPP FLOAT & BACK TO TOP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 900;
    transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

.back-to-top {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .flooring-detail { gap: 30px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right var(--transition);
        z-index: 999;
    }
    .nav-menu.active { right: 0; }
    .nav-link { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .btn-nav { margin-left: 0; margin-top: 15px; text-align: center; display: block; }

    .hero { min-height: 500px; }
    .hero h1, .hero h2.hero-heading { font-size: 2rem; }

    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .trust-item span { display: none; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-accent { position: static; width: 100%; border: none; margin-top: 15px; }

    .services-grid { grid-template-columns: 1fr; }
    .flooring-detail { grid-template-columns: 1fr; gap: 25px; padding: 35px 0; }
    .flooring-detail.reverse .flooring-detail-img { order: 0; }
    .flooring-detail.reverse .flooring-detail-content { order: 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .cta { background-attachment: scroll; }
}

@media (max-width: 480px) {
    .trust-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; justify-content: center; }
    .about-stats { flex-direction: column; gap: 15px; }
}
