/* Main CSS styles for Call MedGuard */

/* Custom utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gradient-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(255, 255, 255, 0.1));
}

/* Hero section responsive adjustments */
.hero-heading {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
}

.hero-subheading {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.1;
}

.hero-paragraph {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
}

/* Responsive container */
.container-responsive {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-responsive {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-responsive {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Responsive vertical spacing */
.hero-content-spacing {
    padding-top: clamp(4rem, 15vh, 8rem);
    padding-bottom: clamp(2rem, 10vh, 6rem);
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #CF0F47;
    color: white;
}

.btn-primary:hover {
    background-color: #B80D3E;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #CF0F47;
}

/* Custom animations */
.animate-bounce-slow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile menu styles */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

#mobile-menu.open {
    max-height: 500px; /* Adjust as needed */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#mobile-menu.hidden {
    display: none;
}

#mobile-menu a {
    padding: 0.5rem 0;
    font-size: 1.125rem;
}

#mobile-menu a:active {
    transform: scale(0.95);
}

/* Hamburger menu animations */
.mobile-menu-button-open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-button-open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button-open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive typography */
@media (max-width: 640px) {
    .hero-content {
        width: 100%;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .hero-content {
        width: 80%;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        width: 60%;
    }
} 