/**
 * Catalog/Services Styles
 */

/* ========================================
   Catalog Header
   ======================================== */

.catalog-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, #0a0a0a, #000);
}

.catalog-header .section-label {
    display: inline-block;
    color: var(--color-accent, #e65c00);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.catalog-header .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 20px;
}

.catalog-header .section-subtitle {
    color: #888;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Catalog Grid
   ======================================== */

.catalog-section {
    padding: 80px 0;
    background: #000;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #0a0a0a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #1a1a1a;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent, #e65c00);
    box-shadow: 0 20px 40px rgba(230, 92, 0, 0.15);
}

.product-card .product-image {
    height: 200px;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.product-card:hover .product-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.product-content {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

/* Duration badge at top */
.product-duration {
    display: inline-block;
    background: rgba(230, 92, 0, 0.15);
    color: var(--color-accent, #e65c00);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 12px;
}

/* Price prominent */
.product-price {
    margin-bottom: 20px;
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.price-period {
    display: none;
}

.product-description {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex: 1;
    text-align: left;
}

.product-features li {
    color: #aaa;
    font-size: 0.9rem;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
    padding-left: 28px;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent, #e65c00);
    font-weight: bold;
}

.product-footer {
    margin-top: auto;
    padding-top: 0;
}

.product-footer .btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
}

/* ========================================
   Single Product Page
   ======================================== */

.product-single {
    padding-top: 80px;
}

.product-header {
    padding: 60px 0;
    background: linear-gradient(to bottom, #0a0a0a, #000);
}

.product-header .back-link {
    display: inline-block;
    color: var(--color-accent, #e65c00);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.product-header .back-link:hover {
    opacity: 0.8;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 15px;
}

.product-tagline {
    color: #888;
    font-size: 1.15rem;
    max-width: 700px;
}

.product-main {
    padding: 60px 0;
    background: #000;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.product-image-large {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.product-image-large img {
    width: 100%;
    height: auto;
    display: block;
}

.product-description-full {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.product-features-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 25px;
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #ccc;
    font-size: 1rem;
    padding: 15px 0;
    border-bottom: 1px solid #1a1a1a;
}

.product-features-list li:last-child {
    border-bottom: none;
}

.product-features-list .check-icon {
    flex-shrink: 0;
    color: var(--color-accent, #e65c00);
    margin-top: 2px;
}

/* Purchase Box */
.purchase-box {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.purchase-price {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #1a1a1a;
}

.purchase-price .price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.purchase-price .price-period {
    font-size: 1rem;
    color: #666;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.purchase-note {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-top: 20px;
    margin-bottom: 0;
}

.purchase-note a {
    color: var(--color-accent, #e65c00);
    text-decoration: none;
}

.purchase-note a:hover {
    text-decoration: underline;
}

/* ========================================
   Other Services
   ======================================== */

.other-services {
    padding: 80px 0;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.other-services .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 40px;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.other-service-card {
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.other-service-card:hover {
    border-color: var(--color-accent, #e65c00);
    transform: translateY(-3px);
}

.other-service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.other-service-card p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.other-service-price {
    color: var(--color-accent, #e65c00);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========================================
   Catalog CTA
   ======================================== */

.catalog-cta {
    padding: 80px 0;
    background: linear-gradient(to bottom, #000, #0a0a0a);
    text-align: center;
}

.catalog-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.catalog-cta p {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   No Products
   ======================================== */

.no-products {
    text-align: center;
    padding: 100px 0;
    color: #666;
    font-size: 1.1rem;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 991px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .purchase-box {
        position: static;
    }

    .product-sidebar {
        order: -1;
    }
}

@media (max-width: 1100px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-header {
        padding: 120px 0 60px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .product-content {
        padding: 30px 25px;
    }

    .price-amount {
        font-size: 2.25rem;
    }

    .other-services-grid {
        grid-template-columns: 1fr;
    }
}
