:root {
    --primary-color: #ffffff;
    --secondary-color: #333333;
    --text-color: #4a4a4a;
    --background-color: #f5f5f5;
    --accent-color: #e0e0e0;
    --light-accent: #666666;
    --dark-accent: #f9f9f9;
}

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

body {
    font-family: 'Georgia', serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding: 1rem 2rem;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    text-align: left;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.logo .subtitle {
    font-size: 1rem;
    color: var(--text-color);
}

/* Navigation Links */
.nav-links, 
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: flex-end;
}

.nav-links li a,
nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a::after,
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
nav ul li a:hover::after {
    width: 100%;
}

.nav-links li a:hover,
nav ul li a:hover {
    color: var(--secondary-color);
}

.nav-links li a.active,
nav ul li a.active {
    color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;  /* Hidden by default on desktop */
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1001;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('../images/pub-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
}

.hero-content {
    padding: 2rem;
    background-color: rgba(0,0,0,0.6);
    border: 2px solid var(--accent-color);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light-accent);
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-family: 'Times New Roman', serif;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--dark-accent);
}

.page-header h1 {
    color: var(--secondary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.story-section, 
.values-section, 
.features-section {
    margin-bottom: 3rem;
}

.values-grid, 
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item, 
.feature-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.value-item i, 
.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-item {
    margin-bottom: 2rem;
    text-align: center;
}

.info-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 3rem 2rem 1rem;
    border-top: 2px solid var(--accent-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section.social {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--light-accent);
    transition: color 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.social-icons a:hover {
    color: var(--secondary-color);
    text-decoration: none; /* Ensure no underline on hover */
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-color);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-in {
    animation: slideIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .menu-toggle {
        display: block;  /* Show on mobile */
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        display: none;  /* Hide menu items by default on mobile */
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        padding: 1rem;
    }
    
    .nav-links.active {
        left: 0;
        display: block;  /* Show when active class is added */
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 1rem 0;
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        background-attachment: scroll;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    /* Grid Layouts */
    .values-grid, 
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
}
