/* =====================================================
   TJAP SPOOR OFFICIAL WEBSITE
   Project Phoenix
   Sprint 010
   style.css v2.0 Foundation Edition
   PART 1
===================================================== */

/* ===============================
   CSS VARIABLES
================================= */

:root{

    --primary:#7A2E1F;
    --primary-dark:#5f2317;

    --secondary:#D8B27A;

    --bg:#FAF7F2;

    --white:#ffffff;

    --text:#333333;

    --text-light:#666666;

    --border:#ece7df;

    --shadow:0 12px 30px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.30s ease;

    --container:1200px;

}

/* ===============================
   RESET
================================= */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

/* ===============================
   GLOBAL
================================= */

html{

    scroll-behavior:smooth;

}

body{

    font-family:Arial, Helvetica, sans-serif;

    background:var(--bg);

    color:var(--text);

    line-height:1.7;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

section{

    padding:100px 20px;

}

.container{

    max-width:var(--container);

    margin:0 auto;

}

/* ===============================
   TYPOGRAPHY
================================= */

h1{

    font-size:60px;

    line-height:1.1;

    color:var(--primary);

}

h2{

    font-size:40px;

    margin-bottom:18px;

    color:var(--primary);

}

h3{

    font-size:28px;

    margin-bottom:15px;

}

p{

    color:var(--text-light);

}

/* ===============================
   BUTTON SYSTEM
================================= */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:15px 30px;

    border-radius:12px;

    font-weight:bold;

    transition:var(--transition);

}

.btn-primary{

    background:var(--primary);

    color:var(--white);

}

.btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

.btn-secondary{

    background:var(--secondary);

    color:#222;

}

.btn-secondary:hover{

    transform:translateY(-3px);

}

/* ===============================
   HERO
================================= */

.hero{

    max-width:var(--container);

    margin:auto;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:70px;

    padding:60px 20px;

}

.hero-text{

    flex:1;

}

.logo{

    width:150px;

    background:var(--primary);

    padding:15px;

    border-radius:16px;

    margin-bottom:35px;

    box-shadow:var(--shadow);

}

.hero h2{

    color:var(--primary);

    font-size:28px;

    margin-bottom:25px;

}

.hero p{

    font-size:20px;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

}

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-image img{

    width:100%;

    max-width:520px;

    border-radius:24px;

    box-shadow:var(--shadow);

}

/* ===============================
   COMMON CARD
================================= */

.card{

    background:var(--white);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

}

/* ===============================
   SECTION TITLE
================================= */

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    margin-bottom:15px;

}

.section-title p{

    max-width:650px;

    margin:auto;

}

/* ==========================================
   PRODUCT SHOWCASE
========================================== */

.products{
    padding: 100px 20px;
    background: #ffffff;
}

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

.section-header{
    text-align: center;
    margin-bottom: 60px;
}

