/* Import Google Font for that "Ragtime" feel */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Lato:wght@400;700&display=swap');

/* --- HERO SECTION --- */
.hero-section {
    position: relative;

    height: 100vh; 
    min-height: 500px;
    width: 100%;
    
    /* bg image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

/* Dark overlay to ensure text is readable over any image */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
}

/* Content wrapper to sit above the overlay */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-out;
}

/* --- TYPOGRAPHY --- */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem; /* Big and bold */
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.75);
}

.hero-quote {
    font-family: 'Playfair Display', serif;
    /* font-style: italic; */
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- BUTTONS --- */
.btn-hero-primary {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 25px;
    font-size: 1.1rem;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* Gold/Brass accent color looks great with dark backgrounds */
    background-color: #D4AF37; 
    color: #1a1a1a;
    border: 2px solid #D4AF37;
}

.btn-hero-primary:hover {
    background-color: transparent;
    border: 2px solid #D4AF37;
    color: #D4AF37;
    transform: translateY(-1.5px); /* Subtle lift effect */
}

/* SEARCH BAR STYLING */
.hero-search-container {
    max-width: 600px;
    margin: 0 auto; /* Center it */
}

.hero-search-input {
    border-radius: 50px;
    padding: 15px 25px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* CAROUSEL & GLASS CARD STYLING */
.hero-carousel {
    max-width: 700px;
    margin: 0 auto;
    min-height: 200px; /* Prevent jumping */
}

.glass-card {
    background: rgba(255, 255, 255, 0.1); /* 10% opaque white */
    backdrop-filter: blur(10px);          /* The "Frosted Glass" blur */
    -webkit-backdrop-filter: blur(10px);  /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-width: 500px; /* Keep it compact */
}

/* Override Bootstrap text colors inside the glass card if needed */
.glass-card .card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.form-control:focus {
    border-color: #D4AF37; /* Gold focus border */
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.card {
    border-radius: 15px; /* Softer corners */
}

.representative-enrty {
    position: relative;
}

.rep-photo {
    display: inline-block;
    width: 3.5em;
    height: 4.2em;
    border-radius: 1.5em;
    background-position: center;
    background-size: cover;
    position: relative;
}

.carousel-control-prev, .carousel-control-next {
    z-index: 10 !important; /* Force arrows above the glass card */
    cursor: pointer;
}

/* --- RESPONSIVE TWEAKS --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-quote {
        font-size: 1.25rem;
    }
}

/* Simple fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}