@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #1a2b47;
    --accent: #7294c1;
    color: #3a2426;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #3a2426;
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 8px;
}

.logo span {
    color: #a98d4e;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #3a2426;
    font-weight: 500;
    transition: color 0.3s, transform 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #a98d4e;
    transform: scale(1.02);
}

/* Hamburger Menu */
#menu-toggle {
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
    color: #3a2426;
    transition: color 0.3s;
}

#menu-toggle:hover {
    color: #a98d4e;
}

/* Responsive Design - Keep nav-links visible */
@media (max-width: 768px) {
    nav {
        justify-content: space-between;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 5px 0;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo {
        margin-bottom: 5px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-between;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    text-align: left;
    position: relative;
    max-width: 700px;
    width: 90%;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 20px;
}

#close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}

/* Newspaper-style modifications */
.image-text-wrap {
    overflow: hidden;
}

.image-text-wrap .float-image {
    float: left;
    max-width: 40%;
    margin: 0 20px 10px 0;
    border: 1px solid #e0e0e0;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 580px) {
    .image-text-wrap .float-image {
        float: none;
        display: block;
        max-width: 100%;
        margin: 0 auto 20px;
    }
}

.image-text-wrap p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
    font-size: 16px;
    color: #333;
    text-indent: 20px;
}

.modal-content h2 {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
    align-items: center;
    text-align: center;
    padding-bottom: 10px;
    color: #3a2426;
}