/* --- VARIABLES --- */
:root {
    --primary-color: #D49A36; /* Golden yellow */
    --primary-hover: #b8832b;
    --dark-blue: #0A1128;
    --darker-blue: #050914;
    --light-bg: #F8F9FA;
    --text-color: #333333;
    --text-light: #777777;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px; /* Offset for sticky header native jump scroll */
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--light-bg); }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn i {
    margin-left: 8px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: #070D1E;
    color: #e0e0e0;
    font-size: 0.85rem;
    padding: 10px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar i {
    color: var(--primary-color);
    margin-right: 8px;
}

.phone-link {
    font-weight: 600;
    font-size: 0.95rem;
}
.phone-link:hover {
    color: var(--primary-color);
}

/* --- HEADER / NAV --- */
.header {
    background-color: transparent !important;
    color: var(--white);
    padding: 20px 0;
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 1000;
    border: none;
    box-shadow: none;
    transition: background-color 0.4s ease;
}

.site-logo {
    max-height: 60px;
    width: auto;
}

.header.scrolled {
    position: fixed;
    top: 0;
    background-color: var(--dark-blue) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.header.header-solid {
    background-color: var(--dark-blue) !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.logo-text h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
}

.logo-text span {
    color: var(--primary-color);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #cccccc;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 500px;
    color: #e0e0e0;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

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

.icon-circle {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* --- SECTION SHARED --- */
.section {
    padding: 80px 0;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 40px;
}

/* --- PLACEHOLDER IMAGES --- */
.placeholder-img {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid #eee;
}

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

.service-img {
    height: 200px;
    width: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--dark-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--white);
}

.service-content {
    padding: 40px 20px 30px;
    text-align: center;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.service-link:hover {
    color: var(--dark-blue);
}

/* --- WHY US SECTION --- */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us-img {
    height: 500px;
    border-radius: 8px;
}

.why-us-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* --- PROJECTS SECTION --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.project-item {
    height: 250px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark-blue);
    padding: 15px;
    text-align: center;
    transform: translateY(100%);
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h4 {
    color: var(--white);
    margin: 0;
    font-size: 1rem;
}

/* --- REVIEWS SECTION --- */
.reviews-section {
    background-color: var(--white);
}

.reviews-slider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    flex: 1;
}

.review-card {
    text-align: center;
    padding: 30px;
}

.stars {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.review-author {
    font-weight: 700;
    color: var(--dark-blue);
}

.review-location {
    font-size: 0.85rem;
    color: var(--text-light);
}

.slider-nav {
    background: var(--dark-blue);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-nav:hover {
    background: var(--primary-color);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--darker-blue);
    color: #cccccc;
}

.footer-cta {
    background-color: var(--dark-blue);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.cta-text h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.cta-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-phone {
    display: flex;
    flex-direction: column;
}

.cta-phone span {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.cta-phone a {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-main {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.footer-logo span {
    color: var(--primary-color);
    font-size: 0.6rem;
    letter-spacing: 2px;
}

.footer-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-col h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--primary-color);
}

.contact-col p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-col i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-bottom {
    background-color: #03060d;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-center {
        display: none;
    }
    .nav-cta {
        display: none;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-blue);
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .main-nav a {
        font-size: 1.1rem;
        display: block;
        padding: 5px 10px;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .reviews-container {
        grid-template-columns: 1fr;
    }
    .cta-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .cta-left {
        flex-direction: column;
    }
    .cta-right {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .benefits-list {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
}

/* --- ESTIMATE FORM SECTION --- */
.estimate-section {
    background-color: #F4F1ED;
    padding: 180px 0 80px;
}

.estimate-header {
    margin-bottom: 30px;
}

.estimate-header h3 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-style: italic;
    color: #A3845C;
    margin-bottom: 5px;
}

.estimate-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #A3845C;
}

.estimate-header h2 span {
    font-weight: 700;
    text-transform: uppercase;
}

.estimate-form {
    background: transparent;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #A3845C;
    background-color: var(--white);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    box-shadow: 0 0 5px rgba(163, 132, 92, 0.5);
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #A3845C;
    font-size: 1.1rem;
    pointer-events: none;
}

textarea.form-control {
    padding-left: 15px;
    min-height: 250px;
    resize: vertical;
}

textarea ~ .form-icon {
    top: 25px;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 15px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3845C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.form-submit {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SERVICES DETAIL PAGE --- */
.page-header {
    background-color: var(--dark-blue);
    padding: 180px 0 80px;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.services-detail-section {
    padding: 80px 0;
    background-color: var(--white);
}

.service-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    scroll-margin-top: 110px; /* Bulletproof fallback offset for anchor jumps */
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-block-content {
    flex: 1;
}

.service-block-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-block-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.service-block-image {
    flex: 1;
}

.service-block-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .service-block, .service-block.reverse {
        flex-direction: column;
    }
}

/* --- GALLERY PAGE --- */
.gallery-section {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--light-bg);
    border: 1px solid #ddd;
    color: var(--text-color);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(212, 154, 54, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.gallery-item.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
    color: var(--white);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item-overlay h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item-overlay span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-item-overlay i,
.gallery-item:hover .gallery-item-overlay h3,
.gallery-item:hover .gallery-item-overlay span {
    transform: translateY(0);
}

.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(10, 17, 40, 0.85);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 9, 20, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2010;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2010;
}

.lightbox-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(212, 154, 54, 0.4);
}

.lightbox-arrow.prev {
    left: 30px;
}

.lightbox-arrow.next {
    right: 30px;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img, .lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    display: none;
}

.lightbox-content img.active, .lightbox-content video.active {
    display: block;
}

.lightbox-caption {
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .lightbox-arrow.prev {
        left: 15px;
    }
    .lightbox-arrow.next {
        right: 15px;
    }
    .lightbox-content {
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-filters {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}

/* --- THANK YOU PAGE --- */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--white);
}

.thank-you-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 40px;
    background: var(--light-bg);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    border: 1px solid #eee;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.thank-you-card h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.thank-you-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.6;
}

/* --- PREMIUM FLOORING VISUALIZER --- */
.flooring-custom-view {
    display: none;
    background-color: #1a1a1a;
    color: #fff;
    padding: 0;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    font-family: var(--font-body);
}

.flooring-custom-view.active {
    display: block;
}

.floor-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.floor-interactive-side {
    display: flex;
    flex-direction: column;
}

.floor-main-img-container {
    position: relative;
    width: 100%;
}

.floor-main-img-container img {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.floor-hero-content {
    padding: 60px 40px;
    background-color: #222;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.floor-hero-content h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.floor-hero-content h2 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.floor-hero-content p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 40px;
}

.floor-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.floor-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.floor-feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.floor-feature-text h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #fff;
}

.floor-feature-text p {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0;
}

.floor-selector-container {
    padding: 40px;
    background-color: #1a1a1a;
}

.floor-selector-header {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.floor-swatches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.floor-swatch-card {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

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

.floor-swatch-card.active .swatch-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    pointer-events: none;
}

.swatch-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 80px;
}

.swatch-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swatch-check {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floor-swatch-card.active .swatch-check {
    opacity: 1;
}

.swatch-info {
    padding: 15px 0 0 0;
}

.swatch-info h6 {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 3px;
}

.swatch-info p {
    font-size: 0.8rem;
    color: #aaa;
    margin: 0;
}

@media (max-width: 1024px) {
    .floor-swatches {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .floor-hero {
        grid-template-columns: 1fr;
    }
    .floor-main-img-container {
        min-height: auto;
        height: auto;
    }
    .floor-main-img-container img {
        position: relative;
        height: auto;
        object-fit: contain; /* ensures full image is visible without cutting */
    }
    .floor-hero-content {
        padding: 30px 20px;
    }
    .floor-hero-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .floor-hero-content p {
        margin-bottom: 25px;
    }
    .floor-selector-container {
        padding: 20px 20px;
    }
    .floor-swatches {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .floor-swatches::-webkit-scrollbar {
        display: none;
    }
    .floor-swatch-card {
        flex: 0 0 110px; /* Smaller card width for mobile */
    }
    .swatch-img-wrapper {
        height: 70px; /* Smaller swatch image */
    }
    .swatch-info {
        padding: 10px 0 0 0;
    }
    .swatch-info h6 {
        font-size: 0.9rem;
    }
    .swatch-info p {
        font-size: 0.75rem;
    }
}
