/* --- HERO SECTION --- */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(to right, #0a0a0a 40%, transparent), 
                url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
}

.hero.hero-custom {
    background: linear-gradient(to right, #000000 40%, rgba(0, 0, 0, 0.7) 70%, transparent 100%), 
                url('assets/image1.jpg') right center/cover no-repeat;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* --- MODERN HIGHLIGHT SECTION --- */
.highlight-section {
    padding: 5rem 5% 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section-header {
    text-align: left;
    max-width: 700px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #ccc;
    font-size: 1.1rem;
}

.highlight-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
}

/* --- HORIZONTAL CARD --- */
.modern-card-horizontal {
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #222;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.modern-card-horizontal:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.card-image-side {
    position: relative;
    width: 45%;
    height: 183px; 
    background-color: #0b0b0b;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.modern-card-horizontal:hover .card-image-side img {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    border: 1px solid #333;
    z-index: 2;
}

.badge.gold {
    background: #d4af37;
    color: #000;
    border-color: #d4af37;
}

.card-content-side {
    padding: 1.8rem;
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content-side h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #d4af37;
}

.card-content-side p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

.card-content-side p strong {
    color: #d4af37;
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: 2rem 5% 6rem;
    background-color: #0a0a0a;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: linear-gradient(145deg, #121212, #050505);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #1f1f1f;
    transition: all 0.4s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: #332a10;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.05);
}

.feature-box .icon {
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 12px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.feature-box .icon svg {
    display: block;
}

.feature-box:hover .icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(212, 175, 55, 0.1);
}

.feature-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f4f4f4;
    font-weight: 600;
}

.feature-box p {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.7;
}

/* --- RESPONSIVE FOR INDEX.HTML COMPONENTS --- */
@media (max-width: 768px) {
    .highlight-wrapper {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .modern-card-horizontal {
        flex-direction: column;
    }
    .card-image-side {
        width: 100%;
        height: 163px;
    }
    .card-content-side {
        width: 100%;
        padding: 1.5rem;
    }
    .badge {
        top: 12px;
        left: auto;
        right: 12px;
    }
}