/* Font declarations */
@font-face {
    font-family: 'Bodoni 72 Smallcaps';
    src: local('Bodoni 72 Smallcaps');
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #575757;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: 'Bodoni 72 Smallcaps', 'Georgia', serif;
    color: #575757;
}

/* Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid rgba(166, 42, 23, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-logo {
    width: 40px;
    height: auto;
}

.logo {
    font-size: 1.8rem;
    color: #A62A17;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: #575757;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: #A62A17;
}

/* Main content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 300px);
}

/* Section common styles */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* About Section */
.about-section {
    background-color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
}

.winery-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.winery-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #A62A17;
    letter-spacing: 1px;
}

.winery-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.winery-text p:last-child {
    margin-bottom: 0;
}

.winery-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.emblem {
    width: 300px;
    height: auto;
    transition: transform 0.3s ease;
}

.emblem:hover {
    transform: scale(1.05);
}

/* Wine Section */
.wine-section {
    padding: 2rem 0;
}

.wine-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.wine-presentation {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.wine-image-container {
    text-align: center;
}

.wine-image {
    width: 300px;
    height: auto;
    transition: transform 0.3s ease;
    border: 1px solid black;
}

.wine-image:hover {
    transform: scale(1.02);
}

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

.wine-details h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #A62A17;
}

.wine-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.tasting-notes {
    background-color: rgba(166, 42, 23, 0.05);
    padding: 2rem;
    border-left: 3px solid #A62A17;
}

.tasting-notes h4 {
    color: #A62A17;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.tasting-notes p {
    line-height: 1.8;
    font-style: italic;
}

/* Contact section */
.contact-section {
    background-color: #fff;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    letter-spacing: 1px;
    color: #A62A17;
}

.contact-section a {
    margin-bottom: 2rem;
    color: #A62A17;
}

.contact-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: #fff;
    border-top: 1px solid rgba(166, 42, 23, 0.2);
    padding: 4rem 2rem 2rem;
}

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

.footer-section h4 {
    color: #A62A17;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-section p {
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(166, 42, 23, 0.2);
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 968px) {
    .winery-intro,
    .wine-presentation {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .winery-text,
    .wine-details {
        text-align: center;
    }

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

@media (max-width: 768px) {
    header {
        position: sticky;
    }

    main {
        margin-top: 0;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .wine-image,
    .emblem {
        width: 250px;
    }
    
    .section-content {
        padding: 3rem 1.5rem;
    }
}
