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

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --light-bg: #ecf0f1;
    --dark-text: #2c3e50;
    --border-radius: 8px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.feature-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    margin: 4rem 0;
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.1) 100%);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

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

/* Gallery Section */
.gallery {
    margin: 4rem 0;
    background-color: var(--light-bg);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
}

.gallery h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gallery > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: white;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item p {
    padding: 1rem;
    text-align: center;
    background-color: white;
    font-weight: 600;
    color: var(--secondary-color);
}

.gallery-note {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* Why Choose Section */
.why-choose {
    margin: 4rem 0;
}

.why-choose h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-color);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.reason-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.reason-card h3 {
    color: var(--secondary-color);
    margin: 1rem 0;
}

/* About Section */
.about {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
}

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

.about-text h2 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.info-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #666;
    margin: 0;
}

.certifications {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-color);
}

.certifications h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.certifications ul {
    list-style: none;
}

.certifications li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2.5rem;
}

.contact > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group select {
    cursor: pointer;
    background-color: white;
}

/* Contact Info */
.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    height: fit-content;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: #666;
    margin: 0;
}

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

.info-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Response Messages */
.response-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

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

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

/* Carousel Styles */
.gallery-section {
    margin: 4rem 0;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
}

.gallery-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.carousel-wrapper {
    flex: 1;
    max-width: 800px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-item {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background-color: var(--primary-color);
}

/* Décoration Details */
.deco-details {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    border-left: 5px solid var(--primary-color);
}

.deco-details h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.deco-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
}

.deco-list li {
    background-color: rgba(52, 152, 219, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    font-weight: 500;
}

/* Specialties Grid */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.specialty-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.specialty-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.specialty-item p {
    color: #666;
    line-height: 1.6;
}

/* Not Found Section */
.not-found {
    text-align: center;
    padding: 4rem 2rem;
}

.not-found h1 {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.not-found p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .not-found h1 {
        font-size: 3rem;
    }

    .services h2,
    .gallery h2,
    .why-choose h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Carousel Mobile */
    .carousel-wrapper {
        max-width: 100%;
    }

    .carousel {
        height: 280px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        padding: 0.5rem;
    }

    .carousel-container {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .deco-list {
        grid-template-columns: 1fr 1fr;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .carousel {
        height: 220px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        padding: 0.3rem;
    }

    .carousel-container {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .carousel-dots {
        gap: 0.4rem;
        margin-top: 0.8rem;
    }

    .dot {
        width: 9px;
        height: 9px;
    }

    .dot.active {
        width: 22px;
    }

    .deco-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .deco-details {
        padding: 1rem;
    }

    .services h2,
    .gallery h2,
    .why-choose h2,
    .gallery-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .service-card,
    .reason-card {
        padding: 1rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
}
