/* ===== VARIABLES & CORPORATE THEME (CenturyPly Inspired) ===== */
:root {
    --primary-color: #BE1E2D; /* CenturyPly Deep Red */
    --primary-dark: #8c1621;
    --text-main: #111111;
    --text-muted: #555555;
    --bg-light: #ffffff;
    --bg-alt: #f4f4f4;
    --bg-dark: #1e1e1e;
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.3s ease;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS (Sharp, Corporate) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0; /* Sharp edges */
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.btn-link:hover {
    color: var(--text-main);
    gap: 10px; /* slides the arrow right */
}

/* ===== TOP BAR (Corporate Contact Bar) ===== */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
    z-index: 1001;
    position: relative;
}

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

.top-bar-container i {
    margin-right: 5px;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 900; /* Extremely bold */
    letter-spacing: -0.5px;
    color: var(--primary-color);
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 800; /* Bold links */
    font-size: 0.95rem;
    color: var(--text-main);
    text-transform: uppercase;
    position: relative;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Online High-Quality Wood Interior Image */
    background: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    opacity: 0.6;
}

.hero-shape-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.85) 60%, rgba(17,17,17,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: white;
}

.hero h2 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: #e0e0e0;
    font-weight: 400;
    max-width: 500px;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 10px;
}

.section-title .underline {
    height: 4px;
    width: 50px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* ===== SHOWCASE/INSPIRATION/PRODUCTS SECTION ===== */
.showcase-section {
    padding: 100px 0;
}
.bg-alt {
    background-color: var(--bg-alt);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    flex-wrap: wrap;
}

.heading-number {
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
    line-height: 1;
    font-family: var(--font-heading);
}

.section-heading h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    flex: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.showcase-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    cursor: pointer;
    group: hover;
}

.showcase-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 5; /* Portrait like the reference */
    overflow: hidden;
    background: #e9e9e9;
}

.showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase-card:hover .showcase-img-wrap img {
    transform: scale(1.08); /* slight smooth zoom on hover */
}

.showcase-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.showcase-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
    transition: color var(--transition-fast);
}

.showcase-card:hover .showcase-info h3 {
    color: var(--primary-color);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.showcase-card:hover .icon-btn {
    background-color: var(--text-main);
    border-color: var(--text-main);
    color: white;
}

/* ===== BANNER CTA ===== */
.banner-cta {
    position: relative;
    padding: 100px 0;
    background: url('door-healthy-homes.png') center/cover no-repeat, #2b1d16;
    text-align: left;
    color: white;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    max-width: 600px;
    margin: 0;
}

/* ===== FOOTER MULTI-COL ===== */
footer {
    background-color: var(--bg-light); /* Changed to light to match reference */
    color: var(--text-muted);
    padding: 60px 0 0 0;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #1b5e20; /* Dark green from reference */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.col-head {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.insp-subcols {
    display: flex;
    gap: 40px;
}

.footer-bottom {
    background-color: var(--bg-dark);
    color: #888;
    padding: 30px 0;
}

.footer-logo h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

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

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: white;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
    transition: var(--transition-fast);
}

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

.modal-body {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.modal-img-container {
    flex: 1 1 50%;
    min-height: 300px;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    flex: 1 1 50%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
.hidden-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.visible-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero h2 { font-size: 3.5rem; }
    .hero-shape-overlay { width: 80%; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-picture img { box-shadow: 10px 10px 0px var(--primary-color); margin-top: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .modal-body { flex-direction: column; }
    .modal-img-container { flex: none; height: 250px; }
}

@media (max-width: 768px) {
    .top-bar-container { flex-direction: column; gap: 5px; text-align: center; }
    .mobile-menu-btn { display: block; z-index: 1001; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }

    .hero h2 { font-size: 2.8rem; }
    .hero-shape-overlay { width: 100%; background: rgba(0,0,0,0.8); }
    .hero { height: auto; padding: 100px 0; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .insp-subcols { flex-direction: column; gap: 10px; }
    
    .section-heading { align-items: flex-start; }
    .heading-number { font-size: 3.5rem; }
    
    .modal-content { padding: 30px 20px; }
}

/* ===== STYLISH SHOP INVITE ===== */
.stylish-shop-invite {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 15px 0 25px 0;
    text-align: center;
    background: linear-gradient(90deg, transparent, rgba(190, 30, 45, 0.08), transparent);
    padding: 12px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.stylish-shop-invite i {
    color: #f59e0b;
    margin: 0 5px;
}

.stylish-shop-invite-banner {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #1e1e1e, #0a0a0a);
    border-radius: 16px;
    padding: 70px 30px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.stylish-shop-invite-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    transform: rotate(30deg);
    pointer-events: none;
}

.stylish-shop-invite-banner > * {
    position: relative;
    z-index: 2;
}

.stylish-shop-invite-banner h3 {
    font-size: 2.8rem;
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stylish-shop-invite-banner h3 span {
    color: #f59e0b;
}

.stylish-shop-invite-banner p {
    font-size: 1.25rem;
    color: #b0b0b0;
    margin-bottom: 35px;
    max-width: 650px;
    margin-inline: auto;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f59e0b;
    color: #111;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.shop-btn:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}
