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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    color: #1a365d;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #3182ce;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #3182ce;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Logo Animation Video Section */
.logo-animation {
    width: 100%;
    height: auto;
    position: relative;
    margin-top: 80px; /* Account for fixed header */
    overflow: hidden;
    background: linear-gradient(180deg, #000000 0%, #1a1a1a 30%, #2d3748 70%, #1a365d 100%);
}

.logo-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px; /* Reasonable max height */
    object-fit: cover; /* Ensures video covers the full width while maintaining aspect ratio */
    object-position: center;
    position: relative;
    z-index: 1;
}

/* Gradient overlay to blend video into hero section */
.logo-animation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 54, 93, 0.3) 40%, rgba(26, 54, 93, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Responsive adjustments for logo video */
@media (max-width: 768px) {
    .logo-animation {
        margin-top: 70px; /* Slightly less margin on mobile */
    }
    
    .logo-video {
        max-height: 250px; /* Smaller on mobile */
    }
    
    .logo-animation::after {
        height: 40px; /* Smaller gradient overlay on mobile */
    }
}

@media (max-width: 480px) {
    .logo-video {
        max-height: 200px; /* Even smaller on very small screens */
    }
    
    .logo-animation::after {
        height: 30px; /* Even smaller gradient overlay */
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 50%, #4a5568 100%);
    color: white;
    padding: 60px 0 120px; /* Reduced top padding for smoother video transition */
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 54, 93, 0.3) 0%, rgba(26, 54, 93, 0.8) 30%, rgba(26, 54, 93, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    line-height: 1.2;
}

.hero-slogan {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.1s both;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
    font-weight: 600;
    color: #ffd700;
}

.cta-button {
    display: inline-block;
    background: #3182ce;
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
}

.cta-button:hover {
    background: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.6);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f7fafc;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-item h3 {
    color: #1a365d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: #1a365d;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

/* Gaming Specialty Styling */
.service-card.gaming-specialty {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.service-card.gaming-specialty h3 {
    color: #fff;
}

.service-card.gaming-specialty p {
    color: #f7fafc;
}

.service-card.gaming-specialty .service-icon {
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
}

.service-card.gaming-specialty:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(102, 126, 234, 0.4);
}

/* Gaming Console List Styling */
.gaming-console-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    text-align: left;
}

.gaming-console-list li {
    padding: 0.3rem 0;
    color: #f7fafc;
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.gaming-console-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background: #f7fafc;
}

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

.expertise-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #3182ce;
}

.expertise-item h4 {
    color: #1a365d;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.expertise-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Gaming Focus Expertise Styling */
.expertise-item.gaming-focus {
    border-left: 4px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.expertise-item.gaming-focus h4 {
    color: #667eea;
}

.benefits {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.benefits h3 {
    color: #1a365d;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

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

.benefit {
    color: #4a5568;
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

.benefit.highlight-benefit {
    color: #667eea;
    font-weight: 600;
    font-size: 1.2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* Free Cleaning Call-out Section */
.free-cleaning-callout {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
    color: white;
}

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

.callout-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.callout-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.callout-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f7fafc;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f7fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section h3 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

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

.contact-form button {
    background: #3182ce;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #2c5aa0;
}

.contact-info h3 {
    color: #1a365d;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-detail {
    margin-bottom: 2rem;
}

.contact-detail h4 {
    color: #1a365d;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-detail a {
    color: #3182ce;
    text-decoration: none;
}

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

.contact-detail p {
    color: #4a5568;
    line-height: 1.6;
}

.specialties-list p {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #1a365d;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .about-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services,
    .about,
    .expertise,
    .contact {
        padding: 60px 0;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading states and interactions */
.service-card,
.expertise-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
