/* ========================================
   Lone Star Cleaning Services — Custom Styles
   ======================================== */

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Geometric Background Shapes
   ======================================== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -150px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: -80px;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(20, 184, 166, 0.04);
    border-radius: 24px;
    top: 40%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(20, 184, 166, 0.04);
    top: 60%;
    left: 8%;
    transform: rotate(-20deg);
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(20, 184, 166, 0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    top: 30%;
    left: 3%;
    opacity: 0.6;
}

/* ========================================
   Floating Cards Animation
   ======================================== */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-teal {
    animation-delay: 0s;
}

.floating-card.card-slate {
    animation-delay: -2s;
}

.floating-card.card-white {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* ========================================
   Navbar
   ======================================== */
#navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ========================================
   Scroll Reveal Animation
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Form Styles
   ======================================== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .floating-card.card-white {
        display: none;
    }

    .geo-shape {
        display: none;
    }

    .geo-circle-1 {
        display: block;
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 640px) {
    .floating-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: inline-block;
        margin: 0.5rem;
    }
}

/* ========================================
   Selection Color
   ======================================== */
::selection {
    background: rgba(20, 184, 166, 0.2);
    color: #134e4a;
}

/* ========================================
   Focus Visible
   ======================================== */
:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .geo-shape,
    .floating-card,
    .fixed {
        display: none !important;
    }
}
