@font-face {
    font-family: 'OldEnglish';
    src: url('../assets/font/OldEnglishFive.ttf') format('truetype');
}

html { scroll-behavior: smooth; }

:root {
    --navy: #0A1F3C;
    --electric: #007BFF;
    --gold: #FFD700;
    --orange: #FF8C00;
    --glass: rgba(255, 255, 255, 0.05);
}

body { margin: 0; background-color: var(--navy); color: white; font-family: 'Open Sans', sans-serif; }

/* NAV */
.sticky-nav {
    position: sticky; top: 0; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background: rgba(10, 31, 60, 0.95);
    backdrop-filter: blur(10px); border-bottom: 2px solid var(--electric);
}

.nav-links a { color: white; text-decoration: none; margin: 0 12px; font-weight: bold; font-size: 0.9rem; }
.nav-links a:hover { color: var(--gold); }

/* HERO */
.hero-section { height: 75vh; display: flex; align-items: center; padding: 0 10%; }
.hero-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 50px; }
.old-english-title { font-family: 'OldEnglish', serif; font-size: 4.2rem; color: var(--gold); margin: 0; line-height: 1.1; }
.sub-title { font-family: 'Montserrat'; letter-spacing: 5px; color: var(--electric); font-size: 1.6rem; }
.hero-logo img { width: 170px; filter: drop-shadow(0 0 15px var(--electric)); }

/* LAYOUT */
.container { width: 90%; max-width: 1200px; margin: auto; padding: 50px 0; }
.section-heading { font-family: 'Montserrat'; color: var(--electric); text-align: center; font-size: 2.2rem; margin-bottom: 40px; }
.glass-card { background: var(--glass); border: 1px solid rgba(255,255,255,0.1); border-radius: 15px; padding: 25px; }

/* NOTICES/EVENTS/GALLERY */
.scroll-box { max-height: 200px; overflow-y: auto; border-left: 5px solid var(--gold); }
.convention-card { border: 2px solid var(--orange); text-align: center; }
.btn-portal { background: var(--orange); color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; display: inline-block; margin-top: 10px; font-weight: bold; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 15px; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); transition: 0.4s; }
.gallery-item img:hover { transform: scale(1.05); border-color: var(--electric); }

.contact-flex { display: flex; gap: 30px; }
.btn-membership { background: var(--electric); color: white; padding: 12px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; }
.hero-section {
    /* 1. The image path */
    background-image: linear-gradient(rgba(0, 33, 71, 0.7), rgba(0, 33, 71, 0.7)), url('../assets/images/bk.png');
    
    /* 2. Positioning */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* 3. Spacing */
    padding: 100px 0; /* Adjust this to make the section taller or shorter */
}
/* Hero Section Container */
.hero-section {
    position: relative;
    height: 100vh; /* Adjust height as needed */
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

/* Base style for all slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Smooth 1.5s fade */
    z-index: 1;
}

/* The active slide becomes visible */
.hero-slide.active {
    opacity: 1;
}

/* Dark overlay for text contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust 0.5 for more/less darkness */
    z-index: 2;
}

/* Content Container - must be above the slides and overlay */
.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* This targets the description text in the black section */
.authors-section p {
    color: skyblue; /* pure white */
    opacity: 0.9;   /* makes it slightly softer/more professional */
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}