:root {
    --primary-color: #6610f2;
    --secondary-color: #212529;
    --text-color: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

/* Navbar */
.navbar {
    background-color: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand i {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(33, 37, 41, 0.8), 
        rgba(33, 37, 41, 0.9)
    );
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
}

/* Text Styles */
.text-gradient {
    background: var(--primary-color);
    background: -webkit-linear-gradient(45deg, var(--primary-color), #6f42c1);
    background: linear-gradient(45deg, var(--primary-color), #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

h1.text-gradient {
    font-weight: 700;
    letter-spacing: -1px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--text-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Portfolio Grid */
.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-description {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-top: 1rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.1);
}

.video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.play-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;
    transition: background 0.3s ease;
}

.play-overlay i {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.video-container:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-container:hover .play-overlay i {
    transform: scale(1.2);
}

/* Video Modal */
.modal-content {
    background: transparent !important;
    border: none;
}

.modal-header {
    position: relative;
    z-index: 1;
    padding: 0.5rem;
}

.btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}

.modal-body {
    padding: 0 !important;
}

.ratio-16x9 {
    --bs-aspect-ratio: 56.25%;
}

/* Contact Form */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: none;
    color: var(--text-color);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--primary-color);
}

.contact-info-item {
    color: var(--text-color);
}

.contact-info-item h3 {
    color: var(--text-color);
    margin-top: 1rem;
}

.contact-info-item p {
    color: var(--text-color);
    opacity: 0.9;
}

/* Social Links */
.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

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

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .portfolio-item {
        margin-bottom: 2rem;
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #520dc2;
    border-color: #520dc2;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

section#home {
    padding: 0;
}

section#about {
    padding-top: 2rem;
}

/* About Section */
.about-content {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
}

/* Project Items */
.project-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease, background 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.project-content h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.project-description {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
} 