/* Custom styles for Puff Pass Glass */

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

/* Body styling */
body {
    font-family: 'Quicksand', sans-serif;
    background-color: #fefdf8;
    color: #1f2937;
}

/* Heading font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
}

/* Gradient hero background */
.gradient-hero {
    background: linear-gradient(135deg, #2d6e2d 0%, #3d8b3d 25%, #5aad5a 50%, #8ec88e 75%, #d9ecd9 100%);
}

/* Service card hover effect */
.service-card:hover {
    transform: translateY(-8px);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Navigation scroll effect */
.nav-scrolled {
    background-color: rgba(254, 253, 248, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* CTA button styling */
.cta-button {
    background: linear-gradient(135deg, #2d6e2d, #3d8b3d);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #1e451e, #2d6e2d);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 110, 45, 0.3);
}

/* Feature icon styling */
.feature-icon {
    background: linear-gradient(135deg, #f0f7f0, #d9ecd9);
    transition: all 0.3s ease;
}

.service-card:hover .feature-icon {
    background: linear-gradient(135deg, #d9ecd9, #b8dfb8);
    transform: scale(1.1);
}

/* Pulse animation for dots */
.pulse-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.5; 
    }
}

/* Mobile menu link styling */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
}

/* Ensure proper contrast for text on gradient */
.gradient-hero h1,
.gradient-hero h2,
.gradient-hero h3,
.gradient-hero p {
    color: #ffffff;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #5aad5a;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .service-card {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5aad5a;
}

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

img:hover {
    transform: scale(1.02);
}

/* Form input focus states */
input:focus,
textarea:focus {
    border-color: #5aad5a !important;
    box-shadow: 0 0 0 3px rgba(90, 173, 90, 0.1);
}

/* Shadow utilities */
.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Rounded corners */
.rounded-3xl {
    border-radius: 1.5rem;
}

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

/* Spacing adjustments */
section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 768px) {
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .gradient-hero h1 {
        font-size: 2.5rem;
    }
    
    .gradient-hero p {
        font-size: 1.125rem;
    }
}
