/* Custom styles extracted from inline CSS */

/* Header styles */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#header .logo {
    margin: 0 auto;
}

#header .right {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
}

#header .button {
    background-color: #bd985e;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#header .button:hover {
    background-color: #a6784b;
}

/* Adobe PDF viewer styles */
#adobe-dc-view {
    max-width: 900px;
    width: 95%;
    margin: 5px auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

/* Reviews Section on Homepage */
.reviews-public-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.reviews-public-section .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-public-section header.major {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-public-section header.major h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.reviews-public-section header.major p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.reviews-stats .stat-item {
    text-align: center;
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

.reviews-stats .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #bd985e;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.reviews-stats .stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.reviews-container {
    margin-bottom: 50px;
}

.loading-reviews {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading-reviews i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #bd985e;
}

.public-review-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.public-review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.public-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.public-review-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.public-author-name {
    font-weight: 700;
    color: #333;
    font-size: 1.2rem;
}

.public-review-date {
    color: #666;
    font-size: 0.9rem;
}

.public-review-rating {
    display: flex;
    gap: 3px;
}

.public-review-rating i {
    font-size: 1.2rem;
    color: #ffc107;
}

.public-review-content {
    margin-bottom: 20px;
}

.public-review-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.public-review-comment {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

.reviews-actions {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.reviews-actions .button {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.reviews-actions .button.primary {
    background: linear-gradient(135deg, #bd985e 0%, #a6784b 100%);
    color: white;
}

.reviews-actions .button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(189, 152, 94, 0.4);
}

.reviews-actions .button:not(.primary) {
    background: white;
    color: #bd985e;
    border: 2px solid #bd985e;
}

.reviews-actions .button:not(.primary):hover {
    background: #bd985e;
    color: white;
    transform: translateY(-2px);
}

/* No reviews state */
.no-public-reviews {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-public-reviews i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-public-reviews h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.no-public-reviews p {
    color: #666;
    font-size: 1.1rem;
}

/* Additional smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Ensure reviews section has proper spacing */
#reviews-section {
    scroll-margin-top: 100px; /* Account for sticky header */
}

/* Responsive design for reviews section */
@media (max-width: 768px) {
    .reviews-public-section {
        padding: 40px 0;
    }
    
    .reviews-public-section header.major h2 {
        font-size: 2rem;
    }
    
    .reviews-stats {
        gap: 30px;
    }
    
    .reviews-stats .stat-item {
        padding: 20px 30px;
        min-width: 120px;
    }
    
    .reviews-stats .stat-number {
        font-size: 2.5rem;
    }
    
    .public-review-item {
        padding: 20px;
    }
    
    .public-review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .reviews-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .reviews-actions .button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .reviews-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .reviews-stats .stat-item {
        width: 100%;
        max-width: 250px;
    }
}
