/* Custom styles for Highlights Healthcare */

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

/* Base styles */
body {
    font-family: 'Nunito', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero pattern */
.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Organic blob shapes */
.blob-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob-float 8s ease-in-out infinite;
}

.blob-shape-2 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blob-float 10s ease-in-out infinite reverse;
}

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Service cards */
.service-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(169, 49, 20, 0.15);
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #e85a2e 0%, #d4431a 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d4431a 0%, #ab3114 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 67, 26, 0.35);
}

/* Secondary button */
.btn-secondary {
    background: transparent;
    border: 2px solid #e85a2e;
    color: #e85a2e;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: #e85a2e;
    color: white;
    transform: translateY(-2px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
.mobile-menu {
    display: none;
    animation: slideDown 0.3s ease;
}

.mobile-menu.open {
    display: flex;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #e85a2e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4431a;
}

/* Form styling */
input:focus, 
textarea:focus, 
select:focus {
    outline: none;
    border-color: #e85a2e;
    box-shadow: 0 0 0 3px rgba(232, 90, 46, 0.2);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(253, 248, 240, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Accessibility */
:focus-visible {
    outline: 3px solid #e85a2e;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .btn-primary,
    .btn-secondary {
        background: #333 !important;
        color: white !important;
    }
}
