/* Global Styles */
:root {
    --primary-color: #a64d33;
    /* Terracotta */
    --bg-color: #ffffff;
    --text-color: #262626;
    --muted-color: #666666;
    --footer-bg: #6F8F7A;
    /* Sage green */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Dancing Script', cursive;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.main-header {
    padding: 40px 0;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0 15px;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-link.active {
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

.logo {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-script {
    font-family: var(--font-script);
    font-size: 3.5rem;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-display);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.7;
}

.editorial-line {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: calc(100vh - 250px);
    overflow: hidden;
    margin-bottom: 60px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.slides-container {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /*filter: grayscale(100%);*/
}

.slide.active {
    opacity: 1;
}



.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.slide-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: white;
    width: 30px;
    border-radius: 5px;
}

/* Main Grid */
.main-grid {
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    gap: 60px;
    margin-bottom: 80px;
}

.grid-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: filter 0.5s;
    margin-bottom: 20px;
}



.grid-item h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 15px;
}

.grid-item p {
    color: var(--muted-color);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
    transition: opacity 0.3s;
}

.read-more:hover {
    opacity: 0.7;
}

/* Ventas Section */
.ventas-section {
    margin-bottom: 80px;
}

.ventas-banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: filter 0.5s;
}



.ventas-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
	
    background-color: #b8000082;
    padding: 40px;
    width: 80%;
}

.ventas-content h3 {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.ventas-content p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 600px;
    color: white;
}

.footer-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    transition: transform 0.3s;
}

.footer-social a:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-left,
    .nav-right {
        text-align: center;
    }

    .main-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
    }
}