/* styles.css */

/* Color Palette */
/* Main Blue: #1A4B8A */
/* Light Blue: #6C7F99 */
/* Dark Blue: #889FBA */
/* Main Background: #EEF7FA */
/* Accent Gray: #808C91 */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Playfair+Display:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,800;0,900;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid&display=swap');

/* Variables */
:root {
    --main-blue: #1A4B8A;  /* Main blue */
    --lt-blue: #6C7F99;    /* Light blue for accents */
    --dark-blue: #889FBA;  /* Darker blue for hover states */
    --main-bg: #EEF7FA;    /* Background color */
    --accent-gray: #808C91; /* Accent gray */
}

/* Base styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--main-bg);
    background-image: url(images/greek-pattern.jpg);
    background-size: cover;
    padding-bottom: 60px; /* Add padding to the bottom to prevent content from overlapping the footer */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Header and Navigation */
header {
    background-color: var(--main-blue);  /* Change to match footer */
    color: white;
    padding: 10px 0;
    text-align: center;
    font-family: 'Playfair Display', serif; /* Use a different font for the header */
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed; /* Change to fixed to accommodate logo */
    left: 0;
    right: 0;
    top: 0;
    width: 100vw;
}

nav {
    background-color: var(--main-blue);  /* Change to match footer */
    overflow: hidden;
    text-align: center; /* Center the links on mobile */
    font-family: 'Nunito', sans-serif; /* Apply Nunito font to nav */
}

nav a {
    display: inline-block; /* Change to inline-block for desktop */
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    width: auto; /* Remove full width */
    font-weight: bold; /* Make the links bold */
}

nav a:hover {
    background-color: var(--dark-blue);  /* Update hover color to match theme */
    color: white; /* Keep text color white */
}

/* Section styles */
section {
    min-height: 100vh; /* Change from fixed height */
    height: auto;
    width: 100%;
    max-width: 100%; /* Remove any width restriction */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 70px 20px; /* Adjust padding to account for header */
    margin: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

section#menu, section#about {
    width: 100%;
    max-width: 100%; /* Allow full width */
    margin: 0 auto;
    padding: 0 15px;
}

section#about {
    max-width: fit-content;
}

section#menu {
    background-color: #ffffff; /* Change back to white */
    padding: 80px 0;
}

.menu-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin: 30px auto; /* Add more space between items */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    text-align: center;
}

section#about {
    background-color: var(--main-blue);
    color: white;
}

section#about h1, section#about p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

section#contact {
    background-color: #ffffff; /* Change background to white */
    padding: 80px 0;
}

/* Container styles */
.container {
    width: 100%;
    max-width: 1600px; /* Increase max-width for wider content */
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.page-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-height: fit-content;
}

/* Logo container styles */
.logo-container {
    position: absolute;
    top: 10px;
    left: 10px;
}

.logo {
    width: 150px;
    height: auto;
    border-radius: 50%; /* Make the logo round */
}

