/* ==========================================================================
   Sunny Farm Egg - Custom Styles (Optimized for Tailwind)
   ========================================================================== */

/* Font Import Only */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Custom Text Sizes for Features - Only essential custom sizes */
.text-feature-title {
    font-size: 10px;
}

@media (min-width: 640px) {
    .text-feature-title {
        font-size: 16px;
    }
}

.text-feature-desc {
    font-size: 10px;
}

@media (min-width: 640px) {
    .text-feature-desc {
        font-size: 14px;
    }
}

/* Tab Navigation - Essential positioning only */
#tab-indicator {
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 0.25rem;
    width: 50%;
    background-color: #991b1b;
    border-radius: 0.375rem;
    transition: all 0.3s ease-in-out;
    z-index: 0;
    will-change: transform, width;
}

/* Swiper Carousel Customizations - Only essential overrides */
.about-carousel .swiper-button-next:after,
.about-carousel .swiper-button-prev:after {
    color: #d97706;
    font-size: 24px;
}

.about-carousel .swiper-button-next:hover:after,
.about-carousel .swiper-button-prev:hover:after {
    color: #b45309;
}

.about-carousel .swiper-pagination-bullet {
    background: #d1d5db;
    opacity: 1;
}

.about-carousel .swiper-pagination-bullet-active {
    background: #d97706;
}

.mobile-hero-carousel .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 3px;
}

.mobile-hero-carousel .swiper-pagination-bullet-active {
    background: #f59e0b;
    width: 24px;
    border-radius: 12px;
}

.mobile-hero-carousel .swiper-pagination {
    bottom: 12px;
}

.desktop-hero-carousel .swiper-button-next:after,
.desktop-hero-carousel .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.desktop-hero-carousel .swiper-button-next,
.desktop-hero-carousel .swiper-button-prev {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    transition: all 0.3s ease;
}

.desktop-hero-carousel .swiper-button-next:hover,
.desktop-hero-carousel .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.desktop-hero-carousel .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    width: 10px;
    height: 10px;
}

.desktop-hero-carousel .swiper-pagination-bullet-active {
    background: #f59e0b;
    width: 30px;
    border-radius: 15px;
}

.desktop-hero-carousel .swiper-pagination {
    bottom: 15px;
}

/* Component Specific Styles - Essential only */
.membership-button {
    background-color: #991b1b;
    transition: all 0.3s ease;
}

.membership-button:hover {
    background-color: #fdc83d;
}

.membership-button:active {
    background-color: #b45309;
}

.membership-button:focus {
    background-color: #f59e0b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

/* Navigation Dropdown Styles
   ========================================================================== */
.group:hover .group-hover\:opacity-100,
.group.active .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:visible,
.group.active .group-hover\:visible {
    visibility: visible;
}

.group:hover .group-hover\:rotate-180,
.group.active .group-hover\:rotate-180 {
    transform: rotate(180deg);
}

/* Dropdown positioning and animation */
.dropdown-menu {
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.group:hover .dropdown-menu,
.group.active .dropdown-menu {
    transform: translateY(0);
}

.dropdown-menu a {
    transition: all 0.2s ease-in-out;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateX(2px);
}

/* Responsive dropdown positioning - prevents overflow on tablet */
@media (min-width: 640px) and (max-width: 1023px) {
    .dropdown-menu {
        right: 0;
        left: auto;
        min-width: 160px;
        max-width: 200px;
    }
}