/* Model Page - Sales Focused Styles */
:root {
    --primary-color: #0F1B2D;
    --secondary-color: #11C76F;
    --accent-color: #FF7A45;
    --line-color: #00C300;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
}

/* Product Hero Section */
.product-hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    overflow-x: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 2rem;
    overflow: hidden;
}

.main-product-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    aspect-ratio: 1/1;
    width: 100%;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-badge {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 122, 69, 0.3);
}

.zoom-product-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    opacity: 0;
}

.main-product-image:hover .zoom-product-btn {
    opacity: 1;
}

.main-product-image:hover img {
    transform: scale(1.05);
}

.zoom-product-btn:hover {
    background: white;
    transform: scale(1.1);
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.product-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumb.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(17, 199, 111, 0.4);
}

.product-thumb:hover {
    border-color: var(--accent-color);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    padding: 1rem 0;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Price Section */
.price-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border-left: 5px solid var(--secondary-color);
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.price-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.price-main {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.price-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

/* Key Features */
.key-features {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.key-features h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

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

.features-list li .price-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

.features-list li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.vat-included {
    color: var(--secondary-color);
    font-weight: 600;
    background: rgba(17, 199, 111, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.vat-excluded {
    color: var(--accent-color);
    font-weight: 600;
    background: rgba(255, 122, 69, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
    margin-bottom: 2rem;
}

.primary-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #27ae60 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 199, 111, 0.3);
}

.btn-line {
    background: linear-gradient(135deg, var(--line-color) 0%, #00B300 100%);
    color: white;
}

.btn-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 195, 0, 0.3);
}

.secondary-cta {
    text-align: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Product Details */
.product-details {
    padding: 3rem 0;
    background: white;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.details-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.detail-section {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-section h2 i {
    color: var(--secondary-color);
}

.content-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

.content-body ul ul ul li {
    list-style-type: square !important;
}

/* References Content */
.references-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reference-link {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.reference-link:hover {
    background: #e9ecef;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.reference-link a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    word-break: break-all;
}

.reference-link a:hover {
    color: var(--secondary-color);
}

.reference-link i {
    color: var(--secondary-color);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.reference-text {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    color: #856404;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Related Products Section */
.related-products-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.related-products-section .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0F1B2D;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-products-section .section-title i {
    color: #11C76F;
    font-size: 1.3rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.related-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-product-card .product-image {
    position: relative;
    min-height: 200px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    overflow: hidden;
}

.related-product-card .product-image img {
    max-width: 100%;
    max-height: 170px;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.related-product-card:hover .product-image img {
    transform: scale(1.05);
}

.related-product-card .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
    font-size: 3rem;
}

.price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-badge.cheaper {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.price-badge.expensive {
    background: linear-gradient(135deg, #FF7A45, #ff6b35);
}

.related-product-card .product-info {
    padding: 1.5rem;
}

.related-product-card .product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0F1B2D;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.related-product-card .product-price {
    margin-bottom: 1.5rem;
}

.related-product-card .product-price .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #11C76F;
    display: block;
    margin-bottom: 0.3rem;
}

.related-product-card .product-price .price-diff {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.related-product-card .product-price .price-contact {
    font-size: 1.1rem;
    color: #FF7A45;
    font-weight: 600;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #0F1B2D, #1a2332);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #11C76F, #0ea960);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 199, 111, 0.3);
    color: white;
    text-decoration: none;
}

.no-related-products {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.no-related-products i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.no-related-products p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .related-products-section {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-product-card .product-image {
        height: 180px;
    }
    
    .related-product-card .product-info {
        padding: 1rem;
    }
    
    .related-products-section .section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .related-products-section {
        padding: 1rem;
    }
    
    .related-product-card .product-image {
        height: 160px;
    }
    
    .price-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

.advantages-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    line-height: 1.8;
}

/* Product Videos */
.product-videos {
    display: grid;
    gap: 1.5rem;
}

.video-item iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

/* Quote Form Sidebar */
.quote-sidebar {
    position: sticky;
    top: 2rem;
}

.quote-form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-header p {
    opacity: 0.9;
    margin: 0;
}

/* Quote Form */
.quote-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(17, 199, 111, 0.2);
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 199, 111, 0.3);
}

/* Contact Alternatives */
.contact-alternatives {
    padding: 1.5rem 2rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
}

.alt-header {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: var(--secondary-color);
    color: white;
}

.contact-method i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--error-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-small {
    max-width: 500px;
    background: white;
    border-radius: 15px;
    padding: 2rem;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-small .close {
    top: 1rem;
    right: 1rem;
    color: #999;
}

.close:hover {
    color: var(--secondary-color);
}

.privacy-content {
    text-align: left;
    margin: 1.5rem 0;
}

.privacy-content ul {
    padding-left: 1.5rem;
}

.btn-close-modal {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid,
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .quote-sidebar {
        position: static;
    }
    
    .main-product-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 2rem 0;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .main-product-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
    }
    
    .primary-cta {
        gap: 0.75rem;
    }
    
    .btn-cta {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .quote-form {
        padding: 1.5rem;
    }
    
    .form-header {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.8rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .main-product-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .product-thumbnails {
        gap: 0.5rem;
    }
    
    .product-thumb {
        width: 60px;
        height: 60px;
    }
    
    .trust-indicators {
        padding: 1rem;
    }
    
    .trust-item {
        font-size: 0.9rem;
    }
}

/* Video Styles */
.video-embed {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-embed iframe,
.video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Horizontal videos (16:9 aspect ratio) */
.video-embed {
    aspect-ratio: 16/9;
}

/* Vertical videos (9:16 aspect ratio) */
.video-embed.vertical-video {
    max-width: 400px; /* Limit width for vertical videos */
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 9/16;
}

/* Video Gallery */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.video-item {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
