/* ====================================
   Model Pages - Additional Styles
   ==================================== */

/* Model Hero Section */
.model-hero {
    position: relative;
    margin-top: 80px;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.model-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.model-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.model-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.model-hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.model-subtitle {
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Model Overview */
.model-overview {
    padding: 80px 0;
    background: #141414;
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.overview-content h2 {
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 800;
}

.overview-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Specifications Grid */
.model-specs {
    padding: 80px 0;
    background: var(--bg-light);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.spec-card {
    background: #141414;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
    transition: var(--transition);
    border-left: 3px solid var(--secondary-color);
    position: relative;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-left-color: #ffffff;
}

.spec-icon {
    display: none;
}

.spec-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-card p {
    font-size: 15px;
    color: var(--text-light);
    margin: 8px 0;
}

.spec-card strong {
    color: #ffffff;
    font-weight: 600;
}

/* Features Section */
.model-features {
    padding: 80px 0;
    background: #141414;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-block {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.feature-block h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.feature-block ul {
    list-style: none;
    padding: 0;
}

.feature-block li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

.feature-block li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Model Gallery */
.model-gallery {
    padding: 80px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item-large {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 350px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item-large:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item-large:hover img {
    transform: scale(1.1);
}

/* Model CTA Section */
.model-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

.model-cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.model-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.model-cta .btn-primary {
    background: var(--secondary-color);
    color: #ffffff;
}

.model-cta .btn-primary:hover {
    background: #141414;
}

.model-cta .btn-secondary {
    border-color: white;
    color: white;
}

.model-cta .btn-secondary:hover {
    background: #141414;
    color: #ffffff;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: #141414;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.comparison-table thead {
    background: var(--primary-color);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.comparison-table tr:hover {
    background: var(--bg-light);
}

.comparison-table td strong {
    color: #ffffff;
    font-weight: 600;
}

/* Floor Plan Section */
.floor-plan {
    padding: 80px 0;
    background: #141414;
}

.floor-plan-image {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}

.floor-plan-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Download Section */
.model-downloads {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: #141414;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

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

.btn-download svg {
    width: 20px;
    height: 20px;
}

/* ====================================
   Responsive Design for Models
   ==================================== */

@media (max-width: 768px) {
    .model-hero-content h1 {
        font-size: 42px;
    }

    .model-subtitle {
        font-size: 18px;
    }

    .overview-content h2 {
        font-size: 28px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .model-cta h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
    .model-hero {
        height: 50vh;
        min-height: 400px;
    }

    .model-hero-content h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .spec-card {
        padding: 30px 20px;
    }

    .feature-block {
        padding: 25px;
    }

    .gallery-item-large {
        height: 250px;
    }
}
