/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.98);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #667eea;
}

.btn-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    color: #fff !important;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    background: #fff;
    padding: 120px 20px 60px;
    text-align: center;
    color: #333;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-video,
.hero-image {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1;
    margin-bottom: 2rem;
    display: block;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #2d3748;
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: #4a5568;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

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

/* Services Section */
.services {
    padding: 80px 20px;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    padding: 40px 0;
    background: #f8f9fa;
}

.gallery h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
    padding: 0 20px;
}

.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item {
    display: none;
    width: 100%;
}

.gallery-item.active {
    display: block;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    background: #000;
}

.gallery-arrow {
    background: rgba(102, 126, 234, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.gallery-arrow:hover {
    background: rgba(102, 126, 234, 1);
    transform: scale(1.1);
}

.gallery-arrow:active {
    transform: scale(0.95);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: #667eea;
    width: 12px;
    height: 12px;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 1.5rem;
    border-left: 4px solid #667eea;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.feature h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature p {
    color: #666;
}

/* App Features Section */
.app-features {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.app-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.app-content {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.app-description {
    flex: 1 1 50%;
    text-align: left;
}

.app-description h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.app-description ul {
    list-style: none;
}

.app-description li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.app-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.app-image {
    flex: 0 0 280px;
    max-width: 280px;
}

.app-image img {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 20px;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial p {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.author {
    color: #667eea;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.contact-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-method {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.contact-method h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-method a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.contact-form h3 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    background: #1a202c;
    color: #fff;
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #cbd5e0;
}

/* Dealer Badge */
.dealer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f5d76e 50%, #d4af37 100%);
    color: #1a1a1a;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 15px rgba(212, 175, 55, 0.3);
}

.dealer-badge a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 800;
}

.dealer-badge a:hover {
    text-decoration: underline;
}

/* Celebright Products Section */
.celebright-products {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.celebright-products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.celebright-products .section-subtitle {
    text-align: center;
    color: #cbd5e0;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-highlight {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}

.product-highlight:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-5px);
}

.product-highlight h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.product-highlight p {
    color: #cbd5e0;
    line-height: 1.8;
}

/* Responsive Design */

/* Images and Videos - Always responsive */
img, video {
    max-width: 100%;
    height: auto;
}

/* Tablet and below */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .service-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .gallery-container {
        max-height: 400px;
    }

    .gallery-item img,
    .gallery-item video {
        max-height: 400px;
    }
}

/* Mobile landscape and below */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .dealer-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .celebright-products {
        padding: 60px 15px;
    }

    .product-highlights {
        grid-template-columns: 1fr;
    }

    .app-content {
        flex-direction: column;
        text-align: center;
    }

    .app-description {
        text-align: center;
    }

    .app-description ul {
        display: inline-block;
        text-align: left;
    }

    .app-image {
        flex: 0 0 220px;
        max-width: 220px;
    }

    .app-image img {
        max-width: 220px;
    }

    .hero {
        min-height: auto;
        padding: 100px 15px 40px;
    }

    .hero-video,
    .hero-image {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .gallery {
        padding: 30px 0;
    }

    .gallery-wrapper {
        padding: 0 10px;
    }

    .gallery-arrow {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .gallery-container {
        max-height: 350px;
    }

    .gallery-item img,
    .gallery-item video {
        max-height: 350px;
    }

    section {
        padding: 60px 15px;
    }

    .services,
    .features,
    .app-features,
    .testimonials,
    .contact {
        padding: 60px 15px;
    }

    h2 {
        font-size: 2rem !important;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 90px 10px 30px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .gallery {
        padding: 20px 0;
    }

    .gallery h2 {
        font-size: 1.25rem !important;
    }

    .gallery-wrapper {
        padding: 0 5px;
        gap: 0.5rem;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.75rem;
    }

    .gallery-container {
        max-height: 250px;
    }

    .gallery-item img,
    .gallery-item video {
        max-height: 250px;
    }

    .gallery-dots {
        margin-top: 1rem;
    }

    .gallery-dot {
        width: 8px;
        height: 8px;
    }

    .gallery-dot.active {
        width: 10px;
        height: 10px;
    }

    .service-card,
    .feature,
    .testimonial {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }
}
