/* Custom CSS for Eagle Multiservice Website */

:root {
    --primary-color: #4ECDC4;
    --secondary-color: #F4A261;
    --accent-color: #E76F51;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --white: #FFFFFF;
    --success-color: #27AE60;
    --info-color: #3498DB;
    --warning-color: #F39C12;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Custom Bootstrap overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3CBCB4;
    border-color: #3CBCB4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 205, 196, 0.3);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #229954;
    border-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

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

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 8px;
    transition: all 0.3s ease;
}

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

.navbar-contact .btn {
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(76, 205, 196, 0.9), rgba(244, 162, 97, 0.9)), url('images/hero-cleaning-professional.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 205, 196, 0.8), rgba(244, 162, 97, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.hero-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Hero Logo Styles */
.hero-logo-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 100px;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

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

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(76, 205, 196, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

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

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Value Section */
.value-section {
    padding: 80px 0;
}

.value-list {
    margin: 2rem 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.value-item i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    transform: translateY(70%);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    background: linear-gradient(135deg, rgba(76, 205, 196, 0.95), rgba(244, 162, 97, 0.95));
}

.gallery-overlay h5 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.gallery-overlay p {
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 0.2rem;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(76, 205, 196, 0.25);
}

/* Footer */
.footer {
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer .contact-info .contact-item {
    margin-bottom: 1rem;
    color: #adb5bd;
}

.footer .contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .navbar-contact {
        margin-top: 1rem;
    }
    
    .navbar-contact .btn {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    /* Hero logo responsive */
    .hero-logo-container {
        margin-top: 2rem;
        padding-top: 50px;
    }
    
    .hero-logo {
        max-width: 280px;
    }
    
    /* Gallery responsive */
    .gallery-item:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .gallery-overlay {
        padding: 2rem 1rem 1rem;
        transform: translateY(60%);
    }
    
    .gallery-overlay h5 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .service-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    /* Hero logo mobile */
    .hero-logo {
        max-width: 220px;
    }
    
    .hero-logo-container {
        padding-top: 30px;
    }
    
    /* Gallery mobile */
    .gallery-item:hover {
        transform: translateY(-3px) scale(1.01);
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
        transform: translateY(50%);
    }
    
    .gallery-overlay h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Mission and Vision Modal */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    border-radius: 20px 20px 0 0;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.mission-section, .vision-section {
    padding: 1rem;
    border-radius: 15px;
    background: rgba(76, 205, 196, 0.05);
    height: 100%;
}

.vision-section {
    background: rgba(244, 162, 97, 0.05);
}

.modal-footer {
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Animations */
.qr-code-img {
    max-width: 150px;
    width: 100%;
    height: auto;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    padding: 10px;
    background: white;
    transition: transform 0.3s ease;
}

.qr-code-img:hover {
    transform: scale(1.05);
}

.qr-code-container {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .qr-code-img {
        max-width: 120px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3CBCB4;
}

