/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #212121;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: #ff5252;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #ff6b6b;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 60px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.slogan {
    font-size: 12px;
    font-weight: 500;
    color: #ccc;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #c2c2ff 0%, #4e7dff 50%, #0f0f23 100%);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #f3f3f3;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-slogan {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ff6b6b;
}

/* Sections */
section {
    padding: 70px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 35px;
    font-size: 32px;
    color: #212121;
}

/* About */
#about {
    background-color: #fff;
}

#about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

/* Services */
#services {
    background-color: #f4f4f4;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.service h3 {
    margin-bottom: 12px;
    color: #ff5252;
    font-size: 20px;
}

.service p {
    font-size: 14px;
    color: #666;
}

/* Products */
#products {
    background-color: #fff;
}

.product-categories {
    margin-bottom: 35px;
}

.product-categories h3 {
    color: #ff5252;
    margin-bottom: 18px;
    font-size: 22px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #ff5252;
}

.product h4 {
    margin-bottom: 10px;
    color: #212121;
    font-size: 16px;
    font-weight: 600;
}

.product p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.products-intro {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
    font-style: italic;
}

/* Television Section */
#tv {
    background-color: #fff;
}

.tv-sizes {
    text-align: center;
    font-size: 18px;
    color: #ff5252;
    font-weight: 600;
    margin-bottom: 25px;
    padding: 12px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.tv-product {
    border-left: 4px solid #ff5252;
}

.tv-product h4 {
    color: #ff5252;
}

.tv-brands {
    margin-top: 35px;
}

.tv-brands h3 {
    text-align: center;
    color: #ff5252;
    margin-bottom: 25px;
}

.tv-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.tv-brand-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.tv-brand-item:hover {
    transform: translateY(-5px);
}

.tv-brand-item h4 {
    color: #fff;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.tv-brand-logo {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    margin-bottom: 10px;
    object-fit: contain;
}

.tv-brand-name {
    display: block;
}

/* Brands */
#brands {
    background-color: #f4f4f4;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
}

.brand {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brand img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    margin-bottom: 10px;
    object-fit: contain;
}

.brand p {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

/* Testimonials */
#testimonials {
    background-color: #f4f4f4;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.testimonial {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.testimonial p {
    font-size: 15px;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial cite {
    display: block;
    font-style: normal;
    color: #ff5252;
    font-weight: 600;
}

/* Contact */
#contact {
    background-color: #fff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.contact-item h3 {
    color: #ff5252;
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-item p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.contact-details {
    margin-bottom: 30px;
    text-align: center;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

#newform {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
    background: #f8f8f8;
    border-radius: 8px;
}

#newform input,
#newform textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

#newform button {
    background: #21213b;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

#newform button:hover {
    background: #2d4587;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        gap: 12px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 10px 15px;
    }
    
    /* Mobile Navigation - Horizontal scrollable menu */
    .nav-links {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 5px;
        width: 100%;
        max-width: 100%;
        padding: 8px 5px;
        margin-top: 10px;
        -webkit-overflow-scrolling: touch;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 5px;
    }
    
    .nav-links::-webkit-scrollbar {
        display: none;
    }
    
    .nav-links li {
        flex-shrink: 0;
    }
    
    .nav-links a {
        font-size: 11px;
        padding: 5px 8px;
        white-space: nowrap;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    section {
        padding: 50px 0;
    }
    
    section h2 {
        font-size: 26px;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
