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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    background-color: #fefefe;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

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

.logo {
    display: flex;
    align-items: center;
    
    border-radius: 8px; /* Ajusta el valor a tu gusto */
    overflow: hidden; /* Para que la imagen no se salga de las esquinas redondeadas */
}

.logo-img {
    width: 380px;                
    height: 40px;               
    /* border-radius: 50%; */   /* Esto se elimina o comenta */
    object-fit: cover;          
    background: linear-gradient(135deg, #d4c4b0, #c4b5a0);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #6b4e37;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8b7355;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c4b5a0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background: #4a4a4a;
    transition: 0.3s;
}
.puntos-venta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
  }
  
  .puntos-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
  }
  
  .puntos-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  .puntos-lista li {
    margin: 0.5rem 0;
  }
  

/* Hero Section */
.hero {
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #faf9f7 0%, #f5f3f0 100%);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #6b4e37;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #8b7d6b;
    margin-bottom: 24px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: #6b6b6b;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: #c4b5a0;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 181, 160, 0.3);
}

.cta-button:hover {
    background: #b8a994;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 181, 160, 0.4);
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #6b4e37;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
}

/* About Section */
.about {
    background: #fefefe;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 40px;
}

.about-description p {
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5a5a5a;
}

.about-image {
    text-align: center;
}

.about-photo {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-photo:hover {
    transform: scale(1.05);
}

.book-logo {
    width: 120px;       /* ajusta el tamaño del logo */
    height: auto;
    display: block;     /* permite centrarlo */
    margin: 20px auto 0 auto;  /* 20px de espacio arriba y centrado */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.book-logo:hover {
    transform: scale(1.1); /* efecto zoom suave */
}
/* Books Section */
.books {
    background: #f8f6f3;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.book-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.book-cover {
    height: 250px;
    overflow: hidden;
}

.book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-image {
    transform: scale(1.1);
}

.book-info {
    padding: 30px;
}

.book-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #6b4e37;
    margin-bottom: 8px;
    font-weight: 600;
}

.book-year {
    color: #8b7d6b;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.book-description {
    line-height: 1.7;
    color: #5a5a5a;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: #fefefe;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.contact-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a5a5a;
    margin-bottom: 40px;
}

.contact-details {
    space-y: 20px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: #6b4e37;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-value {
    color: #5a5a5a;
    font-size: 1rem;
}

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

.social-link {
    color: #8b7355;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #c4b5a0;
}

/* Form */
.contact-form {
    background: #f8f6f3;
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #6b4e37;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e2d8;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #c4b5a0;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: #c4b5a0;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background: #b8a994;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #6b4e37;
    color: #d4c4b0;
    padding: 40px 0;
    text-align: center;
}

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

.footer-text {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #d4c4b0;
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1001;
    min-width: 300px;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.close-message {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info .section-title {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .success-message {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 15px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .book-card {
        margin: 0 10px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}