/* static/css/sections.css */
/* Hero Section */
.premium-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-accent);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 17, 17, 0.5);
    z-index: -1;
}

.hero-container {
    width: 100%;
}

.hero-content-box {
    text-align: center;
    padding-bottom: 5rem;
}

.hero-micro-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.hero-divider {
    width: 15vw;
    max-width: 150px;
    height: 2px;
    background-color: #EAB308; /* Bright Gold overlap */
    margin: 0 auto;
}

/* Floating Search Bar overlapping the bottom */
.hero-search-wrapper {
    position: absolute;
    bottom: -35px; /* Overlap nicely */
    left: 0;
    width: 100%;
    z-index: 10;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #ffffff; /* Solid White */
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr 1fr 1fr auto;
    }
}

.form-select {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: none;
    border-right: 1px solid var(--color-border);
    background-color: transparent;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-text-light);
    appearance: none;
    outline: none;
    cursor: pointer;
}

.search-grid .form-group:nth-last-child(2) .form-select {
    border-right: none;
}

.btn-search {
    background-color: #EAB308;
    color: var(--color-accent);
    height: 100%;
    padding: 1.25rem 3rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    border-radius: 0; /* Square button explicitly required */
}

.btn-search:hover {
    background-color: #ca9a05;
}
.mb-0 { margin-bottom: 0 !important; }

/* Trust Section */
.trust-section {
    padding-top: 4rem; /* Adjusted for tighter layout */
    padding-bottom: var(--spacing-xxl);
    background-color: #fbfbfb;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Featured Section */
.featured-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-surface);
    transform: translateZ(0);
    backface-visibility: hidden;
}
.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-sm);
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--color-primary);
}
.link-gold {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

/* CTA Section */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-accent);
    padding: var(--spacing-xl) 0;
}
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-xl);
}
.cta-action {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}
@media (min-width: 768px) {
    .cta-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