.section-label{
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(122, 46, 31, 0.08);
    color: var(--primary, #7A2E1F);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header h2{
    font-size: 2.3rem;
    color: #2b2b2b;
    margin-bottom: 16px;
}

.section-header p{
    max-width: 680px;
    margin: 0 auto;
    color: #666;
    line-height: 1.8;
}

/* ==========================================
   PRODUCT GRID
========================================== */

.product-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

/* ==========================================
   PRODUCT CARD
========================================== */

.product-card{
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s ease;
}

.product-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.product-card.featured{
    border: 2px solid #7A2E1F;
}

.product-card img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.product-content{
    padding: 32px;
}

.badge{
    display: inline-block;
    background: #7A2E1F;
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-content h3{
    font-size: 1.8rem;
    color: #2b2b2b;
    margin-bottom: 16px;
}

.product-content p{
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ==========================================
   PRODUCT HIGHLIGHTS
========================================== */

.product-content ul{
    list-style: none;
    margin-bottom: 28px;
}

.product-content ul li{
    margin-bottom: 12px;
    color: #444;
}

/* ==========================================
   PRODUCT BUTTONS
========================================== */

.product-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px){

    .product-grid{
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px){

    .products{
        padding: 70px 20px;
    }

    .section-header h2{
        font-size: 2rem;
    }

    .product-content{
        padding: 24px;
    }

    .product-card img{
        height: 240px;
    }

}

@media (max-width: 480px){

    .section-header h2{
        font-size: 1.8rem;
    }

    .product-content h3{
        font-size: 1.5rem;
    }

    .product-actions{
        flex-direction: column;
    }

    .product-actions .btn{
        width: 100%;
        text-align: center;
    }

}

/* =====================================================
   FOOTER
===================================================== */

footer{

    background:var(--primary);

    color:var(--white);

    text-align:center;

    padding:35px 20px;

    margin-top:80px;

}

footer p{

    color:rgba(255,255,255,.85);

    font-size:15px;

}

/* =====================================================
   UTILITIES
===================================================== */

.text-center{

    text-align:center;

}

.mt-1{

    margin-top:10px;

}

.mt-2{

    margin-top:20px;

}

.mt-3{

    margin-top:30px;

}

.mt-4{

    margin-top:40px;

}

.mb-1{

    margin-bottom:10px;

}

.mb-2{

    margin-bottom:20px;

}

.mb-3{

    margin-bottom:30px;

}

.mb-4{

    margin-bottom:40px;

}

/* =====================================================
   TABLET
===================================================== */

@media (max-width:992px){

    h1{

        font-size:48px;

    }

    h2{

        font-size:34px;

    }

    .hero{

        flex-direction:column;

        text-align:center;

        min-height:auto;

        padding-top:80px;

        padding-bottom:80px;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-image{

        margin-top:40px;

    }

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width:768px){

    section{

        padding:70px 20px;

    }

    h1{

        font-size:38px;

    }

    h2{

        font-size:28px;

    }

    h3{

        font-size:24px;

    }

    .logo{

        width:120px;

        margin-left:auto;

        margin-right:auto;

    }

    .hero p{

        font-size:18px;

    }

    .btn{

        width:100%;

    }

}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width:480px){

    h1{

        font-size:32px;

    }

    h2{

        font-size:24px;

    }

    .hero{

        gap:40px;

    }

    .hero-buttons{

        flex-direction:column;

    }

}

/* =====================================================
   CUSTOMER REVIEWS
===================================================== */

.reviews{

    background:#faf7f2;

}

.review-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:50px;

}

.review-card{

    background:#fff;

    padding:35px;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.review-card:hover{

    transform:translateY(-8px);

}

.stars{

    font-size:24px;

    margin-bottom:20px;

}

.review-text{

    font-size:17px;

    line-height:1.8;

    margin-bottom:25px;

    color:#555;

    font-style:italic;

}

.review-card h4{

    color:#7A2E1F;

    font-size:17px;

}

/* ==========================================
   PREMIUM REVIEW CARD
========================================== */

.premium-review-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.3s;

}

.premium-review-card:hover{

    transform:translateY(-8px);

}

.product-photo img{

    width:100%;

    display:block;

}

.product-title{

    text-align:center;

    padding:25px;

}

.product-title h3{

    color:var(--primary);

    margin-bottom:10px;

}

.product-title span{

    color:#c28b00;

    font-weight:bold;

}

.review-image{

    padding:20px;

}

.review-image img{

    width:100%;

    border-radius:12px;

    border:1px solid #ddd;

}

.review-action{

    padding:25px;

    text-align:center;

}

/* ===============================
   REVIEW RESPONSIVE
=============================== */

@media(max-width:992px){

    .review-grid{

        grid-template-columns:1fr;

    }

}

/* =====================================================
   LOCATION
===================================================== */

.location{

    background:#ffffff;

}

.location-wrapper{

    display:grid;

    grid-template-columns:1fr 1.4fr;

    gap:40px;

    align-items:center;

    margin-top:50px;

}

.location-info{

    background:#faf7f2;

    padding:35px;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.location-info h3{

    color:var(--primary);

    margin-bottom:20px;

}

.location-info p{

    margin-bottom:30px;

    line-height:1.9;

}

.map-box{

    overflow:hidden;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.map-box iframe{

    width:100%;

    height:420px;

    border:0;

    display:block;

}

/* ===============================
   LOCATION RESPONSIVE
=============================== */

@media(max-width:992px){

    .location-wrapper{

        grid-template-columns:1fr;

    }

    .map-box iframe{

        height:350px;

    }

}

/* =====================================================
   WHY CHOOSE TJAP SPOOR
===================================================== */

.why-us{

    background:#fff;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:50px;

}

.why-card{

    background:#faf7f2;

    border-radius:18px;

    padding:35px;

    text-align:center;

    transition:.3s;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

}

.why-card:hover{

    transform:translateY(-8px);

}

.why-icon{

    font-size:50px;

    margin-bottom:20px;

}

.why-card h3{

    color:var(--primary);

    margin-bottom:15px;

}

.why-card p{

    line-height:1.8;

}

@media(max-width:992px){

    .why-grid{

        grid-template-columns:1fr;

    }

}

/* =====================================================
   ABOUT
===================================================== */

.about{

    background:#faf7f2;

}

.about-content{

    max-width:900px;

    margin:auto;

}

.about-text{

    background:#fff;

    padding:45px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.about-text p{

    margin-bottom:25px;

    text-align:justify;

    line-height:2;

    font-size:17px;

}

.about-text strong{

    color:var(--primary);

}

.about-text em{

    color:#666;

}

@media(max-width:768px){

    .about-text{

        padding:30px;

    }

}

/* =====================================================
   CONTACT
===================================================== */

.contact{

    background:#ffffff;

}

.contact-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:50px;

}

.contact-card{

    background:#faf7f2;

    border-radius:18px;

    padding:35px 25px;

    text-align:center;

    text-decoration:none;

    color:#333;

    transition:.3s;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

}

.contact-card:hover{

    transform:translateY(-8px);

}

.contact-icon{

    font-size:42px;

    margin-bottom:20px;

}

.contact-card h3{

    color:var(--primary);

    margin-bottom:15px;

}

.contact-card p{

    line-height:1.8;

}

@media(max-width:992px){

    .contact-grid{

        grid-template-columns:1fr;

    }

}

/* =====================================================
   LOCATION CARD
===================================================== */

.location-card{
    display:flex;
    align-items:center;
    gap:40px;

    background:#ffffff;

    padding:35px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    margin-top:30px;

    flex-wrap:wrap;
}

.location-image{
    flex:1 1 350px;
}

.location-image img{
    width:100%;
    display:block;

    border-radius:16px;

    object-fit:cover;
}

.location-info{
    flex:1 1 320px;
}

.location-info h3{
    margin-bottom:20px;

    font-size:2rem;

    color:#3b2b21;
}

.location-info p{
    line-height:1.8;

    color:#555;

    margin-bottom:30px;
}

.btn-location{

    display:inline-block;

    background:#5d3b21;

    color:#fff;

    text-decoration:none;

    padding:14px 28px;

    border-radius:50px;

    font-weight:600;

    transition:.3s ease;
}

.btn-location:hover{

    background:#7a5232;

    transform:translateY(-2px);
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px){

.location-card{

    flex-direction:column;

    padding:25px;
}

.location-info{

    text-align:center;
}

.btn-location{

    width:100%;
}

}

/* =====================================================
   END OF FILE
===================================================== */