/* styles.css - Main stylesheet for FES Publishers */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== COLOR SCHEME (Homepage Colors) ===== */
:root {
    --deep-navy: #0B1E33;      /* main background */
    --golden: #FACA0B;          /* primary accent */
    --teal-bright: #2AA3B8;     /* secondary accent */
    --pure-white: #FFFFFF;
    --off-white: #F4F7FB;
    --text-dark: #1E2A3A;
    --light-grey: #e9ecf0;
    --gradient-navy: linear-gradient(135deg, #0B1E33, #1a2f44);
    --gradient-golden: linear-gradient(135deg, #FACA0B, #e0b509);
    --gradient-teal: linear-gradient(135deg, #2AA3B8, #1e7f8f);
}

body {
    background-color: var(--deep-navy);
    color: var(--pure-white);
    line-height: 1.5;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.golden-text {
    color: var(--golden);
}

.teal-text {
    color: var(--teal-bright);
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    background-color: var(--golden);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-navy);
    font-size: 20px;
    font-weight: 700;
}

.brand-text {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: var(--pure-white);
}

.brand-text span {
    color: var(--golden);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 30px;
    transition: all 0.2s;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropbtn i {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

.dropbtn:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--golden);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--pure-white);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    margin-top: 5px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown-content a i {
    width: 20px;
    color: var(--teal-bright);
    font-size: 1rem;
}

.dropdown-content a:hover {
    background-color: var(--off-white);
    color: var(--deep-navy);
    padding-left: 22px;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Regular nav items */
.nav-item {
    color: var(--pure-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 30px;
    transition: all 0.2s;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-item:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--golden);
}

.nav-item.digital {
    background-color: rgba(42, 163, 184, 0.15);
    border: 1px solid rgba(42, 163, 184, 0.3);
}

.nav-item.digital:hover {
    background-color: var(--teal-bright);
    color: white;
}

.chat-btn {
    background-color: var(--golden);
    color: var(--deep-navy) !important;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 5px;
}

.chat-btn i {
    font-size: 1rem;
    color: var(--deep-navy);
}

.chat-btn:hover {
    background-color: #e0b509;
    transform: scale(1.02);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--golden);
    color: var(--deep-navy);
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: #e0b509;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(250, 202, 11, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--pure-white);
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    border: 2px solid var(--teal-bright);
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: var(--teal-bright);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 28px;
    color: var(--text-dark);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 35px 0 25px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: rgba(255,255,255,0.1);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 40px;
    margin-top: 15px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 202, 11, 0.3);
}

.breadcrumb a {
    color: var(--golden);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb span {
    color: var(--pure-white);
    font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .navbar {
        padding: 15px 0;
    }
    
    .dropbtn, .nav-item {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
        background: none;
        border: 1px solid rgba(255,255,255,0.2);
        color: white;
        font-size: 1.5rem;
        padding: 8px 15px;
        border-radius: 8px;
        cursor: pointer;
        order: 3;
    }

    .navbar {
        position: relative;
    }

    .logo-area {
        order: 1;
    }

    .chat-btn {
        order: 2;
        margin-left: auto;
        margin-right: 10px;
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .nav-menu {
        display: none;
        width: 100%;
        order: 4;
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--deep-navy);
        padding: 15px;
        border-radius: 16px;
        margin-top: 15px;
        border: 1px solid rgba(255,255,255,0.1);
        gap: 5px;
    }

    .nav-menu.show {
        display: flex;
    }

    .dropdown {
        width: 100%;
    }

    .dropbtn {
        width: 100%;
        justify-content: space-between;
        padding: 12px 15px;
        border-radius: 8px;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        margin-top: 0;
        margin-left: 15px;
        background-color: rgba(255,255,255,0.05);
        border: none;
    }

    .dropdown-content a {
        color: var(--pure-white);
        background-color: transparent;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-content a i {
        color: var(--golden);
    }

    .dropdown-content a:hover {
        background-color: rgba(255,255,255,0.1);
        color: var(--golden);
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .nav-item {
        width: 100%;
        padding: 12px 15px;
        border-radius: 8px;
        white-space: normal;
    }
}

@media screen and (max-width: 600px) {
    .chat-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .chat-btn i {
        display: none;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 400px) {
    .brand-text {
        display: none;
    }
    
    .logo-area {
        margin-right: auto;
    }
}