/* Base Styles & Variables */
:root {
    --primary-color: #c8342b; /* Peruvian red */
    --secondary-color: #f5b849; /* Golden yellow */
    --accent-color: #1e7474; /* Turquoise */
    --dark-color: #33211d; /* Dark brown */
    --light-color: #f9f5eb; /* Cream */
    --text-color: #333333;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #a82c24;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Header / Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.btn-contacto {
    padding: 8px 18px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
}

.btn-contacto:hover {
    background-color: #a82c24;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 80px;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 64px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-family: var(--font-secondary);
    font-size: 82px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: var(--secondary-color);
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Poesia Section */
.poesia {
    padding: 80px 0;
}

.poesia-content {
    display: flex;
    gap: 40px;
}

.poesia-text {
    flex: 1;
}

.poesia-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poesia-text h3 {
    font-family: var(--font-secondary);
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.poesia-text p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.poesia-topics {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.topic {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.topic:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.topic h4 {
    font-size: 18px;
    color: var(--primary-color);
}

.poesia-samples {
    margin-top: 40px;
}

.sample-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-sample {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-sample:hover {
    background-color: #e0a73f;
    transform: translateY(-3px);
}

/* Bio Section */
.bio {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.bio-content {
    display: flex;
    gap: 40px;
}

.bio-image {
    flex: 1;
}

.bio-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bio-text {
    flex: 1;
}

.bio-text h3 {
    font-family: var(--font-secondary);
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.bio-text p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.bio-timeline {
    margin-top: 40px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5px;
    width: 1px;
    height: calc(100% + 20px);
    background-color: #ddd;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Tienda Section */
.tienda {
    padding: 80px 0;
}

.tienda-content {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.product {
    flex: 0 0 calc(50% - 30px);
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 25px;
    text-align: center;
}

.product-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 20px;
}

/* Contacto Breve Section */
.contacto-breve {
    padding: 60px 0;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
}

.contacto-breve h2 {
    font-family: var(--font-secondary);
    font-size: 32px;
    margin-bottom: 20px;
}

.contacto-breve p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    padding: 50px 0 20px;
    background-color: #222;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #999;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Media Queries */
@media (max-width: 992px) {
    .poesia-content, .bio-content {
        flex-direction: column;
    }
    
    .poesia-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .tienda-content {
        flex-wrap: wrap;
    }
    
    .product {
        flex: 0 0 100%;
    }
    
    /* Video background adjustments for tablets */
    .video-background video {
        height: 100%;
        width: auto;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .hero h2 {
        font-size: 56px;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav.active ul {
        display: flex;
    }
    
    .language-switch {
        margin-left: auto;
        margin-right: 20px;
    }
    
    .language-label {
        font-size: 11px;
    }
    
    /* Video background adjustments for mobile */
    .video-background {
        height: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero h2 {
        font-size: 46px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .language-switch {
        margin-right: 10px;
    }
    
    .language-label {
        font-size: 10px;
    }
    
    .lang-btn {
        padding: 5px;
        font-size: 12px;
    }
    
    /* Additional video adjustments for small devices */
    .video-background video {
        min-height: 100%;
    }
}

/* Language Switch */
.language-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.language-label {
    font-size: 12px;
    margin-bottom: 5px;
    color: var(--text-color);
    font-weight: 500;
}

.language-switch .buttons-container {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px 8px;
    transition: var(--transition);
    opacity: 0.6;
}

.lang-btn.active {
    opacity: 1;
    color: var(--primary-color);
}

.lang-btn:hover {
    opacity: 1;
}

.lang-separator {
    margin: 0 5px;
    color: #ccc;
}

/* Video Play Button (for devices that block autoplay) */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-button i {
    font-size: 32px;
    color: white;
    margin-left: 5px; /* Slight offset for play icon */
}

.video-play-button:hover {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button:focus {
    outline: none;
} 