/* --- VARIABLES --- */
:root {
    --bg: #030712;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent: #f97316; /* Theme Orange */
    --accent-glow: rgba(249, 115, 22, 0.4);
    --text-main: #f3f4f6;
    --text-sub: #9ca3af;
    --star-color: #f59e0b;
    --brand-gradient: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

/* --- RESET & BASE --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
    scroll-behavior: smooth; 
}

body { 
    background: var(--bg); 
    color: var(--text-main); 
    overflow-x: hidden; 
    line-height: 1.6;
}

/* --- BACKGROUND ANIMATION --- */
.glass-bg {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Switched to dark amber/neutral dark tones to match the transparent black look */
    background: radial-gradient(circle at 20% 30%, #171717 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, #0a0a0a 0%, transparent 40%);
    z-index: -1; 
    opacity: 0.6;
}

/* --- MARQUEE --- */
.marquee {
    background: var(--accent); 
    color: black; 
    padding: 10px 0;
    overflow: hidden; 
    white-space: nowrap; 
    font-weight: bold; 
    font-size: 0.8rem;
    position: relative; 
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.marquee-content { 
    display: inline-block; 
    padding-left: 100%; 
    animation: scrollText 25s linear infinite; 
}

@keyframes scrollText { 
    from { transform: translateX(0); } 
    to { transform: translateX(-100%); } 
}

/* --- NAVBAR --- */
.navbar {
    position: fixed; 
    top: 60px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 90%; 
    max-width: 1000px; 
    padding: 12px 30px;
    background: rgba(3, 7, 18, 0.8); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); 
    border-radius: 100px;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 1000;
}

.logo { 
    font-weight: 700; 
    font-size: 1.1rem;
    letter-spacing: 1px; 
    display: flex; 
    align-items: center; 
    gap: 12px; /* Increased gap for the image */
    text-decoration: none;
}

/* Adjusted rule to handle the logo image and fix display issues */
#navLogo {
    height: 38px; 
    width: auto;
    display: block; /* Ensures it behaves as a box */
    object-fit: contain;
    background: transparent; /* Removes any default background */
    border: none; /* Removes any default browser border on broken images */
}

.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 20px; }

.nav-links a { 
    text-decoration: none; 
    color: var(--text-sub); 
    font-size: 0.85rem; 
    font-weight: 500;
    transition: 0.3s; 
}

.nav-links a:hover { color: white; text-shadow: 0 0 10px var(--accent); }

/* --- HERO SECTION --- */
.hero { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 120px 20px 60px; 
    background: linear-gradient(rgba(3, 7, 18, 0.6), rgba(3, 7, 18, 0.8)), 
                url('../assets/hero-bg.jpeg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.glass-panel { 
    background: rgba(255, 255, 255, 0.02); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); 
    border-radius: 30px; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.hero-content { 
    padding: 60px; 
    text-align: center; 
    max-width: 800px; 
}

h1 { 
    font-size: 4rem; 
    margin: 20px 0; 
    line-height: 1.1; 
    font-weight: 700;
}

h1 span {
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: floatText 5s ease-in-out infinite alternate;
}

.cta-btn {
    background: white; 
    color: black; 
    padding: 15px 35px; 
    border-radius: 50px; 
    border: none; 
    font-weight: 700; 
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px var(--accent-glow);
}

/* --- INFO GRID --- */
.container { 
    padding: 60px 5% 40px !important; 
}

.location-wrapper {
    margin-top: 20px !important; 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
    align-items: center;
}

.info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 60px; 
    position: relative;
    z-index: 5;
}

/* --- INFO BOX --- */
.info-box { 
    padding: 60px 45px; 
    text-align: center; 
    transition: 0.4s; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px; 
    min-height: 350px; 
}

.info-box:hover { 
    transform: translateY(-10px); 
    border-color: var(--accent); 
    background: rgba(249, 115, 22, 0.08); 
}

/* --- GOOGLE STYLE SEARCH BAR --- */
#searchInput {
    width: 100%;
    max-width: 600px; 
    padding: 18px 30px;
    font-size: 1rem;
    border-radius: 50px; 
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 50px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#searchInput:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* --- PRODUCTS --- */
#productGrid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
}

