/* ============================================
   TV REPAIR PRO - MAIN STYLES (2 COLUMN FORM - UPDATED)
   File: style.css
   ============================================ */

/* ============================================
   HERO SECTION WITH SLIDER
   ============================================ */
.hero-section {
    position: relative;
    min-height: calc(100vh - 80px);
    overflow: hidden;
}

.hero-container {
    position: relative;
    height: calc(100vh - 80px);
    max-height: 800px;
    min-height: 600px;
}

/* Image Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.4) 0%, rgba(42, 82, 152, 0.85) 100%);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 215, 0, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #FFD700;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #FFD700;
    transform: scale(1.2);
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    z-index: 5;
    color: #fff;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 32px;
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.hero-badges {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
}

/* Booking Form - 2 COLUMN LAYOUT */
.booking-form-container {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    z-index: 5;
    animation: slideInRight 0.8s ease-out;
}

.booking-form {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    width: 520px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.booking-form h3 {
    font-size: 26px;
    color: #1e3c72;
    margin-bottom: 5px;
    text-align: center;
    grid-column: 1 / -1;
}

.form-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    grid-column: 1 / -1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 13px;
}

.form-group label svg {
    fill: #1e3c72;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FFD700, #FFC700);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
    grid-column: 1 / -1;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ============================================
   TV TYPES SECTION - WITH IMAGES
   ============================================ */
.tv-types {
    padding: 80px 20px;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1e3c72;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

.tv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tv-card {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1e3c72, #FFD700);
}

.tv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tv-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.tv-card-content {
    padding: 30px 25px;
}

.tv-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #1e3c72;
}

.tv-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tv-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.tv-card li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tv-card li::before {
    content: '✓';
    color: #FFD700;
    font-weight: bold;
    font-size: 18px;
}

/* ============================================
   SERVICES SECTION - 3 COLUMNS
   ============================================ */
.services {
    padding: 80px 20px;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #1e3c72;
    color: #fff;
    transform: scale(1.05);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item:hover .service-icon {
    background: #fff;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: #1e3c72;
}

.service-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-item p {
    color: #666;
    font-size: 15px;
}

.service-item:hover p {
    color: #fff;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #FFD700;
}

.feature-box p {
    color: rgba(255,255,255,0.9);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 20px;
    background: #FFD700;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    color: #1e3c72;
    margin-bottom: 25px;
    font-weight: 800;
}

.cta-section p {
    font-size: 20px;
    color: #333;
    margin-bottom: 40px;
}

.contact-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 20px 45px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.contact-btn.call {
    background: #1e3c72;
    color: #fff;
}

.contact-btn.whatsapp {
    background: #25D366;
    color: #fff;
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .hero-content {
        left: 30px;
        max-width: 480px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 26px;
    }
    
    .booking-form-container {
        right: 30px;
    }
    
    .booking-form {
        width: 480px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape & Large Mobile (576px - 767px) */
@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        min-height: auto;
    }
    
    .hero-container {
        height: auto;
        min-height: auto;
        max-height: none;
        display: flex;
        flex-direction: column;
        padding-bottom: 40px;
    }
    
    .hero-slider {
        position: relative;
        height: 400px;
    }
    
    .hero-content {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        padding: 40px 20px 20px;
        max-width: 100%;
        text-align: center;
        color: rgb(30 60 114 / 90%);
        
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .hero-badges {
        justify-content: center;
        gap: 15px;
    }
    
    .hero-badge {
        font-size: 14px;
        padding: 10px 16px;
        background: #0000008a;
    }
    
    .booking-form-container {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        padding: 0 20px 40px;
        margin-bottom: 20px;
    }
    
    .booking-form {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-group.full-width {
        grid-column: 1;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn.prev {
        left: 15px;
    }
    
    .slider-btn.next {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .tv-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section p {
        font-size: 18px;
    }
}

/* Small Mobile (320px - 575px) */
@media (max-width: 575px) {
    .hero-slider {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .hero-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .booking-form {
        padding: 25px 20px;
    }
    
    .booking-form h3 {
        font-size: 22px;
    }
    
    .booking-form-container {
        padding: 0 15px 30px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .tv-card-content,
    .service-item,
    .feature-box {
        padding: 25px 20px;
    }
    
    .footer-info {
        gap: 20px;
        flex-direction: column;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}