:root {
    --primary-color: #335998;
    --primary-hover: #2a4a7f;
    --dark: #000;
    --light: #fff;
    --secondary: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a4a7f 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.section-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

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

.feature-box:hover {
    transform: translateY(-5px);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.navbar .dropdown-menu {
    transform-origin: top;
    transition: all 0.3s ease;
}

.navbar .nav-item:hover .dropdown-menu {
    display: block;
}

footer {
    background-color: #1a1a1a !important;
    color: white !important;
}

footer h5, footer p, footer a {
    color: white !important;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer .text-muted {
    color: #ccc !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(51, 89, 152, 0.25);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem !important;
    }
    
    .carousel-caption h5 {
        font-size: 1rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
        display: none;
    }
    
    .navbar-brand img {
        height: 30px !important;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 1.5rem !important;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .carousel-caption {
        display: none !important;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .h3 {
        font-size: 1.5rem;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.product-images .main-image img {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
}
/* Dealer Cards */
.dealer-card {
    transition: transform 0.3s ease;
}

.dealer-card:hover {
    transform: translateY(-5px);
}
/* Instagram Feed Styling */
.instagram-post-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.instagram-post-card:hover {
    transform: scale(1.05);
}

.instagram-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.instagram-post-card:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    color: white;
    font-size: 2rem;
}

.instagram-post-link {
    text-decoration: none;
}
/* Instagram Section Styling */
.instagram-content {
    padding: 2rem 0;
}

.instagram-stats .stat-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.instagram-stats .stat-item:hover {
    transform: translateY(-5px);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 148, 51, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 148, 51, 0.4);
    color: white;
}

.instagram-embed-container {
    position: relative;
    transition: transform 0.3s ease;
}

.instagram-embed-container:hover {
    transform: scale(1.02);
}

.instagram-embed-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-embed-container:hover::before {
    opacity: 0.1;
}
