/* ===== CSS Variables ===== */
:root {
    --primary-color: #ffffff;
    --secondary-color: #e0e0e0;
    --accent-color: #ffffff;
    --accent-gray: #6b7280;
    --text-dark: #f5f5f5;
    --text-light: #b0b0b0;
    --text-lighter: #808080;
    --bg-white: #0a0a0a;
    --bg-light: #141414;
    --bg-dark: #000000;
    --border-color: #2a2a2a;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000000;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-white {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
}

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

.navbar .logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-dark);
}

.footer .logo-text {
    color: var(--primary-color);
    display: block;
    margin-bottom: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:not(.btn):hover {
    color: var(--accent-color);
}

.nav-links .btn {
    padding: 12px 24px;
}

.nav-links .btn-primary {
    color: #000000;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 177.77vh; /* 16:9 aspect ratio */
    min-width: 100%;
    height: 100vh;
    min-height: 56.25vw; /* 16:9 aspect ratio */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 60px 0;
}

.hero h1 {
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gray);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--accent-gray);
    border-radius: 16px;
    z-index: -1;
}

.about-image img {
    border-radius: 16px;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== Philosophy Section ===== */
.philosophy-section {
    background-color: #1f1f1f;
}

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

.philosophy-content h2 {
    margin-bottom: 32px;
}

.philosophy-content p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.philosophy-content .highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    font-style: italic;
    margin-top: 24px;
}

/* ===== Services Section ===== */
.services-section {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    background-color: var(--bg-light);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background-color: var(--accent-gray);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover * {
    color: var(--bg-dark);
}

.service-icon {
    margin-bottom: 24px;
    color: var(--accent-gray);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.service-card:hover .service-icon {
    color: var(--bg-dark);
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    background-color: var(--bg-light);
}

.portfolio-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.portfolio-image-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-image-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-video {
    max-width: 900px;
    margin: 0 auto 40px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

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

.portfolio-channel {
    text-align: center;
    margin-top: 40px;
}

.portfolio-channel .btn {
    display: inline-flex;
    align-items: center;
}

.portfolio-cta {
    text-align: center;
}

.portfolio-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Video Thumbnails */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    transition: var(--transition);
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #ffffff;
}

.play-button svg {
    margin-left: 4px;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.video-modal-close:hover {
    transform: scale(1.1);
    color: var(--text-light);
}

.video-modal-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
}

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

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.cta-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-item svg {
    color: var(--accent-gray);
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--text-dark);
}

.social-links a:hover {
    background-color: var(--accent-gray);
    color: var(--primary-color);
}

/* ===== Form Styles ===== */
.contact-form {
    background-color: #1f1f1f;
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Clients Section ===== */
.clients-section {
    background-color: var(--bg-white);
    padding: 80px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.client-logo:hover {
    background-color: #1f1f1f;
    transform: translateY(-4px);
}

.client-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

/* ===== Process Section ===== */
.process-section {
    background-color: var(--bg-white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    position: relative;
    padding: 40px 30px;
    background-color: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
}

.process-step:hover {
    background-color: #1f1f1f;
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--border-color);
    margin-bottom: 20px;
    line-height: 1;
}

.process-step:hover .step-number {
    color: var(--accent-gray);
}

.step-content h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: #1f1f1f;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-white);
}

.testimonial-quote {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info h3.testimonial-name {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

/* ===== Stats Counter ===== */
.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    display: inline;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

/* ===== Floating Buttons ===== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--bg-dark);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo p {
    color: var(--text-lighter);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-lighter);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 50px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.5) 100%);
    }
    
    .hero-video-bg {
        opacity: 0.8;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    section {
        padding: 70px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image::after {
        display: none;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-images {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 90px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .back-to-top {
        bottom: 25px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .contact-form {
        padding: 24px;
    }
}
