/* ============================================
   BIZ INTERNATIONAL — SHARED STYLES
   ============================================ */

/* --- VARIABLES & RESET --- */
:root {
    --primary-dark: #1a1a1a;
    --primary-blue: #2c3e50;
    --accent-gold: #c5a059;
    --accent-hover: #b08d4b;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --text-grey: #666666;
    --border-color: #e5e5e5;
    --transition: all 0.3s ease-in-out;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

.section-header { margin-bottom: 50px; text-align: center; }
.section-header h2 {
    font-size: 2.5rem; margin-bottom: 15px;
    position: relative; display: inline-block;
}
.section-header h2::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--accent-gold); margin: 10px auto 0;
}
.section-header p { color: var(--text-grey); max-width: 600px; margin: 0 auto; }

.btn {
    display: inline-block; padding: 12px 30px;
    border: 2px solid var(--accent-gold); color: var(--accent-gold);
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; background: transparent; transition: var(--transition);
    font-family: var(--font-body); font-size: 0.9rem;
}
.btn:hover { background: var(--accent-gold); color: var(--white); }
.btn-filled { background: var(--accent-gold); color: var(--white); }
.btn-filled:hover { background: var(--primary-blue); border-color: var(--primary-blue); }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--primary-blue); color: var(--white);
    padding: 10px 0; font-size: 0.9rem;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.contact-info-top span { margin-right: 20px; }
.contact-info-top i { color: var(--accent-gold); margin-right: 8px; }

/* ============================================
   HEADER & NAV
   ============================================ */
header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar {
    display: flex; justify-content: space-between;
    align-items: center; padding: 15px 0;
}
.logo {
    font-family: var(--font-head); font-size: 1.8rem;
    font-weight: 700; color: var(--primary-blue);
}
.nav-menu { display: flex; gap: 30px; }
.nav-link { font-weight: 500; font-size: 1rem; color: var(--primary-dark); }
.nav-link:hover, .nav-link.active { color: var(--accent-gold); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 20px 0; background: var(--light-grey);
    font-size: 0.9rem; color: var(--text-grey);
}
.breadcrumbs a { color: var(--primary-blue); font-weight: 600; }
.breadcrumbs a:hover { color: var(--accent-gold); }
.breadcrumbs span { margin: 0 10px; }

/* ============================================
   HERO (Homepage)
   ============================================ */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('../images/hero-bg.jpg');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
}
.hero-content h1 { font-size: 4rem; margin-bottom: 20px; animation: fadeInUp 1s ease; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; animation: fadeInUp 1.2s ease; }

/* ============================================
   OUR STORY / LEGACY
   ============================================ */
.story-section { background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.story-content h3 { font-size: 2rem; color: var(--accent-gold); margin-bottom: 10px; }
.story-content h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.story-content p { margin-bottom: 20px; color: var(--text-grey); }
.story-img { position: relative; }
.story-img img { border-radius: 8px; box-shadow: 20px 20px 0 var(--light-grey); }

/* ============================================
   QUALITY SECTION
   ============================================ */
.quality-section {
    background: var(--primary-blue); color: var(--white);
    position: relative; overflow: hidden;
}
.quality-container {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.quality-text h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--accent-gold); }
.quality-text ul { margin-top: 30px; }
.quality-text li {
    display: flex; align-items: center;
    margin-bottom: 15px; font-size: 1.1rem;
}
.quality-text li i { color: var(--accent-gold); margin-right: 15px; font-size: 1.2rem; }
.quality-video {
    height: 100%; min-height: 300px;
    background: url('https://images.unsplash.com/photo-1622372738946-a287c31d87f7?q=80&w=1887') center/cover;
    border-radius: 4px; position: relative;
}
.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: var(--accent-gold);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; cursor: pointer; animation: pulse 2s infinite;
}

/* ============================================
   PRODUCTS GRID (Homepage)
   ============================================ */
