:root {
    --bg-secondary: #E0D5B5;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #4A4A4A;
    background-color: #F8F5EF;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid #E0DED7;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    color: #8B4513;
    transform: rotate(45deg);
}

.logo h1 {
    font-size: 24px;
    margin: 0;
    color: #4A4A4A;
    font-weight: 500;
}

.logo .light-text {
    font-weight: 400;
    color: #8B4513;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #4A4A4A;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #8B4513;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-main .hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://via.placeholder.com/1400x600/555555/FFFFFF?text=Main+Hero+Image');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-overlay {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 8px;
    text-align: right;
    width: 40%;
    box-sizing: border-box;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #8B4513;
    color: #fff;
}

.btn-primary:hover {
    background-color: #A0522D;
}

.btn-secondary {
    background-color: #D2B48C;
    color: #4A4A4A;
}

.btn-secondary:hover {
    background-color: #C09B73;
}


.content-section {
    display: flex;
    align-items: stretch;
    min-height: 450px;
    border-bottom: 1px solid #E0DED7;
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-text, .content-image {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-text {
    background-color: #F8F5EF;
    box-sizing: border-box;
}

.content-image {
    background-color: #A09A91;
    position: relative;
}

.content-section:nth-of-type(2) .content-image {
    background-image: url('https://via.placeholder.com/700x450/777777/FFFFFF?text=Image+1');
    background-size: cover;
    background-position: center;
}

.content-section:nth-of-type(3) .content-image {
    background-image: url('https://via.placeholder.com/700x450/888888/FFFFFF?text=Image+2');
    background-size: cover;
    background-position: center;
}

.content-section:nth-of-type(4) .content-image {
    background-image: url('https://via.placeholder.com/700x450/999999/FFFFFF?text=Image+3');
    background-size: cover;
    background-position: center;
}

.content-section:nth-of-type(5) .content-image {
    background-image: url('https://via.placeholder.com/700x450/AAAAAA/FFFFFF?text=Image+4');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-text-overlay {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 8px;
    max-width: 80%;
}

.image-text-overlay p {
    font-size: 1.5em;
    font-style: italic;
    color: #4A4A4A;
    margin: 0;
}


.content-text h2 {
    font-size: 2.2em;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 20px;
    line-height: 1.2;
}

.content-text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.left-align {
    text-align: left;
}

.right-align {
    text-align: right;
}

.content-section.reversed {
    flex-direction: row-reverse;
}

footer {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 30px 0;
    background-color: var(--bg-secondary);
    color: #4A4A4A;
    font-size: 1.1em;
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info svg {
    margin-right: 10px;
    color: #8B4513;
}


@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
        text-align: center;
    }

    .logo {
        margin-bottom: 15px;
        justify-content: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li {
        margin-left: 0;
    }

    .hero-section {
        height: 400px;
    }

    .hero-main .hero-image-container {
        justify-content: center;
        padding-right: 0;
        align-items: flex-end;
        padding-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .content-section {
        flex-direction: column;
        min-height: auto;
    }

    .content-section.reversed {
        flex-direction: column;
    }

    .content-text, .content-image {
        padding: 20px;
        text-align: center;
    }

    .content-text h2 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .content-text p {
        font-size: 1em;
    }

    .image-text-overlay {
        padding: 20px;
        max-width: 90%;
    }

    .image-text-overlay p {
        font-size: 1.2em;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .contact-info {
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    header {
        padding: 20px 30px;
    }

    .logo h1 {
        font-size: 22px;
    }

    nav ul li {
        margin-left: 20px;
    }

    .hero-section {
        height: 500px;
    }

    .hero-main .hero-image-container {
        padding-right: 5%;
    }

    .hero-image-overlay {
        width: 50%;
        padding: 30px;
    }

    .content-text, .content-image {
        padding: 30px;
    }

    .content-text h2 {
        font-size: 2em;
    }

    .content-text p {
        font-size: 1.05em;
    }

    .image-text-overlay p {
        font-size: 1.3em;
    }

    footer {
        gap: 30px;
        padding: 25px 0;
    }
}