/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
}

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

/* Header Styles */
.header {
    text-align: center;
    padding: 50px 0 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.main-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.21;
    margin-bottom: 40px;
    color: #000000;
}

.subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.21;
    color: #000000;
    max-width: 1080px;
    margin: 0 auto;
}

/* Amazon Button Styles */
.amazon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #F6A61F;
    color: #000000;
    padding: 25px 50px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.21;
    text-align: center;
    margin: 40px auto;
    max-width: fit-content;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.amazon-button:hover {
    background-color: #e6951a;
}

.amazon-logo {
    width: 29.73px;
    height: 25px;
}

/* Section Styles */
section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 0;
}

h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.21;
    margin-bottom: 20px;
    color: #000000;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #000000;
}

/* Introduction Section */
.introduction {
    padding: 40px 0;
}

.introduction p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.21;
    margin-bottom: 20px;
    color: #000000;
}

/* Features List Styles */
.features-list p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.21;
    margin-bottom: 15px;
    color: #000000;
}

.features-list strong {
    font-weight: 600;
}

/* Technical Specifications */
.technical-specs {
    padding: 40px 0;
}

.specs-list p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.21;
    margin-bottom: 10px;
    color: #000000;
}

.specs-list strong {
    font-weight: 600;
}

.specs-list ul {
    margin: 20px 0;
    padding-left: 20px;
}

.specs-list li {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.21;
    margin-bottom: 8px;
    color: #000000;
}

/* Image Gallery */
.image-gallery {
    padding: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.image-caption {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.21;
    color: #000000;
    text-align: left;
    max-width: 520px;
    margin: 0 auto;
}

/* Author Review Section */
.author-review {
    padding: 40px 0;
    max-width: 1080px;
    margin: 0 auto;
}

.author-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.author-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-details {
    flex: 1;
}

.author-details h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.21;
    margin-bottom: 10px;
    color: #000000;
}

.stars {
    margin-bottom: 15px;
}

.stars-image {
    width: 117px;
    height: 20px;
}

.author-details p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.21;
    color: #000000;
}

/* Coffee Flavor Section */
.coffee-flavor {
    padding: 40px 0;
}

.coffee-flavor p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.21;
    margin-bottom: 20px;
    color: #000000;
}

/* Comparison Table Section */
.comparison-table {
    padding: 40px 0;
    max-width: 1080px;
    margin: 0 auto;
}

.table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.comparison-table-content {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #ffffff;
    min-width: 800px;
}

.comparison-table-content thead {
    background: linear-gradient(135deg, #F6A61F 0%, #e6951a 100%);
    color: #000000;
}

.comparison-table-content th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-table-content th:first-child {
    border-top-left-radius: 12px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    font-weight: 700;
    min-width: 150px;
}

.comparison-table-content th:not(:first-child) a {
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.comparison-table-content th:not(:first-child) a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.comparison-table-content tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.3s ease;
}

.comparison-table-content tbody tr:hover {
    background-color: #f8f9fa;
}

.comparison-table-content tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table-content tbody tr:nth-child(even):hover {
    background-color: #e9ecef;
}

.comparison-table-content td {
    padding: 16px 12px;
    vertical-align: top;
    border: none;
    line-height: 1.5;
}

.comparison-table-content td:first-child {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    border-right: 2px solid #e5e7eb;
    min-width: 150px;
    position: sticky;
    left: 0;
    z-index: 5;
}

.comparison-table-content td:not(:first-child) {
    color: #374151;
}

.comparison-table-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Highlight Bonavita column */
.comparison-table-content tbody tr td:nth-child(2) {
    background-color: #fff3cd;
    border-left: 3px solid #F6A61F;
    border-right: 3px solid #F6A61F;
}

.comparison-table-content tbody tr:nth-child(even) td:nth-child(2) {
    background-color: #ffeaa7;
}

.comparison-table-content tbody tr:hover td:nth-child(2) {
    background-color: #fdcb6e;
}

/* Care and Maintenance */
.care-maintenance {
    padding: 40px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-item img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .amazon-button {
        padding: 20px 30px;
        font-size: 16px;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .author-photo {
        width: 120px;
        height: 120px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .features-list p,
    .specs-list p,
    .coffee-flavor p,
    .author-details p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .amazon-button {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .gallery-item img {
        height: 300px;
    }
    
    .author-photo {
        width: 100px;
        height: 100px;
    }
    
    .comparison-table-content {
        font-size: 12px;
        min-width: 600px;
    }
    
    .comparison-table-content th,
    .comparison-table-content td {
        padding: 12px 8px;
    }
    
    .comparison-table-content th {
        font-size: 14px;
    }
}
