/* ===========================
   CSS RESET & BASE STYLES
   =========================== */

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

:root {
    --primary-color: #ff6347;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --nav-height: 70px;
    --font-primary: 'Raleway', sans-serif;
    --font-secondary: 'Dosis', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ===========================
   STICKY HEADER & NAVIGATION
   =========================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

#main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--nav-height);
}

.nav-brand a {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 2px;
}

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

.nav-links a {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: var(--nav-height);
}

.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.hero-text {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 1rem;
}

/* ===========================
   CONTENT SECTIONS
   =========================== */

.content-section {
    padding: 5rem 2rem;
}

.content-section:nth-child(even) {
    background: var(--bg-light);
}

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

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

.section-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text {
    font-size: 1.3rem !important;
    color: var(--text-dark);
}

h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

/* ===========================
   DEMOS SECTION
   =========================== */

.demos-section {
    background: var(--white);
}

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

.demo-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.demo-item h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

audio {
    width: 100%;
    outline: none;
}

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

.video-item {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===========================
   CLIENTS SECTION
   =========================== */

.clients-section {
    background: var(--bg-light);
}

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

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial blockquote {
    font-style: italic;
    color: var(--text-light);
}

.testimonial blockquote p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.testimonial footer {
    font-style: normal;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1rem;
}

.clients-logo {
    margin-top: 3rem;
    text-align: center;
}

.clients-logo img {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-section {
    background: var(--white);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    min-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.social-link i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}

.social-link .social-title {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.social-link .social-handle {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: -0.5rem;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.site-footer p {
    font-size: 0.9rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero {
        height: 70vh;
        min-height: 400px;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .demo-grid,
    .video-grid,
    .testimonials {
        grid-template-columns: 1fr;
    }

    .clients-logo {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .clients-logo img {
        max-width: 100%;
        width: 100%;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        min-width: 120px;
        padding: 1.5rem;
    }

    .social-link i {
        font-size: 2.5rem;
    }

    .social-link .social-title {
        font-size: 1rem;
    }

    .social-link .social-handle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-brand a {
        font-size: 1.2rem;
    }

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

    h2 {
        font-size: 1.5rem;
    }

    .section-content p {
        font-size: 1rem;
    }

    .clients-logo {
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }
}
