/* Variáveis de cores baseadas no logo */
:root {
    --primary-color: #091736; /* Azul escuro */
    --secondary-color: #3498db; /* Azul médio */
    --accent-color: #e74c3c; /* Vermelho */
    --light-color: #ecf0f1; /* Branco gelo */
    --dark-color: #2c3e50; /* Azul escuro */
    --text-color: #333;
    --text-light: #7f8c8d;
    --gold-accent: #f1a900; /* Dourado do logo */
}
:root {
    --primary-color: #1a4d8c;
    --secondary-color: #f8b400;
    --accent-color: #4f8a8b;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --text-color: #444;
    --white: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

/* Header */
.main-header {
    background-color: var(--primary-color);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 80px;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.logo-text h1 {
    font-family: 'Poppins', serif;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.logo-text p {
    color: var(--light-color);
    font-size: 0.8rem;
    opacity: 0.9;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--gold-accent);
}

.main-nav a.active:after,
.main-nav a:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}


.main-content {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
    padding: 2rem;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.hero-content {
    display: flex;
    align-items: center;
    padding: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--white);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.coming-soon-section {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.coming-soon-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.countdown-item {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 100px;
    text-align: center;
}

.countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.books-section {
    margin-bottom: 3rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.book-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.book-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.book-info {
    padding: 1.5rem;
}

.book-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.book-author {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.book-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.book-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.book-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.book-button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.book-button:hover {
    background-color: var(--accent-color);
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.newsletter-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--white);
}

.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo img {
    width: 60px;
    height: auto;
}

.footer-links h3, 
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .logo-text p{
        display: none;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .hero-text {
        margin-bottom: 2rem;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1rem;
        transition: var(--transition);
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-bottom: 1rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: 30px;
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .countdown-item span:first-child {
        font-size: 2rem;
    }
}