/* assets/css/hero.css */

/* --- Main Layout --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    /* Adjust these 72px values to match your exact header height */
    margin-top: -72px; 
    padding-top: 72px; 
    overflow: hidden;
    background-color: #f5f5f5; /* Fallback color */
}

/* --- Slide Container --- */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom; /* Anchor image to bottom */
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to top */
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* --- Content Typography --- */
.hero-content {
    text-align: center;
    /* This pushes the text down from the header */
    margin-top: 12vh; 
    z-index: 10;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 4rem; /* 64px roughly */
    font-weight: 500; /* Not too bold, matches "Meet Rizta" */
    color: #111;
    margin: 0 0 12px 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem; /* ~22px */
    color: #333;
    margin: 0 0 40px 0;
    font-weight: 400;
}

/* --- Buttons (Pill Shape) --- */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* "Learn more" Style */
.btn-hero-outline {
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.1);
    color: #000;
    padding: 12px 32px;
    border-radius: 100px; /* Pill shape */
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-hero-outline:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* "Book now" Style */
.btn-hero-solid {
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
    color: #fff;
    padding: 12px 32px;
    border-radius: 100px; /* Pill shape */
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-hero-solid:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- Indicators (Bars, not dots) --- */
.hero-indicators {
    position: absolute;
    bottom: 90px; /* Just above the specs strip */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.indicator {
    width: 36px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    /* For light backgrounds use darker bars: */
    /* background-color: rgba(0, 0, 0, 0.2); */ 
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background-color: #fff; /* or #000 depending on slide theme */
    width: 50px; /* Active one is slightly longer */
}

/* --- Bottom Specs Strip --- */
.hero-bottom-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    /* Gradient fade from bottom */
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.spec-item {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff; /* White text on gradient */
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .hero-bottom-strip { 
        overflow-x: auto; 
        justify-content: flex-start; 
        padding-left: 20px;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero-content { margin-top: 15vh; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; align-items: center; width: 100%; }
    .btn-hero-outline, .btn-hero-solid { width: 100%; max-width: 300px; text-align: center; }
    
    .hero-bottom-strip { display: none; } /* Hide specs on mobile */
    .hero-indicators { bottom: 30px; }
}