.products-section { background: var(--light-grey); }
.product-categories {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.category-card {
    background: var(--white); border-radius: 8px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition);
}
.category-card:hover { transform: translateY(-10px); }
.cat-img { height: 250px; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.category-card:hover .cat-img img { transform: scale(1.1); }
.cat-info { padding: 25px; text-align: center; }
.cat-info h3 { font-size: 1.5rem; margin-bottom: 10px; }
.cat-info p { margin-bottom: 15px; font-size: 0.9rem; color: #777; }
.cat-info a { color: var(--accent-gold); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }

/* ============================================
   WHY CHOOSE US (Features)
   ============================================ */
.features-section { background: var(--white); }
.features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-box {
    text-align: center; padding: 40px 20px;
    border: 1px solid #eee; border-radius: 8px; transition: var(--transition);
}
.feature-box:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.feature-box i { font-size: 3rem; color: var(--accent-gold); margin-bottom: 20px; }
.feature-box h4 { margin-bottom: 15px; font-size: 1.2rem; }
.feature-box p { font-size: 0.95rem; color: var(--text-grey); }

/* ============================================
   STATS COUNTER
   ============================================ */
.stats-section {
    background: url('https://images.unsplash.com/photo-1533090161767-e6ffed986c88?q=80&w=2069') fixed center/cover;
    position: relative; color: var(--white);
}
.stats-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%; height: 100%; padding: 80px 0;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; text-align: center;
}
.stat-item h3 {
    font-size: 3.5rem; color: var(--accent-gold);
    margin-bottom: 10px; font-weight: 700;
}
.stat-item p { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section { background: var(--light-grey); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white); margin-bottom: 15px;
    border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); overflow: hidden;
}
.faq-question {
    padding: 20px; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 1.1rem;
}
.faq-question i { transition: transform 0.3s; color: var(--accent-gold); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out;
    padding: 0 20px; background: #fafafa; color: var(--text-grey);
}
.faq-item.active .faq-answer {
    max-height: 200px; padding: 20px; border-top: 1px solid #eee;
}
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* ============================================
   CLIENTS & CERTIFICATIONS
   ============================================ */
