/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    background: #6c5ce7;
    color: white;
    padding: 15px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand .logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.brand .tagline {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.9;
}

.header-contact {
    text-align: right;
}

.contact-cta {
    margin-bottom: 5px;
}

.contact-cta .phone {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 10px;
}

.email-info a {
    color: white;
    text-decoration: none;
}

/* Navigation Styles */
.main-nav {
    background: #fff;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 12px 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 14px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: #00cec9;
    color: white;
}

/* Hero Section */
.hero {
    background: url('../images/hero-main.jpg') center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
}

/* Contact Bar */
.contact-bar {
    background: #6c5ce7;
    color: white;
    padding: 20px 0;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

/* Services Overview */
.services-overview {
    padding: 60px 0;
    background: #f8f9fa;
}

.services-overview h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.service-card h2 {
    color: #6c5ce7;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card h3 {
    color: #6c5ce7;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.read-more-btn {
    display: inline-block;
    background: #6c5ce7;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background: #5a4fcf;
}

/* Trusted Company Section */
.trusted-company {
    background: #6c5ce7;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.trusted-company h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.trusted-company p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.get-in-touch-btn {
    display: inline-block;
    background: #00cec9;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.get-in-touch-btn:hover {
    background: #00a085;
}

/* Contact Team Section */
.contact-team-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.contact-team-btn {
    display: inline-block;
    background: #6c5ce7;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.contact-team-btn:hover {
    background: #5a4fcf;
}

/* About Preview */
.about-preview {
    padding: 60px 0;
}

.about-preview h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: #333;
}

.about-preview p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Footer Styles */
.site-footer {
    background: #6c5ce7;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-contact h3,
.footer-hours h3 {
    margin-bottom: 15px;
    color: #00cec9;
}

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom a {
    color: #00cec9;
    text-decoration: none;
}

/* Page Specific Styles */
.page-hero {
    background: #6c5ce7;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-content {
    padding: 60px 0;
}

.page-content h2 {
    color: #6c5ce7;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.page-content h3 {
    color: #333;
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

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

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

.submit-btn:hover {
    background: #5a4fcf;
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

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

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

/* Homepage Gallery */
.homepage-gallery {
    padding: 60px 0;
    background: #f8f9fa;
}

.homepage-gallery h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    margin: 40px 0;
}

/* Homepage Gallery - 4 images in one row */
.homepage-gallery .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.homepage-gallery .gallery-item img {
    border-radius: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu a {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Homepage Gallery responsive */
    .homepage-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .brand .logo {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Homepage Gallery mobile */
    .homepage-gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
}
