/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.navbar {
    background-color: #ffffff;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e0e0e0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6b35;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #ff6b35;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e55a2b;
}

/* Featured Products Section */
.featured-products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a1a;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card h3 a {
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.product-card h3 a:hover {
    color: #ff6b35;
}

.product-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    min-height: 200px;
    max-height: 300px;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 300px;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.product-info p {
    margin-bottom: 1.5rem;
    color: #666;
}

.buy-button {
    display: inline-block;
    background-color: #ff6b35;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #e55a2b;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    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 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        border-top: 1px solid #e0e0e0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        min-height: 150px;
        max-height: 250px;
    }
    
    .product-image img {
        max-height: 250px;
    }
}

/* Page-specific styles */
.page-header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-content {
    padding: 60px 0;
}

.page-content h2 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Contact page specific */
.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.contact-info h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

/* About page specific */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Product detail page specific */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.product-image-section {
    width: 100%;
    max-width: 400px;
}

.product-image-large {
    width: 100%;
    margin-bottom: 2rem;
}

.product-image-large img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-audio-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.product-audio-section h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.audio-player-container {
    margin-bottom: 1rem;
}

.audio-player {
    width: 100%;
    height: 50px;
    border-radius: 5px;
}

.audio-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.product-description h2 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.product-description p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-purchase {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.product-details {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.product-details h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.product-details ul {
    list-style: none;
    padding: 0;
}

.product-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.product-details li:last-child {
    border-bottom: none;
}

.product-details strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Reviews page styles */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header h2 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.review-header h2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-header h2 a:hover {
    color: #ff6b35;
}

.review-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.review-source {
    font-weight: 600;
    color: #ff6b35;
}

.review-rating {
    font-weight: 600;
    color: #1a1a1a;
}

.review-author {
    color: #666;
    font-style: italic;
}

.review-excerpt {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-excerpt p {
    margin-bottom: 1rem;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.read-more {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e55a2b;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

/* Individual review article styles */
.review-article {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-article .review-meta {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.review-article .review-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.review-article .review-content p {
    margin-bottom: 1.5rem;
}

.review-article .review-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
    margin-top: 2rem;
}

.back-to-reviews {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-to-reviews:hover {
    color: #e55a2b;
}

.review-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: #f8f9fa;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive design for product detail pages */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-image-large {
        max-width: 100%;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-article {
        padding: 2rem;
    }
    
    .review-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Custom Audio Player Styles */
.custom-audio-player {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.track-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.track-counter {
    font-size: 0.9rem;
    color: #666;
    background: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.volume-icon {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.volume-slider {
    flex: 1;
    max-width: 120px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #e55a2b;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #d04a1f;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #e55a2b;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.volume-slider::-moz-range-thumb:hover {
    background: #d04a1f;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.volume-value {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    min-width: 35px;
    text-align: center;
}

.btn {
    background: #e55a2b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn:hover {
    background: #d04a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-prev, .btn-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.btn-play-pause {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.player-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e55a2b, #ff6b35);
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.track-list {
    margin-top: 1rem;
}

.track-list h4 {
    margin-bottom: 0.75rem;
    color: #333;
    font-size: 1rem;
}

.track-list ul {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.track-item:hover {
    background: #f8f9fa;
    border-color: #e55a2b;
}

.track-item.active {
    background: #fff3f0;
    border-color: #e55a2b;
    box-shadow: 0 2px 4px rgba(229, 90, 43, 0.2);
}

.track-number {
    font-weight: 600;
    color: #e55a2b;
    margin-right: 0.75rem;
    min-width: 25px;
}

.track-name {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.track-duration {
    color: #666;
    font-size: 0.9rem;
    margin-left: 1rem;
}

/* Responsive Audio Player */
@media (max-width: 768px) {
    .custom-audio-player {
        padding: 1rem;
    }
    
    .player-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .player-controls {
        gap: 0.75rem;
    }
    
    .btn {
        width: 45px;
        height: 45px;
    }
    
    .btn-play-pause {
        width: 55px;
        height: 55px;
    }
    
    .track-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .track-duration {
        display: none;
    }
    
    .volume-control {
        gap: 0.5rem;
        padding: 0.25rem;
    }
    
    .volume-slider {
        max-width: 100px;
    }
    
    .volume-value {
        font-size: 0.8rem;
        min-width: 30px;
    }
}