.clients-section { background: var(--white); padding-bottom: 40px; }
.logo-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 40px; align-items: center; opacity: 0.7;
}
.logo-item {
    font-size: 1.5rem; font-weight: 700; color: #ccc;
    display: flex; align-items: center; gap: 10px;
}
.logo-item i { font-size: 2rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: var(--primary-blue); color: var(--white); text-align: center;
}
.testimonial-slider { max-width: 800px; margin: 0 auto; }
.testimonial-card p {
    font-size: 1.3rem; font-style: italic;
    margin-bottom: 25px; line-height: 1.6;
}
.testimonial-author h4 { color: var(--accent-gold); font-size: 1.1rem; }
.testimonial-author span { font-size: 0.9rem; opacity: 0.8; }

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--white); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    box-shadow: 0 0 30px rgba(0,0,0,0.1); border-radius: 8px; overflow: hidden;
}
.contact-details {
    background: var(--primary-dark); color: var(--white); padding: 50px;
}
.contact-form-box { padding: 50px; background: var(--white); }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px; border: 1px solid #ddd;
    border-radius: 4px; font-family: var(--font-body);
}
.c-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: center; }
.c-item i { color: var(--accent-gold); font-size: 1.2rem; }

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #111; color: #aaa; padding: 70px 0 20px; font-size: 0.9rem;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px; margin-bottom: 50px;
}
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--accent-gold); padding-left: 5px; }
.footer-col li { display: flex; align-items: center; gap: 0; }
.footer-col li i { margin-right: 8px; color: var(--accent-gold); }
.copyright { border-top: 1px solid #222; padding-top: 20px; text-align: center; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

/* Page Hero */
.page-hero {
    height: 45vh; min-height: 320px;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
}
.page-hero h1 { font-size: 3.2rem; margin-bottom: 15px; animation: fadeInUp 0.8s ease; }
.page-hero p {
    font-size: 1.15rem; max-width: 650px; margin: 0 auto;
    opacity: 0.9; animation: fadeInUp 1s ease;
}

/* Product Hero */
.product-hero { padding: 60px 0; }
.product-wrapper {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px;
}

/* Gallery */
.gallery-container { position: sticky; top: 100px; }
.main-image {
    width: 100%; height: 500px; background: #eee;
    border-radius: 8px; overflow: hidden; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
}
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumbnails { display: flex; gap: 15px; }
.thumb {
    width: 80px; height: 80px; border-radius: 4px;
    overflow: hidden; cursor: pointer; opacity: 0.6;
    border: 2px solid transparent; transition: var(--transition);
}
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--accent-gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-info h1 {
    font-family: var(--font-head); font-size: 2.5rem;
    margin-bottom: 10px; line-height: 1.2;
}
.product-sku {
    font-size: 0.9rem; color: var(--text-grey);
    margin-bottom: 20px; display: block;
}
.price-enquiry {
    margin-bottom: 30px; padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}
.short-desc {
    font-size: 1.1rem; color: var(--text-grey); margin-bottom: 25px;
}
.feature-list {
    margin-bottom: 30px; display: grid;
    grid-template-columns: 1fr 1fr; gap: 15px;
}
.f-item {
    display: flex; align-items: center; gap: 10px;
    font-weight: 500; color: var(--primary-dark);
}
.f-item i { color: var(--accent-gold); }
.action-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

/* Tabs */
.product-tabs { padding: 60px 0; background: #fff; border-top: 1px solid var(--border-color); }
.tab-nav {
    display: flex; gap: 40px;
    border-bottom: 2px solid var(--border-color); margin-bottom: 40px;
}
.tab-btn {
    padding-bottom: 15px; font-size: 1.1rem; font-weight: 600;
    cursor: pointer; color: var(--text-grey);
    position: relative; margin-bottom: -2px; background: none; border: none;
    font-family: var(--font-body); transition: var(--transition);
}
.tab-btn.active { color: var(--primary-blue); border-bottom: 2px solid var(--accent-gold); }
.tab-btn:hover { color: var(--primary-blue); }
.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }
.tab-content p { margin-bottom: 20px; color: var(--text-grey); }
.tab-content h3 { margin-bottom: 20px; }
.tab-content ul { margin-bottom: 20px; padding-left: 0; }
.tab-content ul li {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 10px; color: var(--text-grey);
}
.tab-content ul li i { color: var(--accent-gold); margin-top: 5px; }

/* Specs Table */
.specs-table {
    width: 100%; border-collapse: collapse; margin-top: 20px;
}
.specs-table th, .specs-table td {
    padding: 15px; text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.specs-table th {
    width: 30%; color: var(--primary-blue);
    font-weight: 600; background: #f9f9f9;
}
.specs-table td { color: var(--text-grey); }

/* Callout Box */
.info-callout {
    padding: 20px; background: #f9f9f9; border-radius: 4px;
    border-left: 4px solid var(--accent-gold);
}
.info-callout h4 { margin-bottom: 5px; }
.info-callout p { font-size: 0.9rem; margin: 0; }

/* ============================================
   RELATED PRODUCTS / CROSS-SELL
   ============================================ */
.related-products { padding: 60px 0; background: var(--light-grey); }
.section-title {
    font-family: var(--font-head); font-size: 2rem;
    margin-bottom: 40px; text-align: center;
}
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.p-card {
    background: white; border-radius: 8px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition);
}
.p-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.p-img { height: 250px; overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.p-card:hover .p-img img { transform: scale(1.1); }
.p-info { padding: 20px; text-align: center; }
.p-info h4 { margin-bottom: 8px; font-family: var(--font-head); }
.p-info a {
    font-size: 0.8rem; color: var(--accent-gold); font-weight: 600;
    text-transform: uppercase;
}

/* ============================================
   DOOR FRAMES PAGE — TYPE CARDS
   ============================================ */
.frame-types { background: var(--white); padding: 80px 0; }
.type-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.type-card {
    background: var(--white); border-radius: 12px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06); transition: var(--transition);
    border: 1px solid #eee;
}
.type-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.type-card-header {
    background: var(--primary-blue); color: var(--white);
    padding: 25px 30px; position: relative; overflow: hidden;
}
.type-card-header::before {
    content: ''; position: absolute; top: -50%; right: -50%;
    width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(197,160,89,0.15) 0%, transparent 70%);
}
.type-card-header .type-number {
    font-size: 3rem; font-weight: 800; color: var(--accent-gold); opacity: 0.3;
    position: absolute; top: 10px; right: 20px; font-family: var(--font-head);
}
.type-card-header h3 { font-size: 1.4rem; margin-bottom: 5px; position: relative; z-index: 1; }
.type-card-header .type-tag {
    display: inline-block; padding: 3px 12px;
    background: rgba(197,160,89,0.2); color: var(--accent-gold);
    font-size: 0.75rem; border-radius: 20px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.type-card-body { padding: 30px; }
.type-card-body p { color: var(--text-grey); margin-bottom: 20px; font-size: 0.95rem; }
.type-card-body .feature-list {
    margin-bottom: 25px; display: block;
}
.type-card-body .feature-list li {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px; font-size: 0.9rem; color: var(--primary-dark);
}
.type-card-body .feature-list li i { color: var(--accent-gold); font-size: 0.85rem; }
.type-card-body .btn { width: 100%; text-align: center; padding: 10px; font-size: 0.85rem; }

/* ============================================
   SPECS SECTION (standalone)
   ============================================ */
.specs-section { background: var(--light-grey); padding: 80px 0; }
.specs-container {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
}
.specs-content h2 { font-size: 2.2rem; margin-bottom: 20px; }
.specs-content p { color: var(--text-grey); margin-bottom: 25px; }
.specs-section .specs-table {
    background: var(--white); border-radius: 8px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.specs-section .specs-table tr:last-child th,
.specs-section .specs-table tr:last-child td { border-bottom: none; }

/* ============================================
   QUALITY CALLOUT (Product pages)
   ============================================ */
.quality-callout {
    background: var(--primary-blue); color: var(--white);
    padding: 60px 0; text-align: center;
    position: relative; overflow: hidden;
}
.quality-callout::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 35px,
        rgba(255,255,255,0.02) 35px, rgba(255,255,255,0.02) 70px
    );
}
.quality-callout .container { position: relative; z-index: 1; }
.quality-callout h2 { font-size: 2rem; margin-bottom: 15px; color: var(--accent-gold); }
.quality-callout p { max-width: 700px; margin: 0 auto 30px; opacity: 0.9; }
.quality-badges { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.badge-item { display: flex; align-items: center; gap: 12px; }
.badge-item i { font-size: 2rem; color: var(--accent-gold); }
.badge-item span { font-weight: 600; font-size: 1.05rem; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { background: var(--light-grey); padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 2.2rem; margin-bottom: 15px; }
.cta-section p { color: var(--text-grey); max-width: 550px; margin: 0 auto 30px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .navbar .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .page-hero h1 { font-size: 2.2rem; }
    .story-grid,
    .quality-container,
    .stats-grid,
    .contact-grid,
    .features-grid,
    .specs-container { grid-template-columns: 1fr; }
    .top-bar { display: none; }
    .stats-grid { gap: 40px; }
    .product-wrapper { grid-template-columns: 1fr; }
    .gallery-container { position: static; }
    .tab-nav { gap: 20px; overflow-x: auto; white-space: nowrap; }
    .type-card-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
}
