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

/* Body */
body {
    font-family: 'Courier New', 'Courier', monospace;
    background: #f5f0e8;
    color: #2c2c2c;
    line-height: 1.8;
}

.hero-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}
.hero-card {
    max-width: 700px;
    margin: 80px auto 60px;
    background: #fff;
    padding: 60px 50px;
    text-align: center;
    -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-underline {
    width: 300px;
    height: 3px;
    background: #1a1a1a;
    margin: 0 auto 30px;
}

.hero-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

/* Navigation */
nav {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 0;
    text-align: center;
    border-top: 2px dashed #ccc;
    border-bottom: 2px dashed #ccc;
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-links {
    display: block;
}

.nav-links a {
    display: inline-block;
    color: #2c2c2c;
    text-decoration: none;
    padding: 20px 25px;
    font-size: 0.95rem;
    border-right: 1px solid #e0e0e0;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}

.nav-links a:last-child {
    border-right: none;
}

.nav-links a:hover {
    background: #f9f9f9;
}

.mobile-menu-btn {
    display: none;
    background: #fff;
    border: 2px solid #2c2c2c;
    color: #2c2c2c;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

/* Section Wrapper */
.section-wrapper {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header a {
    color:#e65100;
    text-decoration: none;
    font-weight: 600;
}

.section-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-underline {
    width: 150px;
    height: 2px;
    background: #1a1a1a;
    margin: 20px auto;
}

.books-showcase {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.book-item {
    display: table;
    width: 100%;
    margin-bottom: 80px;
    background: #fff;
    padding: 50px;
    -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.book-item:after {
    content: "";
    display: table;
    clear: both;
}

.book-cover-container {
    width: 35%;
    float: left;
    padding-right: 50px;
}

.book-cover-img {
    width: 100%;
    height: auto;
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    -webkit-transition: transform 0.3s;
    transition: transform 0.3s;
}

.book-cover-img:hover {
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

.book-details {
    width: 65%;
    float: left;
}

.book-number {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.book-title-main {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.book-meta {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
    font-style: italic;
}

.book-description {
    font-family: Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    text-align: justify;
    margin-bottom: 25px;
}

.book-status {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
}

.book-status img {
    width:25px;
    height:auto;
    vertical-align: middle;
}

.book-status.available {
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #2e7d32;
}

.book-status.upcoming {
    background: #fff3e0;
    color: #e65100;
    border: 2px solid #e65100;
}

/* Livre à venir */
.book-item-upcoming {
    opacity: 0.9;
}

.upcoming-cover {
    background: #e8e0d5;
    padding: 60px 30px;
    text-align: center;
    min-height: 450px;
    display: table;
}

.upcoming-placeholder {
    display: table-cell;
    vertical-align: middle;
}

.upcoming-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #d0c4b0;
}

.upcoming-text {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about-section {
    background: #fff;
    padding: 80px 0;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-content:after {
    content: "";
    display: table;
    clear: both;
}

.about-image {
    width: 40%;
    float: left;
    padding-right: 60px;
}

.about-photo {
    width: 100%;
    height: 500px;
    background: #e8e0d5;
    display: table;
    text-align: center;
    -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-photo-icon img {
    width:100%;
    height:auto;
}

.about-text {
    width: 60%;
    float: left;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.9;
    font-family: Georgia, serif;
    text-align: justify;
}

.about-signature {
    margin-top: 40px;
    font-family: 'Brush Script MT', cursive;
    font-size: 2.5rem;
    color: #2c2c2c;
}

/* Stats Section */
.stats-section {
    background: #f9f7f4;
    padding: 60px 20px;
    border-top: 2px dashed #d0d0d0;
    border-bottom: 2px dashed #d0d0d0;
}

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
}

.stats-grid:after {
    content: "";
    display: table;
    clear: both;
}

.stat-item {
    width: 33.33%;
    float: left;
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    color: #2c2c2c;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}


/* Section Salons & Dédicaces */
.salons-section {
    background: #fff;
    padding: 80px 0;
}

.salons-gallery {
    display: table;
    width: 100%;
    margin-top: 40px;
}

.salons-gallery:after {
    content: "";
    display: table;
    clear: both;
}

.salon-item {
    width: 31.33%;
    float: left;
    margin-right: 3%;
    margin-bottom: 40px;
    background: #fafaf8;
    overflow: hidden;
    -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    -webkit-transition: transform 0.3s;
    transition: transform 0.3s;
}

.salon-item:nth-child(3n) {
    margin-right: 0;
}

.salon-item:hover {
    -webkit-transform: translateY(-8px);
    -moz-transform: translateY(-8px);
    -ms-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.salon-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #e8e0d5;
    position: relative;
}

.salon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: transform 0.5s;
    transition: transform 0.5s;
}

.salon-item:hover .salon-img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.salon-caption {
    padding: 25px;
    text-align: center;
}

.salon-caption h3 {
    font-size: 0.7rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 700;
}

.salon-caption p {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* Contact Section */
.contact-section {
    max-width: 700px;
    margin: 80px auto;
    background: #fff;
    padding: 60px 50px;
    text-align: center;
    -webkit-box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-grid:after {
    content: "";
    display: table;
    clear: both;
}

.contact-item {
    width: 100%;
    float: left;
    margin-right: 4%;
    padding: 30px;
    border: 2px solid #e0e0e0;
    margin-bottom: 20px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.contact-item:nth-child(2n) {
    margin-right: 0;
}

.contact-item:hover {
    border-color: #2c2c2c;
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1.1rem;
    color: #2c2c2c;
}

.contact-value a {
    color: #2c2c2c;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: #666;
}

.contact-item-social {
    width: 100% !important;
    margin-right: 0 !important;
}

.social-links-grid {
    display: table;
    width: 100%;
    margin-top: 20px;
}

.social-links-grid:after {
    content: "";
    display: table;
    clear: both;
}

.social-link {
    width: 48%;
    float: left;
    margin-right: 4%;
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    text-decoration: none;
    color: #2c2c2c;
    display: block;
    text-align: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.social-link:nth-child(2n) {
    margin-right: 0;
}

.social-link:hover {
    border-color: #2c2c2c;
    background: #fff;
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

.social-icon {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto 10px;
    color: #2c2c2c;
}

.social-link:hover .social-icon {
    color: #000;
}

.social-link span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.social-link:hover span {
    color: #000;
}

/* Footer */
footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 10px;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
    .book-cover-container {
        width: 40%;
    }
    
    .book-details {
        width: 60%;
    }
}

@media only screen and (max-width: 767px) {
    .book-item {
        padding: 30px 20px;
    }
    
    .book-cover-container,
    .book-details {
        width: 100%;
        float: none;
        padding-right: 0;
    }

    .book-status {
        padding: 10px 15px;
    }
    
    .book-cover-container {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .book-cover-img {
        max-width: 300px;
    }
    
    .book-title-main {
        font-size: 2rem;
    }

    .salon-item {
        width: 100%;
        margin-right: 0;
    }   
    
    .upcoming-cover {
        min-height: 350px;
        padding: 40px 20px;
    }
    
    .upcoming-icon {
        font-size: 4rem;
    }

    .about-image,
    .about-text {
        width: 100%;
        float: none;
        padding-right: 0;
    }

    .about-image {
        margin-bottom: 40px;
    }

    .about-photo {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-value a {
        font-size:small;
    }

    .social-link {
        width: 100%;
        float: none;
        margin-right: 0;
    }
}

@media only screen and (max-width: 767px) {
    .hero-card {
        margin: 40px 20px;
        padding: 40px 30px;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-underline {
        width: 200px;
    }

    nav {
        margin: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links a {
        display: block;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .portfolio-image {
        height: 350px;
    }

    .portfolio-icon {
        font-size: 4rem;
    }

    .section-wrapper {
        margin: 60px auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-container {
        padding: 0 20px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-photo {
        height: 400px;
    }

    .stat-item {
        width: 100%;
        float: none;
    }

    .contact-section {
        margin: 60px 20px;
        padding: 40px 30px;
    }

    .contact-item {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .contact-value a {
        font-size:small;
    }

    .social-link {
        width: 100%;
        float: none;
        margin-right: 0;
    }
}

@media only screen and (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }

    .portfolio-image {
        height: 280px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}