/* Custom CSS for Lightworker Mark Website */

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Add delays for staggered animations */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* General Body and Container Styling */
body {
    background-color: #f8fafc; /* Light background */
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Specifics */
header {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly more opaque */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px); /* Subtle blur effect */
}

header nav a {
    position: relative;
    padding-bottom: 5px; /* Space for underline */
}

header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #6366F1; /* Indigo-600 */
    transition: width 0.3s ease-in-out;
}

header nav a:hover::after {
    width: 100%;
}

/* Hero Section Enhancements */
#home {
    background-size: cover;
    background-position: center;
    min-height: 80vh; /* Ensure it takes up most of the viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#home .relative {
    /* Styles already in Tailwind, but adding a bit more specific shadow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
section {
    padding: 5rem 0;
    margin-bottom: 2rem; /* Space between sections */
    border-radius: 1.5rem; /* More rounded corners */
    overflow: hidden; /* Ensure shadow/border radius works */
}

/* Card Styling (Offerings, Testimonials, Resources) */
.grid > div {
    transition: all 0.3s ease-in-out;
    border-radius: 1rem; /* Consistent rounded corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.grid > div:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px) scale(1.01); /* Subtle lift and slight scale */
}

/* Buttons */
a.inline-block, button[type="submit"] {
    transition: all 0.3s ease-in-out;
    border-radius: 9999px; /* Full rounded for pill shape */
    font-weight: 600;
}

a.inline-block:hover, button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Form Inputs */
input[type="text"],
input[type="email"],
textarea {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3); /* Focus ring */
}

/* Responsive Adjustments (Tailwind handles most, but custom tweaks if needed) */
@media (max-width: 768px) {
    .text-5xl { font-size: 3rem; } /* Adjust hero title for smaller screens */
    .text-2xl { font-size: 1.5rem; }
    #home .relative {
        padding: 1.5rem;
    }
    .lg\:hidden { display: block; } /* Show mobile menu button */
    .lg\:flex { display: none; } /* Hide desktop nav */
}
