/* Reset and Base 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.5;
    color: #1a1a1a;
    background: #fafafa;
    font-weight: 300;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

h1 { font-size: 4rem; font-weight: 100; }
h2 { font-size: 2.5rem; font-weight: 200; }
h3 { font-size: 1.8rem; font-weight: 300; }
h4 { font-size: 1.2rem; font-weight: 400; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.logo {
    height: 80px;
    width: auto;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #666;
    transform: translateY(-1px);
}

/* Hero Section - Business Card Style */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    gap: 4rem;
}

.hero-content {
    padding: 2rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    line-height: 0.9;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-image {
    position: relative;
    height: 600px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: center top;
    transform: translateY(0px);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
}

.cta-button:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Sections */
.section {
    padding: 6rem 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

/* Credentials */
.credentials {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0;
    font-size: 0.85rem;
    color: #999;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Work Section */
.work-section {
    background: white;
    padding: 8rem 0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 4rem;
    background: #f0f0f0;
}

.work-item {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    background: #000;
}

.work-item .video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.work-item .video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    z-index: 2;
    opacity: 1;
}

.work-item .video-container.playing .video-preview {
    opacity: 0;
}

.work-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: transform 0.3s ease;
}

.work-item .video-container.playing video {
    opacity: 1;
}

.work-item:hover video {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 4;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h4 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.work-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* About Section */
.about-section {
    background: #f8f8f8;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
}

.services-list h3 {
    margin-bottom: 2rem;
    font-weight: 300;
}

.services-list ul {
    list-style: none;
}

.services-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #666;
    font-weight: 300;
}

.services-list li:last-child {
    border-bottom: none;
}

/* Showcase Section */
.showcase-section {
    background: white;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.showcase-item {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: 2px;
    background: #000;
}

.showcase-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.showcase-item:hover video {
    opacity: 0.8;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    z-index: 2;
    opacity: 1;
}

.video-container.playing .video-preview {
    opacity: 0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid #333;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-container.playing .video-preview {
    opacity: 0;
    pointer-events: none;
}

.video-container.playing .play-button {
    opacity: 0;
    pointer-events: none;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
}

.video-container.playing video {
    opacity: 1;
}

.showcase-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 4;
}

.showcase-item:hover .showcase-info {
    transform: translateY(0);
}

.showcase-info h4 {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0.3rem;
}

.showcase-info p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 200;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    font-size: 1rem;
    font-weight: 300;
}



/* Contact Section */
.contact-section {
    background: #f8f8f8;
    padding: 8rem 0;
}

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

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    color: #666;
}

.contact-details {
    margin-top: 3rem;
}

.contact-details h3 {
    margin-bottom: 1rem;
    font-weight: 300;
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 300;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 300;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a1a1a;
    background: white;
}

.security-check {
    background: #f0f0f0;
    padding: 1.5rem;
    border-radius: 0;
    margin: 2rem 0;
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #333;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 4rem 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

footer p {
    font-size: 0.8rem;
    color: #666;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        height: 400px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}


/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none; }
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}
