/* ============================================
   TheCleanExpress - Home Page Styles
   Teal & White Theme with Tailwind-like Utilities
   ============================================ */

:root {
    --teal-400: #5EEAD4;
    --teal-500: #2DD4BF;
    --teal-100: #CCFBF1;
    --teal-50: #F0FDFA;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --yellow-400: #FACC15;
    --green-500: #22C55E;
}

/* ============================================
   Global Styles
   ============================================ */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    height: auto;
    min-height: 100%;
    padding-top: 0; /* Will be set by navbar height */
}

html {
    height: auto;
    min-height: 100%;
}

/* ============================================
   Utility Classes (Tailwind-like)
   ============================================ */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pb-12 {
    padding-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.text-lg {
    font-size: 1.125rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.text-white {
    color: var(--white);
}

.text-gray-200 {
    color: #E5E7EB;
}

.text-gray-400 {
    color: var(--gray-400);
}

.text-gray-500 {
    color: var(--gray-500);
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-800 {
    color: var(--gray-800);
}

.text-teal-400 {
    color: var(--teal-400);
}

.text-teal-500 {
    color: var(--teal-500);
}

.text-teal-50 {
    color: var(--teal-50);
}

.text-teal-100 {
    color: var(--teal-100);
}

.text-green-500 {
    color: var(--green-500);
}

.text-yellow-400 {
    color: var(--yellow-400);
}

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

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-gray-100 {
    background-color: var(--gray-100);
}

.bg-teal-400 {
    background-color: var(--teal-400);
}

.bg-teal-500 {
    background-color: var(--teal-500);
}

.bg-teal-50 {
    background-color: var(--teal-50);
}

.bg-teal-100 {
    background-color: var(--teal-100);
}

.bg-black {
    background-color: var(--black);
}

.bg-gray-900 {
    background-color: var(--gray-900);
}

.bg-gray-800 {
    background-color: #1F2937;
}

.text-gray-300 {
    color: #D1D5DB;
}

.text-gray-400 {
    color: var(--gray-400);
}

.text-gray-500 {
    color: var(--gray-500);
}

.text-red-500 {
    color: #EF4444;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.w-full {
    width: 100%;
}

.w-12 {
    width: 3rem;
}

.w-20 {
    width: 5rem;
}

.w-10 {
    width: 2.5rem;
}

.w-64 {
    width: 16rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-20 {
    height: 5rem;
}

.h-96 {
    height: 24rem;
}

.h-[500px] {
    height: 500px;
}

.h-[600px] {
    height: 600px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}

.overflow-hidden {
    overflow: hidden;
}

.object-cover {
    object-fit: cover;
}

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

.text-left {
    text-align: left;
}

.leading-tight {
    line-height: 1.25;
}

.italic {
    font-style: italic;
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.hover\:bg-teal-500:hover {
    background-color: var(--teal-500);
}

.hover\:bg-gray-100:hover {
    background-color: var(--gray-100);
}

.hover\:bg-gray-900:hover {
    background-color: var(--gray-900);
}

.hover\:text-teal-100:hover {
    color: var(--teal-100);
}

.hover\:text-teal-500:hover {
    color: var(--teal-500);
}

.hover\:underline:hover {
    text-decoration: underline;
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-6 {
    transform: rotate(6deg);
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-4 {
    border-width: 4px;
}

.border-gray-200 {
    border-color: var(--gray-200);
}

.border-gray-300 {
    border-color: var(--gray-300);
}

.border-teal-200 {
    border-color: #99F6E4;
}

.border-teal-400 {
    border-color: var(--teal-400);
}

.border-gray-800 {
    border-color: #1F2937;
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.hidden {
    display: none;
}

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

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

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

@media (min-width: 768px) {
    .md\:block {
        display: block;
    }

    .md\:flex {
        display: flex;
    }

    .md\:w-1\/2 {
        width: 50%;
    }

    .md\:w-1\/3 {
        width: 33.333333%;
    }

    .md\:pl-12 {
        padding-left: 3rem;
    }

    .md\:pl-16 {
        padding-left: 4rem;
    }

    .md\:mb-0 {
        margin-bottom: 0;
    }

    .md\:mb-8 {
        margin-bottom: 2rem;
    }

    .md\:mb-10 {
        margin-bottom: 2.5rem;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:text-4xl {
        font-size: 2.25rem;
    }

    .md\:text-5xl {
        font-size: 3rem;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
    }

    .md\:ml-auto {
        margin-left: auto;
    }

    .md\:-translate-y-4 {
        transform: translateY(-1rem);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================
   Top Bar
   ============================================ */
.bg-teal-400.text-white {
    background-color: var(--teal-400);
    color: var(--white);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.nav-link {
    transition: color 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1545173168-9f1947eebb8f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--teal-400);
}

.service-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

/* ============================================
   Swiper Styles
   ============================================ */
.swiper-pagination-bullet {
    background: var(--teal-400);
}

.swiper-pagination-bullet-active {
    background: var(--teal-500);
}

.service-products-swiper .swiper-button-next,
.service-products-swiper .swiper-button-prev {
    color: white;
    background: rgba(94, 234, 212, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.service-products-swiper .swiper-button-next:after,
.service-products-swiper .swiper-button-prev:after {
    font-size: 20px;
}

.service-products-swiper .swiper-button-next:hover,
.service-products-swiper .swiper-button-prev:hover {
    background: rgba(45, 212, 191, 1);
}

/* Gradient Overlay */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black\/80 {
    --tw-gradient-from: rgba(0, 0, 0, 0.8);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.via-black\/40 {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(0, 0, 0, 0.4), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-white\/30 {
    background-color: rgba(255, 255, 255, 0.3);
}

.w-14 {
    width: 3.5rem;
}

.h-14 {
    height: 3.5rem;
}

/* Form Styles */
input[type="text"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--teal-400);
    box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.2);
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-choose-us {
    background-color: var(--teal-400);
    color: white;
}

.why-choose-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
}

.why-choose-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 0.75rem;
    display: block;
    transition: transform 0.3s ease;
}

.why-choose-image-wrapper:hover .why-choose-image {
    transform: scale(1.02);
}

.why-choose-us .flex {
    align-items: flex-start;
}

.why-choose-us .space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Responsive adjustments for Why Choose Us */
@media (max-width: 767px) {
    .why-choose-us {
        padding: 3rem 0;
    }

    .why-choose-image-wrapper {
        margin-bottom: 2rem;
    }

    .why-choose-image {
        max-height: 300px;
    }

    .why-choose-us h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .why-choose-us .md\:pl-8 {
        padding-left: 0;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .why-choose-image {
        max-height: 400px;
    }
}

@media (min-width: 1024px) {
    .why-choose-image {
        max-height: 500px;
    }
}

/* Footer Styles */
.bg-gray-900 {
    background-color: var(--gray-900);
}

.border-t {
    border-top-width: 1px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-bg {
        min-height: auto;
        padding: 3rem 0;
    }

    .h-[600px] {
        height: auto;
        min-height: 400px;
    }

    .h-[500px] {
        height: auto;
        min-height: 300px;
    }
}
