/* AllimaCleaning - Premium Landing Page */
/* Main Stylesheet */

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

:root {
    --blue: #0066cc;
    --blue-dark: #0052a3;
    --teal: #0ea5a5;
    --gray-900: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: transparent;
}

nav.scrolled {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.nav-logo img {
    width: 2rem;
    height: 2rem;
}

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

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.3s;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-selector {
    display: flex;
    gap: 0.5rem;
    background-color: var(--gray-100);
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    background-color: transparent;
    color: var(--gray-700);
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.3s;
    font-weight: 500;
}

.lang-btn.active {
    background-color: var(--blue);
    color: var(--white);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--blue-dark);
}

.btn-outline {
    border: 2px solid var(--blue);
    color: var(--blue);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--blue);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    background: linear-gradient(to bottom right, var(--white), #f0f9ff);
}

@media (min-width: 768px) {
    .hero {
        padding-top: 8rem;
        padding-bottom: 5rem;
    }
}

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

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-badge {
    display: inline-block;
    background-color: #dbeafe;
    color: var(--teal);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

.hero p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 28rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--teal);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.hero-image {
    animation: fadeIn 0.8s ease-in;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

@media (min-width: 768px) {
    .services {
        padding: 6rem 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title h2 {
        font-size: 2.25rem;
    }
}

.section-title p {
    color: var(--gray-600);
    font-size: 1.125rem;
    max-width: 32rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    animation: fadeIn 0.8s ease-in;
}

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

.service-icon {
    width: 3rem;
    height: 3rem;
    background-color: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.service-list li:before {
    content: "✓";
    color: var(--blue);
    font-weight: bold;
}

/* Why Us Section */
.whyus {
    padding: 4rem 0;
    background: linear-gradient(to bottom right, #f0f9ff, var(--white));
}

@media (min-width: 768px) {
    .whyus {
        padding: 6rem 0;
    }
}

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

@media (min-width: 768px) {
    .whyus-content {
        grid-template-columns: 1fr 1fr;
    }
}

.whyus-image {
    order: 2;
}

@media (min-width: 768px) {
    .whyus-image {
        order: 1;
    }
}

.whyus-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.whyus-text {
    order: 1;
}

@media (min-width: 768px) {
    .whyus-text {
        order: 2;
    }
}

.whyus h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .whyus h2 {
        font-size: 2.25rem;
    }
}

.whyus-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.whyus-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.whyus-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.whyus-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .portfolio {
        padding: 6rem 0;
    }
}

.gallery-button {
    display: block;
    margin: 2rem auto;
}

.portfolio-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .portfolio-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

.portfolio-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    animation: fadeIn 0.8s ease-in;
    cursor: pointer;
}

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

.portfolio-card img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 1.5rem;
    background-color: #f9fafb;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(to bottom right, #f0f9ff, var(--white));
}

@media (min-width: 768px) {
    .testimonials {
        padding: 6rem 0;
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-in;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.25rem;
}

.testimonial-meta h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-meta p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars span {
    color: var(--blue);
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(to right, var(--blue), var(--blue-dark));
    color: var(--white);
    text-align: center;
}

@media (min-width: 768px) {
    .cta {
        padding: 6rem 0;
    }
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta h2 {
        font-size: 2.25rem;
    }
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

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

.cta .btn-primary:hover {
    background-color: #f0f9ff;
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-outline:hover {
    background-color: var(--white);
    color: var(--blue);
}

.cta-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.cta-info-item p:first-child {
    font-size: 0.875rem;
    opacity: 0.75;
    margin-bottom: 0.5rem;
}

.cta-info-item p:last-child {
    font-weight: 600;
}

.cta-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-social a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.cta-social a:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
}

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

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 56rem;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.lightbox-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.lightbox-title {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lightbox-counter {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.lightbox-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lightbox-nav button {
    background-color: var(--blue);
    color: var(--white);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav button:hover {
    background-color: var(--blue-dark);
}

.lightbox-thumbs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.5rem;
}

.lightbox-thumb {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid #4b5563;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
    flex-shrink: 0;
}

.lightbox-thumb.active {
    border-color: var(--blue);
    opacity: 1;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
