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

:root {
    /* Colors in HSL */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222, 47%, 11%);
    --primary: hsl(226, 66%, 15%);
    --primary-foreground: hsl(0, 0%, 100%);
    --accent: hsl(23, 94%, 55%);
    --accent-foreground: hsl(0, 0%, 100%);
    --success: hsl(142, 71%, 45%);
    --success-foreground: hsl(0, 0%, 100%);
    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(215, 16%, 47%);
    --dark-slate: hsl(226, 66%, 15%);

    /* Shadows */
    --shadow-primary: 0 10px 40px -10px hsla(226, 66%, 15%, 0.3);
    --shadow-accent: 0 10px 40px -10px hsla(23, 94%, 55%, 0.3);

    /* Radius */
    --radius: 0.75rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: hsl(142, 71%, 45%);
    color: white;
}

.btn-primary:hover {
    background-color: hsl(142, 71%, 40%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.4);
}

.btn-success {
    background-color: var(--success);
    color: var(--success-foreground);
}

.btn-success:hover {
    background-color: hsl(142, 71%, 40%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.4);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 4rem;
    height: 4rem;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('assets/hero-lighting-2.jpeg');
    background-size: cover;
    background-position: 70% center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: hsla(226, 66%, 15%, 0.85);
}

.hero-logo {
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.hero-logo img {
    width: 16rem;
    max-width: 100%;
}

.hero-diagonal {
    display: none;
}

.hero-diagonal::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 11;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    max-width: 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Stats Bar */
.stats-bar {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.75rem;
}

.stats-container {
    background-color: var(--accent);
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    color: white;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stats-container::-webkit-scrollbar {
    display: none;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: fit-content;
    padding: 0;
}

.stat-number {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
    line-height: 1;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.1;
    white-space: nowrap;
}

.stat-with-icon {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    justify-content: center;
    flex-shrink: 0;
    min-width: fit-content;
}

.stat-with-icon > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-icon {
    width: 1rem;
    height: 1rem;
    color: white;
    flex-shrink: 0;
}

.stat-title {
    font-weight: 600;
    text-align: left;
    font-size: 0.5rem;
    line-height: 1.1;
    white-space: nowrap;
}

.stat-with-icon .stat-label {
    text-align: left;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.8);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--foreground);
}

.section-title.light {
    color: white;
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background-color: var(--accent);
    margin: 1rem auto 0;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto 3rem;
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    color: var(--foreground);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

.services-cta {
    text-align: center;
}

/* Service Detail Section */
.service-detail {
    padding: 5rem 0;
    position: relative;
}

.service-detail.dark {
    background-color: var(--dark-slate);
    color: white;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.gallery-large {
    grid-column: span 2;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
}

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

.gallery-large img {
    height: 16rem;
    object-position: center 35%;
}

.gallery-item:not(.gallery-large) img {
    height: 12rem;
}

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

.service-detail-content {
    color: white;
}

.detail-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.detail-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.detail-divider {
    width: 6rem;
    height: 0.25rem;
    background-color: var(--accent);
    margin-bottom: 1.5rem;
}

.detail-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.detail-list {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.detail-item span {
    font-size: 1.125rem;
    color: white;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: hsla(210, 40%, 96%, 0.3);
}

.testimonials-content {
    max-width: 64rem;
    margin: 0 auto;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
    text-align: left;
}

.testimonials-text {
    margin-bottom: 4rem;
}

.testimonials-text p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.why-choose {
    margin-top: 4rem;
}

.why-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
    text-align: center;
}

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

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0;
}

.highlight-item p {
    font-size: 1.125rem;
    color: var(--foreground);
}

.cta-card {
    margin-top: 3rem;
    background-color: var(--primary);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    color: white;
}

.cta-card h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--dark-slate);
    color: white;
}

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

.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.contact-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background-color: var(--dark-slate);
    padding: 2rem 0;
}

.footer p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 1rem;
    }

    .hero-logo {
        position: relative;
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero-logo img {
        width: 20rem;
    }

    .hero-diagonal {
        display: none;
    }

    .hero-content {
        position: relative;
        align-items: center;
        text-align: center;
        padding: 0 2rem;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .stats-bar {
        position: relative;
        width: 100%;
        padding: 0 2rem;
    }

    .stats-container {
        padding: 1rem 1.75rem;
        gap: 1.5rem;
        justify-content: space-evenly;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.675rem;
    }

    .stat-icon {
        width: 1.375rem;
        height: 1.375rem;
    }

    .stat-title {
        font-size: 0.675rem;
    }

    .stat-with-icon {
        gap: 0.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) and (max-height: 700px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-logo {
        position: relative;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-logo img {
        width: 18rem;
    }

    .hero-diagonal {
        display: none;
    }

    .hero-content {
        position: relative;
        align-items: center;
        text-align: center;
        padding: 0 2rem;
        margin-bottom: 1.5rem;
        height: auto;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .stats-bar {
        position: relative;
        width: 100%;
        padding: 0 1.5rem;
    }

    .stats-container {
        padding: 0.875rem 1.25rem;
        gap: 0.875rem;
        justify-content: space-evenly;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.575rem;
    }

    .stat-icon {
        width: 1.125rem;
        height: 1.125rem;
    }

    .stat-title {
        font-size: 0.575rem;
    }

    .stat-with-icon {
        gap: 0.4rem;
    }
}

@media (min-width: 1024px) and (min-height: 701px) {
    .hero {
        flex-direction: row;
        align-items: stretch;
        padding: 0;
        min-height: 100vh;
    }

    .hero-overlay {
        background-color: hsla(226, 66%, 15%, 0.7);
    }

    .hero-logo {
        position: absolute;
        top: 50%;
        left: 5%;
        transform: translateY(-50%);
        width: 35%;
        margin-bottom: 0;
        justify-content: center;
        z-index: 20;
    }

    .hero-logo img {
        width: 31.25rem;
        max-width: 90%;
    }

    .hero-diagonal {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 10;
    }

    .hero-diagonal::before {
        display: block;
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 60%;
        background-color: var(--primary);
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .hero-content {
        position: absolute;
        z-index: 11;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        padding: 0;
        max-width: 40rem;
        margin-bottom: 0;
        text-align: right;
    }

    .hero-content h1 {
        font-size: 3.75rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .stats-bar {
        position: absolute;
        bottom: 3rem;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 80rem;
        margin: 0;
        z-index: 20;
        padding: 0;
    }

    .stats-container {
        padding: 1.25rem 2rem;
        gap: 2rem;
        justify-content: space-evenly;
    }

    .stat-item {
        flex: 1;
        min-width: fit-content;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .stat-icon {
        width: 1.625rem;
        height: 1.625rem;
    }

    .stat-title {
        font-size: 0.875rem;
    }

    .stat-with-icon {
        gap: 0.625rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-card,
.gallery-item {
    animation: fadeIn 0.6s ease-out forwards;
}