.card { 
    padding: 0; 
    overflow: hidden; 
    transition: transform 0.4s ease, border-color 0.4s ease; 
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.card:hover { 
    transform: translateY(-8px); 
    border-color: var(--accent);
}

.card-img-wrap {
    position: relative;
    width: 100%;
    height: 220px; 
    border-bottom: 1px solid var(--glass-border);
    background: rgba(3, 7, 18, 0.6);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrap img {
    transform: scale(1.03);
}

.status-tag { 
    position: absolute; 
    top: 10px; 
    right: 10px; 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 0.6rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800; 
    z-index: 2;
    background: var(--accent);
    color: black;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.card-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-details h3 {
    font-size: 1.1rem; 
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.card-meta {
    font-size: 0.75rem;
    color: var(--text-sub);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
}

.card-footer {
    padding: 0 15px 15px;
}

.cart-btn {
    width: 100%;
    padding: 8px;
    border-radius: 50px;
    border: 1px solid var(--accent);
    background: transparent; 
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.cart-btn:hover {
    background: var(--accent); 
    color: black;
}

/* --- LOCATION SPECIFIC --- */
.map-container {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%);
}

.location-details h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.map-overlay-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: white;
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* --- FOOTER SECTION --- */
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 80px auto 0;
    border-top: 1px solid var(--glass-border);
}

.footer-column h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.75rem;
    margin-bottom: 12px;
    transition: 0.3s;
    text-transform: uppercase;
}

.footer-column a:hover { color: var(--accent); }

/* --- ENHANCED SOCIAL LINKS --- */
.social-links { 
    display: flex; 
    gap: 20px; 
    margin-top: 10px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-sub);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.social-links a:hover .fa-facebook-f { color: #1877F2; text-shadow: 0 0 15px rgba(24, 119, 242, 0.5); }
.social-links a:hover .fa-instagram { color: #E4405F; text-shadow: 0 0 15px rgba(228, 64, 95, 0.5); }
.social-links a:hover .fa-whatsapp { color: #25D366; text-shadow: 0 0 15px rgba(37, 211, 102, 0.5); }

/* --- PREMIUM REVIEWS SLIDER --- */
.reviews-container {
    overflow: hidden;
    padding: 80px 0;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.reviews-track {
    display: flex;
    animation: scrollReviews 30s linear infinite; /* Animation was fixed */
    gap: 30px;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

/* FIX: Changed to percentage for infinite scrolling */
@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.review-card {
    min-width: 320px;
    max-width: 320px;
    padding: 50px 25px 30px;
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.02);
}

.review-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.style-dark { background: rgba(3, 7, 18, 0.8); }
.style-light { background: rgba(255, 255, 255, 0.05); }
.style-accent { 
    background: rgba(249, 115, 22, 0.1); 
    border-color: rgba(249, 115, 22, 0.3); 
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.8rem;
    color: var(--accent);
    opacity: 0.3;
}

.user-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--bg);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.review-stars {
    color: var(--star-color);
    margin-top: auto;
    padding-top: 15px;
    font-size: 0.85rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin: 15px 0;
    font-style: italic;
}

/* --- FOOTER BOTTOM --- */
footer { 
    text-align: center; 
    padding: 60px 20px; 
    color: var(--text-sub); 
    border-top: 1px solid var(--glass-border); 
    margin-top: 40px; 
    font-size: 0.9rem;
}

/* --- RESPONSIVE FIX --- */
@media (max-width: 768px) { 
    h1 { font-size: 2.2rem; } 
    .navbar { top: 45px; width: 92%; padding: 8px 15px; }
    .nav-links { display: none; } 
    #navLogo { height: 28px; } /* Smaller logo on mobile */
    
    #productGrid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px !important; 
    }
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes floatText {
    from { transform: translateX(-15px); filter: hue-rotate(0deg); }
    to { transform: translateX(15px); filter: hue-rotate(20deg); }
}