/* Dark Portfolio Theme - Based on the provided screenshot */

/* CSS Variables */
:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #cccccc;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-shrink: 0;
}

.main-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

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

/* Ensure social media icons don't get the navigation underline effect */
.header-social-link::after {
    display: none !important;
}

/* Header Social Media Icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-shrink: 0;
}

.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.header-social-link:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.2);
}

.header-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.header-social-link.tiktok:hover {
    background: linear-gradient(45deg, #000000 0%, #25f4ee 50%, #fe2c55 100%);
}

.header-social-link.youtube:hover {
    background-color: #ff0000;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Menu Animation */
.hamburger-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 60px);
    padding: 2rem 0;
}

/* Page Header */
.page-header {
    text-align: left;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}



/* Portfolio Sections */
.portfolio-section {
    margin-bottom: 4rem;
    padding: 0 2rem;
}

/* Video and Photo Portfolio Pages */
.video-portfolio,
.photo-portfolio {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: left;
    color: #ffffff;
    letter-spacing: 0.05em;
}

/* Section Title Style Variations */
.section-title-1 {
    /* Default style - already defined above */
}

.section-title-2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: left;
    letter-spacing: 0.1em;
    position: relative;
}



/* Grid Layouts */
.videos-grid,
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

/* Video Items */
.video-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: #1a1a1a;
}

/* YouTube thumbnail specific styling */
.video-thumbnail img[src*="youtube.com"] {
    object-fit: cover;
    background-color: #000;
}

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

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: #666666;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-overlay i {
    font-size: 3rem;
    color: #ffffff;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
    margin: 0;
    color: #ffffff;
}

.video-description {
    padding: 0 1rem 1rem;
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

.video-link {
    display: inline-block;
    margin: 0 1rem 1rem;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    color: #0a0a0a;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.video-link:hover {
    background-color: #f0f0f0;
    color: #0a0a0a;
}

/* Photo Items */
.photo-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.photo-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #1a1a1a;
    cursor: pointer;
}

.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.photo-title {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
    margin: 0;
    color: #ffffff;
}

.photo-description {
    padding: 0 1rem 1rem;
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Content Page */
.content-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content with photo layout */
.content-with-photo {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Rich text content styling */
.page-text {
    line-height: 1.7;
}

.page-text h1, .page-text h2, .page-text h3, .page-text h4, .page-text h5, .page-text h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.page-text h1:first-child, .page-text h2:first-child, .page-text h3:first-child {
    margin-top: 0;
}

.page-text p {
    margin-bottom: 1rem;
}

.page-text ul, .page-text ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-text li {
    margin-bottom: 0.5rem;
}

.page-text a {
    color: #4a9eff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-text a:hover {
    color: #66b3ff;
}

.page-text blockquote {
    border-left: 4px solid #4a9eff;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #cccccc;
}

.page-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-text th, .page-text td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-text th {
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.page-photo {
    flex-shrink: 0;
    width: 300px;
}

.page-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-text {
    flex: 1;
    min-width: 0; /* Prevents text from overflowing */
}

/* Photo positioning */
.photo-left {
    order: 1;
}

.photo-right {
    order: 2;
}

.photo-left + .page-text {
    order: 2;
}

.photo-right + .page-text {
    order: 1;
}

/* Center positioning - full width */
.photo-center-top,
.photo-center-bottom {
    width: 100%;
    margin: 0 0 2rem 0;
}

.photo-center-top img,
.photo-center-bottom img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.photo-center-top {
    margin-bottom: 2rem;
}

.photo-center-bottom {
    margin-top: 2rem;
}

/* Responsive design for content with photos */
@media (max-width: 768px) {
    .content-with-photo {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .page-photo {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .photo-left,
    .photo-right {
        order: 1;
    }
    
    .page-text {
        order: 2;
    }
}

.page-content {
    
    padding: 2rem;
  
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background-color: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-main p {
    font-family: 'Inter', sans-serif;
    color: #666666;
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.2);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.tiktok:hover {
    background: linear-gradient(45deg, #000000 0%, #25f4ee 50%, #fe2c55 100%);
}

.social-link.youtube:hover {
    background-color: #ff0000;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
        flex-direction: row;
        gap: 0;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }
    
    /* Hide regular navigation on mobile */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.nav-open {
        transform: translateX(0);
    }
    
    .main-nav {
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    /* Header social icons positioning on mobile */
    .header-social {
        margin-left: 0;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .header-social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .videos-grid,
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .portfolio-section {
        padding: 0 1rem;
    }
    
    .content-page {
        padding: 0 1rem;
    }
    
    .page-content {
        padding: 1.5rem;
    }
    
    /* Prevent body scroll when menu is open */
    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title-2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .main-nav a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.8;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
