@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #1f2937;
}

.font-display {
    font-family: 'Nunito', sans-serif;
}

/* Hero slider */
.hero-slider {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hero-slider::-webkit-scrollbar {
    display: none;
}

.hero-slide {
    scroll-snap-align: start;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background-color: #F59E0B;
    width: 32px;
    border-color: #F59E0B;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F59E0B;
    transition: all 0.3s ease;
    z-index: 20;
    cursor: pointer;
    border: none;
}

.slider-arrow:hover {
    background-color: #F59E0B;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Navigation */
.nav-link {
    color: #374151;
    font-weight: 600;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #D97706;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #F59E0B;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown-menu {
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.group:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Tabs */
.tab-btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.tab-btn.active {
    background-color: #F59E0B;
    color: white;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: #F59E0B;
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #D97706;
    font-weight: 600;
    border-radius: 9999px;
    border: 2px solid #F59E0B;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #F59E0B;
    color: white;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: white;
    color: #D97706;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes sunspin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-sunspin {
    animation: sunspin 18s linear infinite;
}

[data-animate] {
    opacity: 0;
}

[data-animate].animate-slide-up {
    opacity: 1;
}

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

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

::-webkit-scrollbar-thumb {
    background: #F59E0B;
    border-radius: 10px;
}

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

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #F59E0B;
    outline-offset: 2px;
}

/* Social icons */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #F59E0B;
    transform: translateY(-3px);
}

/* Header scroll effect */
.header-scrolled {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Mobile menu */
.mobile-menu-open {
    overflow: hidden;
}

/* Curved separator */
.curve-bottom {
    position: relative;
}

.curve-bottom::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: inherit;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: translateY(50%);
}

/* Decorative shapes */
.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

/* Sunflower decorative bloom (pure CSS) */
.sunflower {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 3rem;
}

.sunflower::before,
.sunflower::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.sunflower::before {
    background:
        radial-gradient(circle at 50% 0%, #F59E0B 12%, transparent 13%),
        radial-gradient(circle at 100% 50%, #F59E0B 12%, transparent 13%),
        radial-gradient(circle at 50% 100%, #F59E0B 12%, transparent 13%),
        radial-gradient(circle at 0% 50%, #F59E0B 12%, transparent 13%),
        radial-gradient(circle at 85% 15%, #FBBF24 10%, transparent 11%),
        radial-gradient(circle at 15% 15%, #FBBF24 10%, transparent 11%),
        radial-gradient(circle at 85% 85%, #FBBF24 10%, transparent 11%),
        radial-gradient(circle at 15% 85%, #FBBF24 10%, transparent 11%);
}

.sunflower::after {
    inset: 35%;
    background: radial-gradient(circle, #78350F 0%, #451A03 100%);
}
