/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

h1, h2, h3, h4 {
    color: #222;
}

a {
    color: #5a5a5a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px;
}

.btn.primary {
    background: #6a0dad; /* A rich purple for premium feel */
}

.btn.secondary {
    background: #8a2be2; /* A slightly lighter purple */
}

/* Hero Section */
.hero-section {
    background: url('../images/hero.jpg') no-repeat center center/cover;
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
}

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

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #fff;
}

.hero-content h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-buttons .btn {
    margin: 0 10px;
}

/* Sections General */
section {
    padding: 60px 0;
    text-align: center;
}

section:nth-child(even) {
    background: #f4f4f4;
}

/* Services Section */
.services-section .service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.services-section .card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 30%;
    min-width: 280px;
    text-align: left;
}

.services-section .card h4 {
    color: #6a0dad;
    margin-top: 0;
}

/* Icon Wrapper */
.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6a0dad, #8a2be2);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-wrapper i {
    font-size: 2.5em;
    color: #fff;
}

.services-section .card:hover .icon-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(106, 10, 173, 0.3);
}

/* About Section */
.about-section p {
    max-width: 800px;
    margin: 20px auto;
    font-size: 1.1em;
}

/* Gallery Section */
.gallery-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.gallery-images img {
    width: 30%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Map Section */
.map-section iframe {
    border-radius: 8px;
    margin-top: 30px;
}

/* Contact Section */
.contact-section form {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.contact-section form input[type="text"],
.contact-section form input[type="tel"],
.contact-section form input[type="email"],
.contact-section form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-section form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-section .contact-info {
    margin-top: 30px;
}

.contact-section .contact-info p {
    margin: 5px 0;
}

.contact-section .contact-info a {
    margin: 0 10px;
}

.error-message {
    color: #ff6b6b;
    margin-top: -10px;
    margin-bottom: 10px;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content h2 {
        font-size: 1.2em;
    }

    .services-section .card,
    .gallery-images img {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content h2 {
        font-size: 1em;
    }

    .services-section .card,
    .gallery-images img {
        width: 90%;
    }

    .cta-buttons .btn {
        display: block;
        margin: 10px auto;
    }
}
