/* ========================================
   CSS Reset & Base Styles
   ======================================== */

/* Gilroy Font Face Declarations */
@font-face {
    font-family: 'Gilroy';
    src: url('../assets/fonts/Gilroy/gilroy-regular-webfont.woff2') format('woff2'),
         url('../assets/fonts/Gilroy/gilroy-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../assets/fonts/Gilroy/gilroy-medium-webfont.woff2') format('woff2'),
         url('../assets/fonts/Gilroy/gilroy-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../assets/fonts/Gilroy/gilroy-semibold-webfont.woff2') format('woff2'),
         url('../assets/fonts/Gilroy/gilroy-semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../assets/fonts/Gilroy/gilroy-bold-webfont.woff2') format('woff2'),
         url('../assets/fonts/Gilroy/gilroy-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #302620;
    --secondary-color: #382D26;
    --accent-color: #BEA98E;
    --accent-dark: #988772;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    --bg-overlay: rgba(48, 38, 32, 0.85);
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Gilroy', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Notification Strip
   ======================================== */
.notification-strip {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-bottom: 2px solid var(--accent-color);
}

.notification-content {
    display: inline-flex;
    white-space: nowrap;
    animation: scroll 180s linear infinite;
    will-change: transform;
}

.notification-text {
    padding: 0 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--accent-color);
}

.notification-text .date-separator {
    margin: 0 20px;
}

.notification-text .status-open {
    color: #28a745;
}

.notification-text .status-closed {
    color: #dc3545;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   Header
   ======================================== */
.header {
    background: var(--accent-color);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* Header scrolled state */
.header.scrolled {
    background: var(--primary-color);
    border-bottom: 1px solid var(--accent-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-image {
    height: 50px;
    width: auto;
    vertical-align: middle;
}

.logo-white {
    display: none;
}

.header.scrolled .logo-black {
    display: none;
}

.header.scrolled .logo-white {
    display: block;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo a:hover .logo-text {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease, font-weight 0.2s ease;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--primary-color);
    font-weight: 600;
}

.header.scrolled .nav-link {
    color: var(--text-light);
}

.header.scrolled .nav-link:hover {
    color: var(--text-light);
    font-weight: 600;
}


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    /* WebP first, JPEG fallback - modern browsers will use WebP automatically */
    background-image: url('../assets/hero-bg.jpg/freepik__enhance__92160.webp'), url('../assets/hero-bg.jpg/freepik__enhance__92160.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4.95rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subheading {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 120px;
    letter-spacing: 1px;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-content .btn {
    margin: 0 10px;
    display: inline-block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 10px 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-light);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================================
   PDF Section
   ======================================== */
.pdf-section {
    padding: 80px 0;
    background: #ffffff;
}

.pdf-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem;
    color: #000000;
    max-width: 600px;
    margin: 0 auto;
}

.pdf-tile-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.pdf-tile {
    display: block;
    background: var(--text-light);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
    max-width: 300px;
    width: 100%;
}

.pdf-tile .pdf-preview-wrapper {
    border-radius: 0;
}


.pdf-preview-wrapper {
    position: relative;
    width: 100%;
    background: #f5f5f5;
    overflow: hidden;
}

.pdf-cover-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.pdf-tile-title {
    padding: 20px;
    text-align: center;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.03em;
    border: 1px solid #000000;
    border-radius: 0;
}

.pdf-tile-notice {
    text-align: center;
    color: #999999;
    font-size: 0.9rem;
    margin-top: 20px;
    font-weight: 500;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 60px;
    width: auto;
}

.footer-section h3.footer-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: 600;
}

.footer-description {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-address {
    font-style: normal;
    line-height: 1.6;
    opacity: 0.9;
    color: var(--text-light);
}

.footer-address p {
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.social-link {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover,
.social-link:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
    color: var(--text-light);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.85rem;
        margin-bottom: 25px;
    }
    
    .hero-subheading {
        font-size: 0.85rem;
        margin-bottom: 80px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--text-light);
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 300px;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3.08rem;
        margin-bottom: 20px;
    }
    
    .hero-subheading {
        font-size: 0.8rem;
        margin-bottom: 60px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-content .btn {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .notification-text {
        font-size: 12px;
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.42rem;
        margin-bottom: 15px;
    }
    
    .hero-subheading {
        font-size: 0.75rem;
        margin-bottom: 40px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .pdf-tile-title {
        font-size: 1rem;
        padding: 15px;
    }
}

