/* ========================================
   FILE: css/index.css
   Index page specific styles - VIBRANT VERSION
   ======================================== */

#top-slider-container {
    width: 100%;
    height: 85vh;
    margin: 6rem 0 0 0;
    padding: 2rem;
    opacity: 1;
}

#top-slider-container a {
    text-decoration: none;
    color: #432b08;
}

.slider-card {
    margin: auto;
    width: 100%;
}

#top-slider-logo {
    width: 100%;
    height: auto;
    max-width: 500px;
    position: relative;
    z-index: 1;
    padding: 10px 5px;
/*    background: rgba(0, 0, 0, 0.367);
    border: blur(50px) solid rgba(255, 255, 255, 100);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.75);*/
}

#top-contact-container {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 1;

}

.top-contact-item {
    display: inline-block;
    background-color: transparent;
    border-radius: 10px;
    transition: ease-in-out 0.3s;
    background: rgba(0, 0, 0, 0.367);
    border-radius: 10px;
    padding: 10px;
}

.top-contact-item:hover {
    transform: scale(1.1);
}

.contact-icons {
    height: 60px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

#card-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

/* Video Background Styles */
.card-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero {
    background: linear-gradient(135deg, rgba(0,168,107,0.9) 0%, rgba(227,35,50,0.9) 100%),
                url('../images/hero-bg.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.03) 10px,
        rgba(255,255,255,0.03) 20px
    );
    pointer-events: none;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

/* Features Container (Contained Width) */
.features-container {
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.feature-item {
    max-width: 1400px;
    display: flex;
    align-items: center;
    margin: auto;
    gap: 3rem;
    margin-bottom: -50px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item.hidden-top {
    opacity: 0;
    transform: translateY(-50px);
}

.feature-item.hidden-bottom {
    opacity: 0;
    transform: translateY(50px);
}

/* Alternating layout */
.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex-shrink: 0;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
/*    box-shadow: 0 12px 32px rgba(0,0,0,0.2);*/
    border: 8px solid #00a86b;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-item:nth-child(2) .feature-image {
    border-color: #8b6f47;
}

.feature-item:nth-child(3) .feature-image {
    border-color: #e32332;
}

.feature-image:hover {
    transform: scale(1.05);
}

.feature-image::after {

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent);
    pointer-events: none;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card {
    flex: 1;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 6px solid #00a86b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #00a86b, #00d485);
}

.feature-item:nth-child(2) .feature-card {
    border-top-color: #8b6f47;
}

.feature-item:nth-child(2) .feature-card::before {
    background: linear-gradient(90deg, #8b6f47, #a68a5f);
}

.feature-item:nth-child(3) .feature-card {
    border-top-color: #e32332;
}

.feature-item:nth-child(3) .feature-card::before {
    background: linear-gradient(90deg, #e32332, #ff4757);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.feature-card h3 {
    color: #00a86b;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.feature-item:nth-child(2) .feature-card h3 {
    color: #8b6f47;
}

.feature-item:nth-child(3) .feature-card h3 {
    color: #e32332;
}

.feature-card p {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

/* Hours & Location Section */
.hours-location-wrapper {
    width: 100%;
    background: #ffffff;
/*    background: linear-gradient(135deg, 
        rgba(0,168,107,0.70) 0%, 
        rgba(139,111,71,0.70) 50%,
        rgba(227,35,50,0.70) 100%
    );*/
    background-position: fixed;
    padding: 5rem 0;
    margin: 6rem 0;
    position: relative;
}

.hours-location-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
    pointer-events: none;
}

.hours-location-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hours-contact {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-left: 6px solid #00a86b;
}

.hours-contact h2 {
    color: #00a86b;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.hours-contact h2:not(:first-child) {
    margin-top: 2.5rem;
}

.hours-contact p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.location-map {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-left: 6px solid #e32332;
}

.location-map h2 {
    color: #e32332;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.location-map .address {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 3px solid #e32332;
}

.map-container iframe {
    display: block;
}

/* Signup Container (Contained Width) */
.signup-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, 
        rgba(227,35,50,0.05) 0%, 
        rgba(0,168,107,0.05) 100%
    );
}

.signup-section {
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(0,168,107,0.95) 0%, rgba(227,35,50,0.95) 100%);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.signup-section h2 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.signup-section > p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 1.2rem;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: rgba(255,255,255,0.95);
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    cursor: pointer;
    font-size: 0.9rem;
    color: white;
}

.checkbox-group a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: white;
    color: #00a86b;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    font-weight: bold;
}

.form-message.success {
    background: rgba(255,255,255,0.95);
    color: #155724;
    display: block;
}

.form-message.error {
    background: rgba(255,255,255,0.95);
    color: #721c24;
    display: block;
}

/* Mobile specific styles */
@media (max-width: 900px) {
    /* Apply fixed background ONLY to main element, not body */
    main {
        position: relative;
    }

    #card-1 {
        gap: 6rem;
    }

    .hero {
        height: auto;
        min-height: 250px;
        padding: 3rem 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: .50rem;
    }

    .features-container {
        padding: 2rem 1rem;
    }

    .feature-item {
        padding: 10px;
        gap: 10px;
        margin-bottom: 1rem;
    }


    .feature-image {
        width: 40%;
        height: auto;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0px;
    }

    .hours-location-wrapper {
        padding: 3rem 0;
        margin: 3rem 0;
    }

    .hours-location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hours-contact,
    .location-map {
        text-align: center;
        padding: 2rem;
    }

    .hours-contact h2,
    .location-map h2 {
        text-align: center;
        font-size: 1.6rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .signup-container {
        padding: 2rem 1rem;
    }

    .signup-section {
        padding: 2rem 1.5rem;
    }

    .signup-section h2 {
        font-size: 1.8rem;
    }
}