/* New CSS for main page - improved style with Ortigia image and consistent color palette */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #5a1a1a;
}

nav {
    background-color: #a83232;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    font-weight: bold;
}

nav a {
    color: #f0e6d2;
    text-decoration: none;
    margin: 0 20px;
    font-size: 1.2em;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

nav a:hover, nav a:focus {
    color: #d9b44a;
    background-color: #7a1f1f;
}

.hero {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('../css_main/Ortigia.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0e6d2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero h1 {
    font-size: 3.5em;
    margin: 0;
    padding: 0 20px;
    text-align: center;
}

.content-container {
    max-width: 900px;
    margin: 30px auto;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(90, 26, 26, 0.2);
    color: #5a1a1a;
}

.content-container h2 {
    color: #a83232;
    text-align: center;
    margin-bottom: 20px;
}

.contact-info {
    text-align: center;
    font-size: 1.2em;
    margin-top: 15px;
    color: #7a1f1f;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #f0e6d2;
    border-radius: 2px;
    transition: all 0.3s linear;
    position: relative;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
    position: relative;
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
    top: -8px;
    position: relative;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .hamburger {
        display: flex;
        margin-left: 20px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #a83232;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    nav {
        flex-direction: row;
        align-items: center;
        padding: 10px 0;
    }
    nav a {
        margin: 8px 0;
        font-size: 1em;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    .hero {
        height: 250px;
    }
    .hero h1 {
        font-size: 2em;
    }
    .content-container {
        margin: 15px;
        padding: 20px;
    }
}
