/* Custom Styles for Coastal Cooling */

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

/* Geometric Background Shapes */
.geo-shape-1 {
    position: absolute;
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.geo-shape-2 {
    position: absolute;
    top: 30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.1) 0%, rgba(148, 163, 184, 0.05) 100%);
    border-radius: 50% 20% 50% 20%;
    animation: float 25s ease-in-out infinite reverse;
    z-index: 0;
}

.geo-shape-3 {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(20, 184, 166, 0.03) 100%);
    border-radius: 20% 80% 20% 80%;
    animation: float 18s ease-in-out infinite;
    z-index: 0;
}

.geo-shape-4 {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.12) 0%, rgba(148, 163, 184, 0.06) 100%);
    border-radius: 70% 30% 70% 30%;
    animation: float 22s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* Service Card Hover Effects */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
}

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

/* Button Hover Effects */
button[type="submit"]:hover {
    transform: translateY(-2px);
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geo-shape-1,
    .geo-shape-2,
    .geo-shape-3,
    .geo-shape-4 {
        display: none;
    }
}

/* Print Styles */
@media print {
    .geo-shape-1,
    .geo-shape-2,
    .geo-shape-3,
    .geo-shape-4 {
        display: none;
    }
    
    nav {
        position: static;
    }
}
