/* ========== HOMEPAGE SPECIFIC STYLES ========== */

/* Hero Section with Video Background */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease;
}

.hero .highlight {
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: #6495ED;
    color: white;
}

/* Visit Section */
.visit-container,.belief-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.visit-info,.belief-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.map-container, .weather-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(100, 149, 237, 0.2);
    border-top: 5px solid #6495ED;
    transition: transform 0.3s, box-shadow 0.3s;
}

.map-container:hover, .weather-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(100, 149, 237, 0.25);
}

.map-container h3, .weather-container h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-text {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #6495ED 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(100, 149, 237, 0.3);
    border: none;
    cursor: pointer;
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 149, 237, 0.4);
    background: linear-gradient(135deg, #6495ED 0%, #1e3c72 100%);
}

.map-btn:active {
    transform: translateY(0);
}

.map-btn-secondary {
    background: white;
    color: #1e3c72;
    border: 2px solid #6495ED;
}

.map-btn-secondary:hover {
    background: #f0f4ff;
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* Weather Widget */
.weather-widget {
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    min-height: 300px;
}

.weather-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    color: #1e3c72;
    min-height: 300px;
}

.weather-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(100, 149, 237, 0.2);
    border-top-color: #6495ED;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.weather-loading p {
    margin: 0;
    font-size: 1rem;
    color: #666;
}

.weather-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    color: white;
    min-height: 300px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.weather-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.weather-icon-large {
    font-size: 4rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.weather-main {
    flex: 1;
    min-width: 150px;
}

.weather-temp {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.weather-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: capitalize;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.weather-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.weather-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.weather-detail-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.weather-detail-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

.weather-detail-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.weather-detail-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.weather-detail-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.weather-detail-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.weather-refresh-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    align-self: center;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.weather-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.weather-refresh-btn:active {
    transform: translateY(0);
}

.weather-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    min-height: 300px;
    text-align: center;
}

.weather-error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.weather-error-text {
    color: #666;
}

.weather-error-text p {
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.weather-retry-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #6495ED 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(100, 149, 237, 0.3);
}

.weather-retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 149, 237, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .location-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 35px;
        height: 80vh;
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .visit-info,
    .belief-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .location-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container,
    .weather-container {
        padding: 1.5rem;
    }

    .map-container h3,
    .weather-container h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .map-wrapper iframe {
        height: 300px;
    }

    .weather-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .weather-icon-large {
        font-size: 3rem;
    }

    .weather-temp {
        font-size: 2.5rem;
    }

    .weather-desc {
        font-size: 1rem;
    }

    .weather-details-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .weather-detail-card {
        padding: 0.875rem;
    }

    .map-actions {
        flex-direction: column;
    }

    .map-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 32px;
        height: 70vh;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .visit-info,
    .belief-info {
        gap: 1.25rem;
    }

    .map-container,
    .weather-container {
        padding: 1.25rem;
    }

    .map-container h3,
    .weather-container h3 {
        font-size: 1.2rem;
    }

    .map-wrapper iframe {
        height: 250px;
    }

    .weather-icon-large {
        font-size: 2.5rem;
    }

    .weather-temp {
        font-size: 2rem;
    }

    .weather-desc {
        font-size: 0.9rem;
    }

    .weather-details-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .weather-detail-card {
        padding: 0.75rem;
    }

    .weather-detail-icon {
        font-size: 1.5rem;
    }

    .weather-detail-value {
        font-size: 1rem;
    }

    .weather-refresh-btn {
        width: 100%;
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .address-text {
        font-size: 0.9rem;
    }
}