:root {
    --primary: 210 70% 40%; /* #2674c0 */
    --secondary: 25 80% 50%; /* #f08c2a */
    --dark: 210 30% 20%; /* #253647 */
    --light: 210 30% 95%; /* #f0f4f8 */
    --body-bg: 0 0% 100%; /* #ffffff */
    --text-color: 210 30% 15%; /* #1c2936 */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: hsl(var(--text-color));
    background-color: hsl(var(--body-bg));
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: hsl(var(--dark));
}

a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: hsl(var(--secondary));
}

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

.btn-primary:hover {
    background-color: hsl(210 70% 35%);
    border-color: hsl(210 70% 35%);
}

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

.btn-secondary:hover {
    background-color: hsl(25 80% 45%);
    border-color: hsl(25 80% 45%);
}

.bg-light-custom {
    background-color: hsl(var(--light));
}

/* Header & Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 60px;
}

.nav-link {
    color: hsl(var(--dark));
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: hsl(var(--primary));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: hsl(var(--dark));
    color: white;
    padding: 5rem 0;
    overflow: hidden;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Features */
.feature-card {
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--primary));
}

/* Product Sections */
.product-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-details {
    padding: 1.5rem;
}

.product-details h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Testimonials */
.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 0.25rem rgba(38, 116, 192, 0.25);
}

/* Map */
.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--dark));
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0 1rem 0 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Footer */
footer {
    background-color: hsl(var(--dark));
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: hsl(var(--secondary));
}

footer a {
    color: #ccc;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: hsl(var(--primary));
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .feature-card,
    .product-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .map-container {
        height: 300px;
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        text-align: center;
    }
    
    .nav-link:after {
        display: none;
    }
}
