/* --- GLOBAL RESET & TYPOGRAPHY --- */
:root {
    --primary: #2c3e50;    /* Dark Slate Blue */
    --accent: #c0392b;     /* Brick Red */
    --gold: #d4af37;       /* Luxury Gold */
    --light: #f4f6f7;      /* Marble White */
    --dark: #1a1a1a;       /* Granite Black */
    --text: #333333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- GOOGLE TRANSLATOR STYLES --- */
#google_translate_element { display: inline-block; vertical-align: middle; margin-left: 10px; }
.goog-te-combo { padding: 3px; font-size: 13px; border: 1px solid #ccc; border-radius: 3px; }
.goog-te-banner-frame { display: none !important; }
body { top: 0px !important; }

/* --- HEADER SECTION --- */
header {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-strip {
    background: var(--primary);
    color: #fff;
    padding: 8px 5%;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container {
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* --- LOGO & NAME LAYOUT --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.logo-img { height: 75px; width: auto; object-fit: contain; }

.logo-text-group { display: flex; flex-direction: column; }
.logo-text-group h1 {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}
.subsidiary-tag {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    margin-top: 2px;
    border-top: 1px solid var(--gold);
    display: inline-block;
    padding-top: 2px;
    font-weight: 600;
}

/* --- NAVIGATION MENU --- */
.nav-menu { display: flex; gap: 25px; }
.nav-menu a {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); }
.nav-menu a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0;
    background-color: var(--accent); transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }

/* --- DROPDOWN MENU STYLES --- */
.dropdown {
    position: relative;
    display: inline-block;
}

/* The "Stones" link acts as the button */
.dropbtn {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    padding-bottom: 5px;
}

/* Ensure hover color matches other links */
.dropdown:hover .dropbtn {
    color: var(--accent);
}

/* The Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001; 
    top: 100%; 
    left: 0;
    border-top: 3px solid var(--accent);
}

/* Links inside the dropdown */
.dropdown-content a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    text-transform: capitalize; 
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: var(--light);
    color: var(--accent);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile adjustments */
@media (max-width: 1024px) {
    .dropdown:hover .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: none;
        padding-left: 15px;
        background: #f9f9f9;
    }
}

/* --- HERO SLIDER SECTION --- */
.hero-slider-section {
    padding: 0; 
    border-bottom: 4px solid var(--gold);
}

.slider-container {
    width: 100%;
    height: 80vh; 
    position: relative;
    overflow: hidden;
    background: #000;
}

.slide {
    display: none; 
    height: 100%;
    width: 100%;
}

.slide:first-child { display: block; }

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* Slider Arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.1);
    border: none;
}
.next { right: 0; }
.prev { left: 0; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.6); }

/* Animation */
.fade { animation-name: fade; animation-duration: 1.5s; }
@keyframes fade { from {opacity: .8} to {opacity: 1} }

/* Caption */
.text-overlay {
    color: #f2f2f2;
    position: absolute;
    bottom: 50px;
    left: 5%;
    background: rgba(0, 0, 0, 0.6); 
    padding: 20px 30px;
    border-left: 5px solid var(--gold);
    max-width: 600px;
}

.text-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--gold);
    text-transform: uppercase;
}
.text-overlay p { font-size: 1rem; color: #ddd; }


/* --- SECTIONS --- */
.container { padding: 80px 5%; max-width: 1400px; margin: 0 auto; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: ''; display: block; width: 60px; height: 4px;
    background: var(--gold); margin: 10px auto 0;
}

/* --- GRIDS & CARDS --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.stone-card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e1e1e1;
}
.stone-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.card-img { height: 260px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.stone-card:hover .card-img img { transform: scale(1.1); }

.card-info { padding: 25px; text-align: center; }
.card-info h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 10px; }
.card-info p { color: #666; font-size: 0.9rem; }

.cta-btn {
    padding: 15px 40px; background-color: var(--accent); color: white;
    font-size: 1rem; font-weight: bold; border-radius: 4px; text-transform: uppercase;
    border: none; cursor: pointer; display: inline-block;
}
.cta-btn:hover { background-color: #922b21; }

/* Product Grid Items */
.product-item { text-align: center; display: block; }
.product-item-img {
    width: 100%; aspect-ratio: 1 / 1; overflow: hidden; margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); background-color: #f0f0f0;
}
.product-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-item:hover .product-item-img img { transform: scale(1.05); }
.product-item h3 { font-size: 0.95rem; color: var(--primary); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; margin: 0; }

