/* 
 * Laxmi Krupa Abrasives - Main Stylesheet
 * Modern, clean, and professional design
 */

:root {
    --primary-color: #4338ca;
    --primary-dark: #3730a3;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #25d366;
    --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    padding-top: 110px; /* Account for fixed navbar */
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 100px;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

.navbar-brand img {
    height: 70px !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1.15rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Bootstrap Primary Color Override */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-brands {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.brand-circle {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    animation: float 6s ease-in-out infinite;
}

.brand-circle:nth-child(2) {
    animation-delay: 2s;
}

.brand-circle:nth-child(3) {
    animation-delay: 4s;
}

.brand-circle img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Brand Cards */
.brand-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.brand-logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.brand-logo {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .brand-logo-container {
        height: 140px;
    }
    
    .brand-logo {
        max-height: 180px;
    }
}

.brand-name {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.brand-desc {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Welcome Section */
.welcome-section {
    background-color: #f8f9fa;
}

.welcome-logo {
    max-height: 300px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.1));
}

.welcome-content p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.welcome-content .lead {
    font-size: 1.15rem;
    color: var(--dark-color);
}

@media (max-width: 991.98px) {
    .welcome-logo {
        max-height: 200px;
        margin-bottom: 2rem;
    }
    
    .welcome-content {
        text-align: center;
    }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.service-card h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Clients Scroll */
.clients-scroll {
    overflow: hidden;
    position: relative;
}

.clients-scroll::before,
.clients-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.clients-scroll::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.clients-scroll::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.clients-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 3rem;
}

.client-logo {
    flex-shrink: 0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.client-logo img {
    max-height: 100%;
    max-width: 260px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Footer */
footer {
    font-size: 0.95rem;
}

.text-light-50 {
    color: rgba(255,255,255,0.7);
}

footer a:hover {
    color: white !important;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Footer Mobile Styles */
@media (max-width: 991.98px) {
    footer .row > div {
        text-align: center;
    }
    
    footer .d-flex.align-items-center {
        justify-content: center;
    }
    
    footer .col-lg-2,
    footer .col-lg-3 {
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 1.5rem;
    }
    
    footer .col-lg-4:first-child {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s;
}

.btn-lg {
    padding: 0.8rem 2rem;
}

/* Utilities */
.bg-light {
    background-color: #f8f9fa !important;
}

.section-padding {
    padding: 5rem 0;
}

.section-gray {
    background-color: #f5f5f5;
}

/* Brand Page Specific Styles */
.brand-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.brand-hero-logo {
    max-height: 120px;
    max-width: 100%;
}

.catalogue-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.catalogue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.catalogue-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.catalogue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.catalogue-card:hover .catalogue-image img {
    transform: scale(1.05);
}

.catalogue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.catalogue-card:hover .catalogue-overlay {
    opacity: 1;
}

.catalogue-content {
    padding: 1.5rem;
}

.catalogue-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Contact Page */
.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Gallery */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        min-height: 60vh;
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .brand-circle {
        width: 100px;
        height: 100px;
    }

    .brand-card {
        padding: 1.5rem 1rem;
    }

    .service-card {
        padding: 2rem 1rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .clients-track {
        /* animation-duration: 1s; */
        animation: scroll 5s linear infinite;
    }

    .client-logo {
        height: 150px;
    }

    .client-logo img {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-desc {
        font-size: 0.85rem;
    }
}
.brand-logo-placeholder {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-logo-placeholder img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}
