
/* Avallark Website Custom Styles */
/* Based on burgundy/maroon color scheme from logo */

:root {
    --maroon: #8B0000;
    --maroon-light: #A0522D;
    --maroon-dark: #5C0000;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Typography */
.display-4, .display-5 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Color Utilities */
.text-maroon {
    color: var(--maroon) !important;
}

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

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

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

/* Button Styles */
.btn-maroon {
    background-color: var(--maroon);
    border-color: var(--maroon);
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-maroon:hover,
.btn-maroon:focus {
    background-color: var(--maroon-dark);
    border-color: var(--maroon-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-maroon {
    border-color: var(--maroon);
    color: var(--maroon);
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-maroon:hover,
.btn-outline-maroon:focus {
    background-color: var(--maroon);
    border-color: var(--maroon);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--maroon);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(139, 0, 0, 0.7), rgba(139, 0, 0, 0.7)), url('../assets/images/herobg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 0;
    position: relative;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-section h1,
.hero-section .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .btn {
    text-shadow: none;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--maroon);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Customer/Partner Cards */
.customer-card {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

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

.customer-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.customer-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.customer-card:hover .customer-logo img {
    filter: grayscale(0%);
}

.customer-content {
    padding: 1.5rem;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Problem Cards */
.problem-card {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.problem-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Use Case Cards */
.use-case-card {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.use-case-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
}

/* Partner Logos */
.partner-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.partner-logo img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Video Placeholder */
.video-placeholder {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Contact Items */
.contact-item {
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

/* About Image */
.about-image {
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.solution-image {
    transition: transform 0.3s ease;
}

.solution-image:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .customer-logo {
        height: 100px;
    }
    
    .customer-logo img {
        max-height: 60px;
    }
}

/* Utilities */
.min-vh-100 {
    min-height: 100vh;
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Remove transition from specific elements where not needed */
.navbar-toggler,
.navbar-collapse,
.dropdown-menu {
    transition: none;
}
