/* =====================================================
   HERO
===================================================== */
.hero {
    width: 100%;
    min-height: calc(100vh - var(--header-h));
    background: #222 url('../../assets/images/shutters/exterior (5).jpg') center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.4) 0%, rgba(17, 17, 17, 0.2) 50%, rgba(17, 17, 17, 0.8) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 900px;
    margin-inline: auto;
}

.hero-content p {
    font-size: clamp(14px, 1.5vw, 18px);
    max-width: 700px;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0 auto 32px auto;
}

.hero-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 14px 36px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background var(--transition), transform var(--transition);
}

.hero-cta:hover {
    background: var(--accent);
    transform: translateY(-2px);
    color: var(--primary);
}

.hero-banner {
    background: var(--primary-mid);
    color: var(--gold);
    text-align: center;
    padding: 18px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* =====================================================
   NAVIGATION CARDS
===================================================== */
.nav-cards-section {
    background: var(--white);
    padding: 40px 0 20px 0;
}

.nav-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-card {
    position: relative;
    height: 280px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.nav-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.4) 60%, rgba(17, 17, 17, 0.2) 100%);
    transition: opacity 0.4s ease;
    z-index: 1;
}

.nav-card-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
}

.nav-card h3 {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--white);
    transition: color var(--transition);
}

.nav-card-link {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.nav-card-link i {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

/* Hover effects */
.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.nav-card:hover .nav-card-overlay {
    background: linear-gradient(to top, rgba(199, 158, 92, 0.95) 0%, rgba(17, 17, 17, 0.5) 70%, rgba(17, 17, 17, 0.3) 100%);
}

.nav-card:hover .nav-card-link {
    color: var(--white);
    gap: 12px;
}

/* =====================================================
   ABOUT SPLIT (HOMEPAGE VIEW)
===================================================== */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 80px;
    align-items: flex-start;
}

.about-title-side {
    position: relative;
}

.about-title-side .section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    line-height: 1.25;
    color: var(--primary);
    margin-bottom: 0;
}

.about-divider {
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    margin-top: 20px;
}

.about-text p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition);
}

.about-cta:hover {
    color: var(--gold);
    transform: translateX(4px);
}

/* =====================================================
   PRODUCTS PREVIEW
===================================================== */
.products-section {
    background: var(--off-white);
}



.products-cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.products-cta {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.products-cta:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.products-cta.secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.products-cta.secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* =====================================================
   SLIDESHOW (LATEST WORK)
===================================================== */
.slideshow-wrapper {
    position: relative;
    max-width: 900px;
    height: 480px;
    margin: 0 auto 30px auto;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0) 100%);
    padding: 40px 30px 20px 30px;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: left;
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, 0.5);
    color: var(--white);
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background var(--transition);
    z-index: 10;
}

.slide-prev:hover,
.slide-next:hover {
    background: var(--gold);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

/* Fade Animation */
.fade {
    animation-name: fadeAnimation;
    animation-duration: 0.8s;
}

@keyframes fadeAnimation {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* =====================================================
   ELEVATE KZN SECTION
===================================================== */
.kzn-elevate-section {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.kzn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.kzn-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.kzn-card-icon {
    width: 50px;
    height: 50px;
    background: var(--off-white);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: background var(--transition), color var(--transition);
}

.kzn-card-icon i {
    width: 24px;
    height: 24px;
}

.kzn-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.kzn-card p {
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.kzn-card-action {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}

.kzn-card-action i {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

/* Hover states */
.kzn-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.kzn-card:hover .kzn-card-icon {
    background: var(--gold);
    color: var(--white);
}

.kzn-card:hover .kzn-card-action {
    gap: 8px;
}

/* =====================================================
   INSTAGRAM FEED
===================================================== */
.instagram-section {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.instagram-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}



/* =====================================================
   RESPONSIVE DESIGN BREAKPOINTS
===================================================== */
@media (max-width: 960px) {
    .kzn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-card {
        height: 220px;
        padding: 20px;
    }

    .hero {
        min-height: clamp(360px, 55vh, 450px);
        padding: 40px 20px;
    }

    .hero-content {
        padding: 20px 10px;
    }

    .hero-content h1 {
        font-size: clamp(24px, 5vw, 36px);
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-cta-container {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        padding: 0 20px;
    }

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

    .slideshow-wrapper {
        height: 300px;
    }

    .slide-prev,
    .slide-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 560px) {
    .kzn-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
}
