/* ===== VARIABLES (Color Palette & Typography) ===== */
:root {
    /* Colors */
    --granite-black: #1C1C1C;
    --stone-grey: #6D6D6D;
    --accent-gold: #C9A45C;
    --off-white: #F5F5F5;
    --dark-grey: #2E2E2E;
    --white: #ffffff;
    --light-grey: #e9ecef;
    --border-color: #dddddd;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--granite-black);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-accent { color: var(--accent-gold) !important; }
.text-grey { color: #cccccc !important; }

.bg-light { background-color: var(--off-white); }
.bg-dark { background-color: var(--granite-black); }

.mt-2 { margin-top: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--granite-black);
}

.btn-primary:hover {
    background-color: #b5924d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--granite-black);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background-color: #000;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--granite-black);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1rem;
}

/* Section Elements */
.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.section-badge-light {
    color: var(--accent-gold);
}

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

.section-desc {
    color: var(--stone-grey);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
}

.center-desc {
    margin: 0 auto 40px auto;
}

/* ===== 2. QUICK ACTION BAR ===== */
.top-bar {
    background-color: var(--granite-black);
    color: var(--white);
    font-size: 0.9rem;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-btn {
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ddd;
    font-weight: 500;
}

.top-btn:hover {
    color: var(--accent-gold);
}

.top-btn.primary-bg {
    background-color: var(--accent-gold);
    color: var(--granite-black);
    font-weight: 600;
}
.top-btn.primary-bg:hover {
    background-color: #b5924d;
}

/* ===== HEADER ===== */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--granite-black);
    letter-spacing: -0.5px;
}

.accent-text {
    color: var(--accent-gold);
}

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

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-grey);
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

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

/* ===== 1. HERO SECTION ===== */
.hero {
    position: relative;
    height: 85vh; /* adjust height */
    min-height: 600px;
    background-color: var(--granite-black);
    display: flex;
    align-items: center;
    /* We'll set the background image via JS or inline later */
    background-image: url('images/hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(28,28,28,0.95) 0%, rgba(28,28,28,0.7) 50%, rgba(28,28,28,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 650px;
}

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

.hero-subtitle {
    color: #dddddd;
    font-size: 1.25rem;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.trust-indicators {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.trust-item {
    color: #ccc;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

/* ===== 3. ABOUT SECTION ===== */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    background: var(--light-grey);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--accent-gold);
    color: var(--granite-black);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-list i {
    color: var(--accent-gold);
    margin-top: 5px;
}

/* ===== 4. PRODUCTS SECTION ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    background: var(--light-grey);
}

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

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-gold);
    color: var(--granite-black);
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-text {
    color: var(--stone-grey);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 15px 0;
}

.card-use-case {
    font-size: 0.85rem;
    color: var(--granite-black);
}

/* ===== 5. WHY CHOOSE US ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--off-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-box:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--accent-gold);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* ===== 6. PROJECT / USAGE SECTION ===== */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 15px;
}

.usage-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-grey);
}

.usage-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.usage-item:nth-child(2) { grid-column: span 2; }

.usage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.usage-item:hover .usage-img {
    transform: scale(1.05);
}

.usage-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
}

.usage-title {
    color: var(--white);
    margin: 0;
}

/* ===== 7. REVIEWS SECTION ===== */
.rating-large {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 40px;
}

.rating-text {
    font-family: var(--font-heading);
    color: var(--granite-black);
    font-weight: 700;
    font-size: 1.2rem;
    margin-left: 10px;
}

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

.review-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.review-stars {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

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

.review-author {
    color: var(--granite-black);
    font-weight: 700;
}

/* ===== 8. CTA SECTION ===== */
.cta-section {
    background-color: var(--granite-black);
    color: var(--white);
    padding: 100px 0;
    border-top: 5px solid var(--accent-gold);
}

.cta-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quote-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 1x 20px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}

select.form-control {
    appearance: none;
    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='white' 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 1rem center;
    background-size: 1em;
}
select.form-control option {
    background-color: var(--granite-black);
    color: var(--white);
}

/* ===== 9. LOCATION SECTION ===== */
.location {
    padding: 0;
}

.container-flex {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0;
}

.location-details {
    flex: 1;
    min-width: 300px;
    padding: 80px 10%;
    background: var(--off-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info {
    margin: 30px 0;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    color: var(--stone-grey);
}

.location-map {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
    position: relative;
    background: #e0e0e0;
}

.map-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--stone-grey);
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* ===== 10. FOOTER ===== */
.footer {
    background-color: #111;
    color: #ccc;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-heading {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-desc {
    margin-top: 20px;
}

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

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col i {
    color: var(--accent-gold);
}

.footer-bottom {
    background-color: #080808;
    padding: 20px 0;
    font-size: 0.9rem;
}


/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 991px) {
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-image { max-width: 600px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 2.8rem; }
    
    .usage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto;
    }
    .usage-item:nth-child(1) { grid-column: span 2; grid-row: span 1; height: 250px;}
    .usage-item:nth-child(2) { grid-column: span 2; grid-row: span 1; height: 250px;}
}

@media (max-width: 768px) {
    .d-none-mobile { display: none !important; }
    
    .top-bar-inner { justify-content: center; }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }
    
    .nav.active { left: 0; }
    .nav-list { flex-direction: column; text-align: center; font-size: 1.2rem; }
    .mobile-toggle { display: block; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    
    .form-row { flex-direction: column; }
    
    .container-flex { flex-direction: column; }
    .location-details { padding: 60px 20px; }
    .location-map { height: 300px; min-height: 300px; }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .experience-badge { right: 0; bottom: 0; border-radius: 8px 0 0 0; }
    .section-title { font-size: 2rem; }
    .usage-grid { grid-template-columns: 1fr; }
    .usage-item:nth-child(1), .usage-item:nth-child(2) { grid-column: span 1; }
}
