/* WhatsApp Button */
@import url('whatsapp-button.css');

/* Color Variables */
:root {
    --primary-color: #8B0000; /* Dark red */
    --primary-hover: #6B0000; /* Darker red for hover states */
    --primary-light: #FFF0F0; /* Very light red for backgrounds */
    --secondary-color: #D4AF37; /* Gold for accents */
    --dark: #2C3E50;
    --light: #F8F9FA;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
}

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

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

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

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    position: relative;
    z-index: 10;
}

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

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 0.8rem 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover, 
.navbar-dark .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    background-color: var(--primary-light);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6B0000 100%);
    opacity: 0.1;
    z-index: 0;
    border-radius: 50% 0 0 50%;
    transform: scale(2);
    transform-origin: right center;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-section p.lead {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

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

.card-body {
    padding: 2rem;
}

/* Testimonials */
.testimonial {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial .text-warning {
    color: #FFC107 !important;
}

/* Call to Action */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Footer */
footer {
    background-color: #1A1A1A;
    color: #ADB5BD;
    padding: 4rem 0 2rem;
}

footer h3, footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer ul li {
    margin-bottom: 0.75rem;
}

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

footer a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    padding-left: 0;
}

/* Contact Info */
.contact-item {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .contact-banner {
        justify-content: center !important;
    }
    
    .contact-item {
        width: 100%;
        justify-content: center;
    }
}

/* Logo Placeholder */
.logo-placeholder {
    background-color: var(--primary-light);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.logo-placeholder h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.logo-placeholder p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Icon Box */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

/* Section Headers */
section h2 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Testimonials Section */
.testimonial-section {
    background-color: var(--light);
    padding: 5rem 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

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

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

.author-info h5 {
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.author-info p {
    margin-bottom: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Star Rating */
.star-rating {
    color: #FFC107;
    margin-bottom: 1rem;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6B0000 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    margin: 0 0.5rem 1rem;
    min-width: 180px;
}

.cta-buttons .btn-light {
    background-color: white;
    color: var(--primary-color);
    border: none;
}

.cta-buttons .btn-outline-light {
    border: 2px solid white;
    background-color: transparent;
}

.cta-buttons .btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.contact-info {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-text p, .contact-text a {
    color: var(--gray);
    margin-bottom: 0;
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--primary-color);
}

/* Map */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section p.lead {
        font-size: 1.1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Utility Classes */
.rounded-lg {
    border-radius: 12px;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}
