/* CLXM Services - Main Stylesheet */

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 8px;
    background: white;
    padding: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #63b3ed;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(44, 82, 130, 0.9));
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f7fafc" width="1200" height="600"/><circle fill="%23e2e8f0" cx="200" cy="150" r="100"/><circle fill="%23cbd5e0" cx="800" cy="300" r="150"/><circle fill="%23e2e8f0" cx="1000" cy="100" r="80"/><circle fill="%2363b3ed" cx="300" cy="400" r="60" opacity="0.3"/><circle fill="%234299e1" cx="900" cy="200" r="40" opacity="0.4"/></svg>');
    opacity: 0.1;
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-20px) translateY(-10px); }
    50% { transform: translateX(20px) translateY(10px); }
    75% { transform: translateX(-10px) translateY(20px); }
}

.floating-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite linear;
}

.circle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.circle:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 25s;
}

.circle:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 35%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.circle:nth-child(4) {
    width: 100px;
    height: 100px;
    left: 50%;
    animation-delay: 6s;
    animation-duration: 22s;
}

.circle:nth-child(5) {
    width: 90px;
    height: 90px;
    left: 70%;
    animation-delay: 8s;
    animation-duration: 16s;
}

.circle:nth-child(6) {
    width: 70px;
    height: 70px;
    left: 85%;
    animation-delay: 10s;
    animation-duration: 24s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-branding {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-main-title {
    font-size: 6rem;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
    line-height: 1;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin: 0;
    color: #4299e1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .hero-description {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 500;
}

.hero-content .hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    background: #4299e1;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.cta-button:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a365d;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4299e1, #1a365d);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a365d;
}

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

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a365d;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.about-image {
    text-align: center;
}

/* Image Carousel Styles */
.image-carousel {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-image {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(66, 153, 225, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(66, 153, 225, 1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #4299e1;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Header Phone Styles */
.header-phone {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.phone-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.phone-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
}

.call-text {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2px;
    opacity: 0.9;
}

.phone-number {
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.phone-number:hover {
    color: #e2e8f0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a365d;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #4299e1;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-item img {
    flex-shrink: 0;
    opacity: 0.8;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1a365d;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4299e1;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #4299e1;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #3182ce;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: white;
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.review-rating {
    color: #f39c12;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-author {
    font-weight: bold;
    color: #1a365d;
}

.review-date {
    font-size: 0.9rem;
    color: #999;
}

.review-vehicle {
    font-size: 0.9rem;
    color: #4299e1;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.review-service {
    font-size: 0.9rem;
    color: #1a365d;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

/* Social Media Section */
.social-section {
    padding: 40px 0;
    background: #f8f9fa;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #4299e1;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.social-link:hover {
    background: #3182ce;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.instagram:hover { background: #e4405f; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.linkedin:hover { background: #0077b5; }

/* Footer */
footer {
    background: #1a365d;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #63b3ed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .container nav {
        flex-wrap: wrap;
        gap: 1rem;
        position: relative;
    }
    
    .header-phone {
        order: 2;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .phone-call {
        padding: 10px 16px;
    }
    
    .call-text {
        font-size: 0.7rem;
    }
    
    .phone-number {
        font-size: 1.2rem;
    }
    
    .carousel-container {
        height: 250px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .carousel-caption {
        padding: 15px;
        font-size: 1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    margin-top: 1rem;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4299e1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