/* --- FACTORY SLIDER --- */
.factory-slider-container {
    position: relative; width: 100%; height: 400px; overflow: hidden;
    border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.factory-slide { display: none; width: 100%; height: 100%; }
.factory-slide:first-child { display: block; }
.factory-slide img { width: 100%; height: 100%; object-fit: cover; }
.factory-dots { text-align: center; position: absolute; bottom: 15px; width: 100%; z-index: 2; }
.dot {
    height: 12px; width: 12px; margin: 0 4px; background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%; display: inline-block; transition: background-color 0.6s ease;
}
.dot.active { background-color: var(--accent); }

/* --- FOOTER --- */
footer {
    background: linear-gradient(rgba(10, 20, 30, 0.72), rgba(10, 20, 30, 0.72)), url('footer-bg.webp');
    background-size: cover; background-position: center; background-attachment: scroll;
    color: #fff; padding: 80px 5% 30px; margin-top: auto; position: relative;
}

.footer-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;
    margin-bottom: 50px; align-items: start; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px;
}
.footer-col h4 {
    color: var(--gold); margin-bottom: 25px; font-size: 1.1rem; text-transform: uppercase;
    letter-spacing: 2px; font-weight: 700; position: relative; display: inline-block;
}
.footer-col h4::after {
    content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 2px; background-color: var(--accent);
}
.footer-col p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 15px; color: #d1d1d1; }
.footer-col ul li a { color: #d1d1d1; text-decoration: none; transition: 0.3s; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 8px; }
.copyright { text-align: center; font-size: 0.85rem; color: #888; padding-top: 10px; }

/* --- BREADCRUMB NAVIGATION --- */
.breadcrumb {
    padding: 20px 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #999; /* Grey color for the current page text (non-clickable) */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
}

/* Links (The Path) */
.breadcrumb a {
    color: var(--primary); /* Dark Blue */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Effect for Path */
.breadcrumb a:hover {
    color: var(--accent); /* Red on hover */
    text-decoration: underline;
}

/* Separator ( / ) */
.breadcrumb span {
    margin: 0 12px; /* Spacing around the slash */
    color: #ccc;    /* Light grey for separator */
    font-weight: normal;
    user-select: none; /* Prevents selecting the slash */
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 15px 5%;
        font-size: 0.85rem;
    }
    .breadcrumb span {
        margin: 0 8px;
    }
}

/* --- VISION, MISSION, TEAM --- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; }
.vm-box {
    background: white; padding: 40px; border-left: 5px solid var(--accent);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease;
}
.vm-box:hover { transform: translateY(-5px); }
.vm-box h3 { color: var(--primary); font-size: 1.5rem; margin-bottom: 15px; text-transform: uppercase; }
.vm-box p { color: #555; font-size: 1rem; line-height: 1.7; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.team-card { background: white; border: 1px solid #eee; text-align: center; padding: 30px 20px; transition: 0.3s; }
.team-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: var(--gold); }
.member-role { color: var(--accent); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.member-name { font-size: 1.3rem; color: var(--primary); margin-bottom: 15px; font-weight: 800; }
.member-desc { font-size: 0.9rem; color: #666; line-height: 1.6; }
.member-img {
    width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px;
    border: 4px solid var(--light); box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: block; transition: transform 0.3s ease;
}
.team-card:hover .member-img { transform: scale(1.05); border-color: var(--gold); }

/* --- PRODUCT DETAIL PAGE STYLES --- */

/* 1. Page Layout (60% Gallery / 40% Text Split) */
.product-main {
    padding: 50px 5%;
    display: grid;
    grid-template-columns: 3fr 2fr; /* 60% Left, 40% Right */
    gap: 60px; /* Space between columns */
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* 2. Gallery Container */
.product-gallery {
    position: relative;
    width: 100%;
}

/* Main Image Box */
.main-slider-container {
    position: relative;
    width: 100%;
    height: 600px; /* Taller Height */
    background: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 15px;
    overflow: hidden;
}

/* Main Image */
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

/* Slider Arrows */
.slider-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    border: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.slider-btn:hover { background-color: var(--accent); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

/* 3. Product Info Section (Right Side) */
.product-info h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-subtitle {
    display: block;
    font-size: 1rem;
    color: #777;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.product-desc-short {
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* 4. Specifications & Features */
.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
.features-list li::before {
    content: '✔';
    color: var(--accent);
    margin-right: 10px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 30px;
}
.specs-table th, .specs-table td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    text-align: left;
}
.specs-table th { background-color: #f4f4f4; width: 30%; }

/* Quote Button */
.btn-quote-large {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 15px 35px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}
.btn-quote-large:hover { background-color: #922b21; }

/* --- THUMBNAIL STRIP STYLES (Show 4) --- */

/* Wrapper that holds [Arrow] [Window] [Arrow] */
.thumb-strip-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

/* The viewing window (Hides overflowing images) */
.thumb-window {
    width: 100%;
    overflow: hidden; /* CRITICAL: Hides images outside the view */
    position: relative;
}

/* The moving track inside the window */
.thumb-track {
    display: flex;
    gap: 10px;
    transition: transform 0.4s ease-in-out; 
}

/* Individual Thumbnail Images */
.thumb-img {
    /* 25% width minus the gap space ensures exactly 4 fit */
    flex: 0 0 calc(25% - 7.5px); 
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: 0.3s;
    box-sizing: border-box;
}
.thumb-img:hover { opacity: 1; }
.thumb-img.active {
    opacity: 1;
    border-color: var(--accent);
}

/* Strip Navigation Buttons (< >) */
.thumb-nav-btn {
    cursor: pointer;
    background: #eee;
    border: none;
    width: 35px;
    height: 90px; /* Matches thumb height */
    font-weight: bold;
    color: #555;
    flex-shrink: 0; /* Prevents button from shrinking */
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.thumb-nav-btn:hover {
    background: var(--accent);
    color: white;
}

/* --- CATEGORY PAGE STYLES --- */
.category-header { background-color: #f4f6f7; padding: 60px 5%; text-align: center; border-bottom: 1px solid #e1e1e1; }
.category-header h1 { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; text-transform: uppercase; }
.category-header p { max-width: 800px; margin: 0 auto; color: #666; font-size: 1.1rem; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; padding: 60px 5%; }
.cat-card { background: white; border: 1px solid #eee; transition: 0.3s; text-align: center; }
.cat-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); transform: translateY(-5px); border-color: var(--accent); }
.cat-img-box { height: 220px; overflow: hidden; position: relative; }
.cat-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-card:hover .cat-img-box img { transform: scale(1.1); }
.cat-info { padding: 20px; }
.cat-info h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; }
.btn-view-product { display: inline-block; padding: 8px 20px; background-color: white; color: var(--accent); border: 1px solid var(--accent); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; transition: 0.3s; }
.cat-card:hover .btn-view-product { background-color: var(--accent); color: white; }

/* Content Section */
.content-section { padding: 0 5% 60px; max-width: 1200px; margin: 0 auto; }
.content-block { margin-bottom: 40px; }
.content-block h2 { color: var(--primary); font-size: 1.8rem; margin-bottom: 20px; border-left: 5px solid var(--gold); padding-left: 15px; }
.content-block p { color: #555; line-height: 1.7; margin-bottom: 15px; }
.content-block ul { list-style: none; padding-left: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.content-block ul li { position: relative; padding-left: 25px; color: #444; }
.content-block ul li::before { content: '▪'; color: var(--accent); font-size: 1.5rem; position: absolute; left: 0; top: -5px; }

/* Related Products */
.related-products { background-color: #f4f6f7; padding: 60px 5%; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .nav-container { flex-direction: column; text-align: center; gap: 20px; }
    .logo-container { flex-direction: column; text-align: center; width: 100%; }
    .logo-text-group h1 { font-size: 1.1rem; margin-top: 10px; }
    .nav-menu { flex-wrap: wrap; justify-content: center; width: 100%; margin-top: 10px; }
    .slider-container { height: 50vh; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .product-main { grid-template-columns: 1fr; gap: 40px; }
    .main-slider-container { height: 350px; }
}

@media (max-width: 600px) {
    .grid-4 { grid-template-columns: repeat(1, 1fr); }
}

/* --- New Contact Section Styles --- */

/* The main container for the contact area */
.contact-section {
    position: relative;
    padding: 60px 20px;
    /* This creates the "Artistic Sketch" effect */
    /* I am using a placeholder stone texture image here. Replace 'stone-sketch.jpg' with your actual art file */
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('https://images.unsplash.com/photo-1599692482329-37603c44883d?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a cool parallax effect */
}

/* The 3-Column Grid */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr; /* Left (Info), Center (Map), Right (Form) */
    gap: 30px;
    max-width: 1400px; /* Wide layout to fit 3 columns comfortably */
    margin: 0 auto;
    align-items: stretch; /* Makes all columns equal height */
}

/* Column 1: Contact Details */
.contact-info-box {
    background: rgba(255, 255, 255, 0.9); /* Slight transparency */
    padding: 30px;
    border-left: 5px solid var(--gold); /* Adds a nice accent line */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

/* Column 2: The Map */
.map-container {
    height: 100%;
    min-height: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Column 3: The Form */
.contact-form-box {
    background: #fff;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 5px solid #333;
}

/* Responsive: Stack them on mobile/tablets */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack vertically */
    }
    .map-container {
        min-height: 300px;
    }
}

/* --- Success Message (Hidden by default) --- */
#form-message {
    display: none;
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}
.success-msg {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.error-msg {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Phone Group Styling --- */
.phone-group {
    display: flex;
    flex-direction: column; /* Stack them on very small screens, row on normal */
    gap: 8px;
}
@media(min-width: 400px) {
    .phone-group {
        flex-direction: row;
    }
}
.phone-group select {
    flex: 1; /* Dropdown takes space */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    /* Ensure emojis render large enough */
    font-size: 1rem; 
}
.phone-group input {
    flex: 1; /* Number input takes equal space or adjust as needed */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
