/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Paleta de colores Patagonia */
:root {
    /* Colores principales */
    --amarillo-miel: #F7D794;
    --ambar-dorado: #E6B800;
    --ambar-oscuro: #D4A200;
    
    /* Tonos naranjas */
    --naranja-atardecer: #FF8C42;
    --naranja-suave: #FFB366;
    --naranja-intenso: #E67E22;
    --naranja-claro: #FDE2A7;
    
    /* Verdes de los prados */
    --verde-prado: #7FB069;
    --verde-claro: #A8D5A8;
    --verde-oscuro: #5A8C3A;
    
    /* Azules de lagos y cielos */
    --azul-lago: #5DADE2;
    --azul-cielo: #85C1E9;
    --azul-profundo: #3498DB;
    
    /* Neutros naturales */
    --beige-natural: #F5F2E8;
    --marron-tierra: #8B7355;
    --gris-piedra: #95A5A6;
    --blanco-nieve: #FEFEFE;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #6A432E;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(106, 67, 46, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
}

.logo-img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--amarillo-miel);
    box-shadow: 0 4px 15px rgba(247, 215, 148, 0.4);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Dancing Script', cursive;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.nav-menu a:hover {
    color: var(--amarillo-miel);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--naranja-claro) 0%, var(--amarillo-miel) 30%, var(--naranja-suave) 70%, var(--azul-cielo) 100%);
    padding: 120px 20px 0;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 2rem;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

.hero-content p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem !important;
    color: #888 !important;
    margin-bottom: 2rem !important;
}

.cta-button {
    display: inline-block;
    background: var(--verde-prado);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-button:hover {
    background: var(--verde-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 176, 105, 0.4);
}

.hero-image {
    flex: 1;
    text-align: center;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--verde-claro);
}

.section h2 {
    text-align: center;
    font-size: 3rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
    font-family: 'Dancing Script', cursive;
}

/* Quiénes Somos */
#quienes-somos {
    background-color: #F2E6D5;
    padding-top: 130px;
}

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

.mascot-container {
    float: left;
    margin: 0 20px 20px 0;
}

.mascot-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--naranja-atardecer);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.2);
    transition: transform 0.3s ease;
}

.mascot-img:hover {
    transform: scale(1.05);
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

.image-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .image-gallery {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 15px 15px;
    font-weight: 500;
}

/* Variedades */
.varieties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 640px) {
    .varieties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.variety-card {
    background: var(--blanco-nieve);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--naranja-suave);
}

.variety-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.variety-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.variety-card img:hover {
    transform: scale(1.05);
}

.variety-card h3 {
    font-size: 1.5rem;
    color: var(--naranja-intenso);
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.variety-card p {
    color: #666;
    line-height: 1.6;
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-form {
    background: var(--blanco-nieve);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--azul-cielo);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-lago);
}

.submit-button {
    width: 100%;
    background: var(--azul-lago);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.submit-button:active {
    transform: scale(0.98);
}

.submit-button:hover {
    background: var(--azul-profundo);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    background: var(--blanco-nieve);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--naranja-atardecer);
}

.contact-method h4 {
    color: var(--naranja-intenso);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #25D366;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25D366;
    transform: translateY(-2px);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

.instagram-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E4405F;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 0.1);
    border-color: #E4405F;
    transform: translateY(-2px);
}

.instagram-icon {
    font-size: 1.5rem;
}

.contact-method a {
    color: #333;
    text-decoration: none;
}

.contact-method a:hover {
    color: var(--naranja-atardecer);
}

.map-container {
    margin: 1rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.address-info {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--naranja-claro);
    border-radius: 8px;
    border-left: 4px solid var(--naranja-atardecer);
}

.address-info p {
    margin: 0.3rem 0;
    color: var(--marron-tierra);
    line-height: 1.4;
}

.address-info p strong {
    color: var(--naranja-intenso);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #1C1C1C;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--amarillo-miel);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #999;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    color: var(--amarillo-miel);
    text-decoration: none;
    padding: 8px 15px;
    border: 2px solid var(--amarillo-miel);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background: var(--amarillo-miel);
    color: var(--marron-tierra);
}

/* Responsive Design */
/* Breakpoint para tablets grandes */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .varieties-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Breakpoint para tablets */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 120px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background: #6A432E;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 10px 20px;
        border-radius: 5px;
        transition: background 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 20px 40px;
        min-height: 80vh;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mascot-container {
        float: none;
        text-align: center;
        margin: 0 0 20px 0;
    }
    
    .mascot-img {
        width: 120px;
        height: 120px;
    }
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .varieties-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .logo {
        gap: 10px;
        max-width: 70%;
    }
    
    .logo-text {
        min-width: 0;
        flex-shrink: 1;
    }
    
    .logo-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .logo-text span {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .nav-container {
        height: 100px;
        gap: 5px;
    }
    
    .logo-img {
        height: 65px;
        width: 65px;
        flex-shrink: 0;
    }
}

/* Breakpoint para móviles */
@media (max-width: 480px) {
    .hero {
        padding: 130px 15px 30px;
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 90px;
        gap: 5px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo {
        gap: 8px;
        max-width: 65%;
    }
    
    .logo-img {
        height: 55px;
        width: 55px;
        flex-shrink: 0;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
        line-height: 1;
    }
    
    .logo-text span {
        font-size: 1rem;
        line-height: 1.1;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .variety-card,
    .contact-form,
    .contact-method {
        padding: 1.5rem;
    }
    
    .text-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .variety-card img {
        height: 180px;
    }
    
    .contact-grid {
        gap: 2rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Previene zoom en iOS */
    }
    
    .submit-button {
        padding: 16px;
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .whatsapp-link,
    .instagram-link {
        font-size: 1.1rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
}

/* Breakpoint para móviles muy pequeños */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .variety-card,
    .contact-form,
    .contact-method {
        padding: 1rem;
    }
    
    .logo {
        gap: 5px;
        max-width: 60%;
    }
    
    .nav-container {
        height: 80px;
        gap: 5px;
    }
    
    .logo-img {
        height: 45px;
        width: 45px;
        flex-shrink: 0;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
        line-height: 0.9;
    }
    
    .logo-text span {
        font-size: 0.8rem;
        line-height: 1;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.variety-card,
.gallery-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}