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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #FFFFFF;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    color: #666666;
    max-width: 65ch;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: #FAFAFA;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #FFFFFF;
    z-index: 1;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.brand-name {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    text-align: center;
    padding: 6rem 0;
}

.about p {
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

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

.feature-card {
    background: #FFFFFF;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.feature-card h3 {
    color: #000000;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Video Showcase Section */
.video-showcase {
    padding: 6rem 0;
    text-align: center;
    background-color: #FAFAFA;
}

.video-container {
    max-width: 1000px;
    margin: 3rem auto 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 6rem 0;
    background-color: #FFFFFF;
    color: #000000;
}

.contact h2 {
    color: #000000;
    margin-bottom: 1rem;
}

.contact p {
    color: #666666;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #333333;
}

.cta-button {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.cta-button:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: #FAFAFA;
    color: #666666;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-close:hover {
    color: #CCCCCC;
}

/* AI Badge */
.ai-badge {
    position: fixed;
    bottom: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    z-index: 1100;
    backdrop-filter: blur(6px);
}

.ai-badge a {
    color: #0078FF;
    text-decoration: none;
    white-space: nowrap;
}

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

.ai-spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(0, 120, 255, 0.35);
    border-top-color: #00CFFF;
    animation: spin 1.4s linear infinite, pulse 2.4s ease-in-out infinite;
    box-shadow: 0 0 0 rgba(0, 207, 255, 0.35);
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 207, 255, 0.35); }
    70% { box-shadow: 0 0 0 10px rgba(0, 207, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 207, 255, 0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        height: 100vh;
        background-attachment: scroll;
    }

    .brand-name {
        font-size: clamp(2rem, 12vw, 4rem);
    }

    .tagline {
        font-size: clamp(0.9rem, 4vw, 1.3rem);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .contact-info {
        gap: 1rem;
    }

    .phone-link {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 90vh;
    }

    .logo {
        width: 100px;
    }

    .brand-name {
        font-size: clamp(1.8rem, 15vw, 3.5rem);
    }

    .tagline {
        font-size: clamp(0.8rem, 5vw, 1.2rem);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.feature-card:focus-within,
.gallery-item:focus-within,
.cta-button:focus,
.phone-link:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero {
        background: none !important;
        height: auto;
        padding: 2rem 0;
    }

    .hero-overlay {
        background: none;
    }

    .hero-content {
        color: #000000;
    }
}