/* Fullscreen image styles */
.fullscreen-image {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.fullscreen-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.image-content {
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 20px;
    background-color: transparent; /* Remove background overlay */
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Change from center to flex-start */
    align-items: center;
    padding-top: 100px; /* Increase padding to move content below nav bar */
}

.image-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-content .content {
    background-color: rgba(26, 75, 138, 0.45); /* Reduced opacity from 0.65 to 0.45 */
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(3px); /* Reduced blur for better background visibility */
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-content h1 {
    color: white;
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 4px 4px var(--lt-blue);
}

.image-content p {
    margin: 15px 0;
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 1); /* Made text fully opaque for better readability */
    font-family: 'Roboto', sans-serif;
}

/* Button styles */
.image-content button, section button {
    background-color: var(--main-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.45rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px; /* Add some margin to separate it from other content */
    font-family: 'Londrina Solid' !important;
    transition: background-color 0.3s ease;
}

.image-content button:hover, section button:hover {
    background-color: var(--dark-blue);
}

/* Title styles */
h2.title {
    font-size: 4.25rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 4px 4px var(--lt-blue);
    font-family: 'Nunito', sans-serif;
}

/* Menu styles */
.menu-items {
    width: 100%;
    max-width: 1200px; /* Increase from 800px */
    margin: 0 auto;
}

/* Info section styles */
.oval {
    background-color: var(--main-blue);
    border-radius: 35px;
    color: #fff;
    font-weight: 600;
    padding: 3% min(15px, 8%);
    text-transform: uppercase;
    font-size: 1.6rem;
    max-width: 300px;
    margin-bottom: 6px;
}

#contact p {
    font-size: 20px;
    line-height: 30px;
    margin: 0 16px 24px;
}

.text-left {
    text-align: left !important;
}

#contact .row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.map-container {
    flex: 1;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.info-content a {
    color: inherit;
    text-decoration: none;
    font-size: 20px;
    line-height: 30px;
}

.info-content a:hover {
    color: var(--dark-blue);
}

/* Hours container styles */
.hours-container {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    align-items: center;
    text-align: left;
    max-width: 300px;
}

.hours-container .day {
    font-weight: bold;
    color: var(--main-blue);
}

.hours-container .time {
    text-align: right;
}

/* Footer styles */
footer {
    background-color: var(--main-blue);
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    max-width: 1600px; /* Match new container max-width */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Nunito', sans-serif;
    z-index: 10;
    display: none;
    overflow: hidden;
}

/* Hamburger menu styles */
.hamburger {
    display: none; /* Hidden by default, shown in mobile */
}

/* Menu container styles */
.menu-container {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.view-menu-btn {
    background-color: var(--main-blue);
    color: white;
    padding: 20px 40px;
    font-size: 1.8rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Londrina Solid', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.view-menu-btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.menu-note {
    margin-top: 15px;
    color: var(--accent-gray);
    font-style: italic;
}

/* Responsive styles */
@media (max-width: 768px) {
    section {
        min-height: 100vh; /* Change from fixed height to min-height */
        height: auto;
        padding: 80px 15px; /* Increase top padding to account for header */
    }

    h2.title {
        font-size: 2.5rem; /* Smaller font size on mobile */
        margin-bottom: 20px;
    }

    #contact .row {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .map-container {
        width: 100%;
        margin-bottom: 30px;
        min-height: 300px; /* Slightly smaller map on mobile */
    }

    .info-content {
        width: 100%;
        padding: 0;
        text-align: center;
        align-items: center;
    }

    .info-content a {
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
        display: block;
        width: 100%;
    }

    .oval {
        width: 100%;
        max-width: none;
        text-align: center;
        padding: 10px;
        font-size: 1.2rem;
    }

    #contact p {
        margin: 10px 0 20px;
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
    }

    nav a {
        display: block; /* Stack links vertically on mobile */
        width: 100%; /* Full width on mobile */
        padding: 10px 12px; /* Reduce padding for more compact links */
        font-size: 0.9em; /* Reduce font size for more compact links */
    }

    .menu-item {
        margin: 15px;
        padding: 15px;
    }

    .image-content {
        padding-top: 80px; /* Adjust for fixed header */
    }

    .container {
        padding: 0 10px;
    }

    .hours-container {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        text-align: center;
    }

    footer {
        max-width: 100%; /* Full width on mobile */
        left: 0;
        transform: none;
    }

    .image-content .content {
        padding: 25px;
        margin: 0 15px;
    }

    .image-content h1 {
        font-size: 2.5rem;
    }

    section {
        min-height: 100vh;
        height: auto;
        padding-top: 80px; /* Reduced from 120px */
    }

    .image-content {
        padding-top: 80px; /* Match section padding */
    }

    header {
        height: auto;
        min-height: 60px;
        padding: 10px 0;
        position: fixed;
    }

    nav {
        display: none; /* Start hidden */
        padding: 10px 0;
    }

    nav.active {
        display: block;
    }

    nav a {
        display: block;
        padding: 12px 0;
        font-size: 1.1em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav a:last-child {
        border-bottom: none;
    }

    .logo-container {
        top: 15px;
    }

    .hamburger {
        display: block;
        position: fixed;
        right: 20px;
        top: 15px;
        z-index: 1001;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 10px;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Additional mobile optimization for very small screens */
@media (max-width: 480px) {
    h2.title {
        font-size: 2rem;
    }

    .image-content {
        padding: 70px 10px 20px;
    }

    .image-content p {
        font-size: 1rem;
    }
}