
/* =========================================
   T.K. FUNERAL SERVICES
   Website Concept by Mofokeng Web Solutions
   Colours: Black, Gold and White
========================================= */


/* 1. GLOBAL SETTINGS */

:root {
    --black: #111111;
    --dark: #191919;
    --gold: #C6A15B;
    --gold-light: #E0C58D;
    --white: #FFFFFF;
    --grey: #F4F4F4;
    --text: #555555;
    --light-text: #CCCCCC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.narrow-container {
    max-width: 850px;
}

.section {
    padding: 85px 0;
}


/* 2. DEMO NOTICE */

.demo-notice {
    background: var(--gold);
    color: var(--black);
    text-align: center;
    padding: 9px 15px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.demo-notice span {
    font-weight: normal;
}


/* 3. TOP BAR */

.top-bar {
    background: var(--black);
    color: var(--light-text);
    text-align: center;
    padding: 9px 15px;
    font-size: 13px;
    letter-spacing: 1px;
}

.top-bar span {
    color: var(--gold);
    margin: 0 8px;
}


/* 4. HEADER AND NAVIGATION */

.header {
    background: var(--white);
    border-bottom: 1px solid #E8E8E8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    width: 85px;
    height: 75px;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 25px;
}

.navigation a {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.navigation a:hover {
    color: var(--gold);
}

.navigation .nav-button {
    background: var(--black);
    color: var(--white);
    padding: 11px 19px;
    border-radius: 3px;
}

.navigation .nav-button:hover {
    background: var(--gold);
    color: var(--black);
}


/* 5. BUTTONS */

.gold-button {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 14px 27px;
    border: 1px solid var(--gold);
    border-radius: 3px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.gold-button:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}


/* 6. HERO SECTION */

.hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.78)
        ),
        url("../images/funeral-hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-label {
    color: var(--gold-light);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 22px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero-description {
    color: #E2E2E2;
    max-width: 570px;
    font-size: 17px;
    margin-bottom: 32px;
}


/* 7. SECTION HEADINGS */

.section-label {
    color: #A17C38;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section h2,
.introduction h2 {
    color: var(--black);
    font-size: clamp(29px, 4vw, 40px);
    line-height: 1.25;
    margin-bottom: 20px;
}

.section-description {
    max-width: 680px;
    margin: 0 auto 40px;
    color: var(--text);
}


/* 8. INTRODUCTION */

.introduction {
    padding: 90px 0;
    text-align: center;
    background: var(--grey);
}

.introduction p:last-child {
    max-width: 720px;
    margin: auto;
    font-size: 16px;
}


/* 9. ABOUT SECTION */

.about {
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: auto;
}

.about-content p:not(.section-label) {
    margin-bottom: 20px;
}

.about-content .gold-button {
    margin-top: 12px;
}


/* 10. SERVICES SECTION */

.services {
    background: var(--grey);
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px 22px;
    border-bottom: 3px solid var(--gold);
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-number {
    color: var(--gold);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--black);
    font-size: 19px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text);
}


/* 11. FUNERAL PLANS */

.plans-gallery {
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.plans-gallery h2 {
    color: var(--white);
}

.plans-gallery .section-description {
    color: var(--light-text);
    max-width: 680px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
    margin-top: 40px;
}

.plan-card {
    background: var(--dark);
    border: 1px solid var(--gold);
    border-radius: 7px;
    padding: 38px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(198, 161, 91, 0.15);
}

.plan-card-header p {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 12px;
}

.plan-card h3 {
    color: var(--white);
    font-size: 21px;
    margin-bottom: 25px;
}

.plan-price {
    color: var(--gold);
    font-size: 50px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}

.plan-price span {
    font-size: 25px;
    vertical-align: top;
}

.plan-description {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 30px;
}

.plan-button {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 13px 25px;
    border-radius: 3px;
    margin-top: auto;
}

.plan-button:hover {
    background: var(--white);
}

.plans-note {
    color: #BBBBBB;
    font-size: 13px;
    max-width: 750px;
    margin: 30px auto 0;
    line-height: 1.8;
}


/* 12. BRANCHES AND LOCATIONS */

.branches {
    background: var(--grey);
    text-align: center;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 40px;
    text-align: left;
}

.branch-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.branch-information {
    padding: 30px;
}

.branch-label {
    color: #A17C38;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.branch-card h3 {
    color: var(--black);
    font-size: 22px;
    margin-bottom: 18px;
}

.branch-address {
    margin-bottom: 15px;
}

.branch-phone {
    margin-bottom: 15px;
}

.branch-phone a {
    color: #A17C38;
    font-weight: bold;
    text-decoration: none;
}

.branch-phone a:hover {
    text-decoration: underline;
}

.branch-link {
    display: inline-block;
    color: #A17C38;
    font-weight: bold;
    text-decoration: none;
    margin-top: 5px;
}

.branch-link:hover {
    text-decoration: underline;
}

.map-container {
    width: 100%;
    height: 280px;
    border-top: 2px solid var(--gold);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* 13. CONTACT SECTION */

.contact {
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.contact h2 {
    color: var(--white);
}

.contact p:not(.section-label) {
    color: var(--light-text);
    margin-bottom: 28px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}


/* 14. FOOTER */

.footer {
    background: #080808;
    color: var(--light-text);
    text-align: center;
    padding: 50px 0 25px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo .logo-image {
    width: 90px;
    height: 80px;
}

.footer-tagline {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin: 25px 0;
}

.footer-links a {
    color: var(--light-text);
    font-size: 13px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    font-size: 12px;
    color: #999999;
    margin-top: 25px;
}

.demo-footer {
    font-size: 12px;
    color: #999999;
    margin-top: 10px;
}

.demo-footer strong {
    color: var(--gold);
}


/* 15. TABLET RESPONSIVENESS */

@media (max-width: 950px) {

    .navigation {
        gap: 15px;
    }

    .navigation a {
        font-size: 13px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* 16. MOBILE RESPONSIVENESS */

@media (max-width: 700px) {

    .section {
        padding: 65px 0;
    }

    .demo-notice {
        font-size: 10px;
        line-height: 1.6;
    }

    .top-bar {
        font-size: 11px;
    }

    .nav-container {
        flex-direction: column;
        padding-top: 12px;
        padding-bottom: 15px;
        gap: 12px;
    }

    .logo-image {
        width: 75px;
        height: 65px;
    }

    .navigation {
        justify-content: center;
        gap: 12px 18px;
    }

    .navigation a {
        font-size: 12px;
    }

    .navigation .nav-button {
        padding: 8px 12px;
    }

    .hero {
        min-height: 480px;
        background-position: center;
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero-label {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .plan-card {
        padding: 32px 22px;
    }

    .branch-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 250px;
    }

    .branch-information {
        padding: 24px;
    }

    .footer-links {
        gap: 15px;
    }

}


/* 17. SMALL MOBILE SCREENS */

@media (max-width: 380px) {

    .navigation {
        gap: 10px;
    }

    .navigation a {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .plan-price {
        font-size: 43px;
    }

}


