/* General Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #000000 0%, #333333 100%);
    --gradient-2: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-3: linear-gradient(135deg, #2c2c2c 0%, #3f3f3f 100%);
    --gradient-4: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
}

.logo-box {
    background-color: #000;
    padding: 10px 20px;
    display: inline-block;
}

.logo-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: #212529;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #000;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .row {
    min-height: auto !important;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #000000;
    font-weight: 800;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.btn-dark {
    background: #000000;
    border: none;
    color: #fff;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #1a1a1a;
}

.btn-outline-secondary {
    border: 2px solid #000000;
    color: #000000;
    background: #fff;
}

.btn-outline-secondary:hover {
    background: #000000;
    border-color: #000000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tv-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.tv-image:hover {
    transform: scale(1.02);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: #fff;
}

.feature-item {
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.feature-item:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.feature-item:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.feature-item:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.feature-item:nth-child(1)::before {
    background: var(--gradient-1);
}

.feature-item:nth-child(2)::before {
    background: var(--gradient-2);
}

.feature-item:nth-child(3)::before {
    background: var(--gradient-3);
}

.feature-item:nth-child(4)::before {
    background: var(--gradient-4);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(26, 26, 26, 0.05) 100%);
    color: #000000;
}

.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(45, 45, 45, 0.05) 100%);
    color: #1a1a1a;
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.05) 0%, rgba(63, 63, 63, 0.05) 100%);
    color: #2c2c2c;
}

.feature-item:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.05) 0%, rgba(31, 31, 31, 0.05) 100%);
    color: #0a0a0a;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: #000000;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    line-height: 1.3;
    color: #fff;
}

.cta-section .lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
}

.cta-section .btn {
    background: #fff;
    color: #000000;
    border: none;
    font-weight: 600;
    border-radius: 50px;
    padding: 14px 40px;
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
    background: #f0f0f0;
}

/* About Section */
.about-section {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 80vh;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.about-content .lead {
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding-top: 150px;
    padding-bottom: 100px;
}

.contact-info-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    color: #000;
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 12px 16px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Footer */
.footer-section {
    border-top: 1px solid #e0e0e0;
}

.footer-brand {
    font-weight: 700;
    letter-spacing: 3px;
    color: #212529;
    font-size: 1.5rem;
    position: relative;
}

.footer-brand::before,
.footer-brand::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 150px;
    height: 1px;
    background-color: #ddd;
}

.footer-brand::before {
    right: calc(100% + 30px);
}

.footer-brand::after {
    left: calc(100% + 30px);
}

.footer-section .nav-link {
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-section .nav-link:hover {
    color: #000;
}

.social-link {
    color: #333;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 30px;
}

.social-link:hover {
    color: #000;
    background-color: #f8f9fa;
    border-color: #000;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .navbar-nav {
        padding-top: 1rem;
    }

    .footer-brand::before,
    .footer-brand::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 100px;
    }

    .hero-section h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero-buttons {
        text-align: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .features-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    .about-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .contact-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* Contact Card Animations */
.contact-info-card {
    animation: scaleIn 0.5s ease-out backwards;
}

.contact-info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Utility Classes */
.text-muted {
    color: #6c757d !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
