/* ===============================
   BASE STYLES
=============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family:"Helvetica Neue", Arial, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    font-weight: 300;
}

h1 {
    font-size: 8rem;
    font-weight: 300;
    letter-spacing: -3px;
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    letter-spacing: -1px;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 80px;
}

/* ===============================
   SCROLL FADE-IN
=============================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.9s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   TOP BAR
=============================== */
.top-left, .top-right {
    position: fixed;
    top: 1.2rem;
    font-size: 14px;
    z-index: 11;
    color: #999;
    letter-spacing: 0.5px;
}

.top-left {
    left: 30px;
}

.top-right {
    right: 30px;
    font-family: monospace;
}

/* ===============================
   NAVIGATION
=============================== */
.project-menu {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.2rem;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,0.45);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    z-index: 10;
}

.project-menu a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.project-menu a:hover {
    color: #fff;
}

/* ===============================
   HERO
=============================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    animation: zoomIn 25s ease-in-out forwards;
}

@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    padding-left: 80px;
    max-width: 800px;
}

.hero-text h1 {
    font-size: clamp(60px, 10vw, 140px);
    margin: 0;
    line-height: 0.9;
}

.hero-text p {
    font-size: clamp(18px, 2vw, 24px);
    color: #ffffff;
    margin: 40px 0;
    font-weight: 300;
}

.button {
    display: inline-block;
    background: white;
    color: black;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.button:hover {
    transform: scale(1.05);
    background: #eee;
}

.linkedin-icon {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    width: 40px;
    height: 40px;
    z-index: 2;
    transition: 0.3s;
}

.linkedin-icon:hover {
    transform: scale(1.1);
}

/* ===============================
   PROJECTS - MINIMAL THEME
=============================== */
.projects {
    background: #0a0a0a;
    padding: 160px 80px;
    max-width: 1600px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    gap: 60px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 80px;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-card:hover {
    opacity: 0.85;
}

.project-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #000;
    border-radius: 4px;
    border: 1px solid #1a1a1a;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.project-card:hover .project-image-container img {
    transform: scale(1.02);
}

.project-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-info h3 {
    margin: 0;
    font-size: 22px;
    color: #e0e0e0;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.project-info p {
    margin: 0;
    font-size: 15px;
    color: #999;
    line-height: 1.6;
    font-weight: 300;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.tags span {
    background: transparent;
    color: #666;
    padding: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-right: 1px solid #333;
    padding-right: 10px;
}

.tags span:last-child {
    border-right: none;
    padding-right: 0;
}

/* ===============================
   GALLERY - MINIMAL THEME
=============================== */
.gallery {
    background: #0a0a0a;
    padding: 160px 80px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.tab-button {
    background: transparent;
    border: 1px solid #333;
    color: #999;
    padding: 12px 32px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.tab-button.active {
    background: transparent;
    color: #e0e0e0;
    border-color: #666;
}

.tab-button:hover {
    border-color: #666;
    color: #e0e0e0;
}

/* Grid */
.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
}

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

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.3s;
    cursor: pointer;
    border: 1px solid #1a1a1a;
}

.gallery-grid img:hover {
    opacity: 0.85;
}

.photography-portfolio {
    text-align: center;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #1a1a1a;
}

.photography-portfolio a {
    color: #e0e0e0;
    text-decoration: none;
}

.photography-portfolio h3 {
    font-size: 20px;
    font-weight: 400;
    display: inline-block;
    padding-bottom: 8px;
    transition: color 0.3s;
    color: #e0e0e0;
}

.photography-portfolio h3:hover {
    color: #fff;
}

/* ===============================
   LIGHTBOX
=============================== */
body.lightbox-open {
    overflow: hidden !important;
}


.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 200;
    overflow: hidden;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 4px;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    color: #fff;
    cursor: pointer;
    border: none;
    background: rgba(255,255,255,.1);
    border-radius: 4px;
    padding: 16px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.3s;
    z-index: 201;
}

.lightbox-close:hover {
    background: rgba(255,255,255,.2);
}

.lightbox .arrow {
    position: fixed;
    color: #fff;
    cursor: pointer;
    border: none;
    background: rgba(255,255,255,.1);
    border-radius: 4px;
    padding: 16px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.3s;
    z-index: 201;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox .arrow:hover {
    background: rgba(255,255,255,.2);
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        padding: 12px;
    }
    
    .lightbox .arrow {
        width: 44px;
        height: 44px;
        padding: 12px;
    }
    
    .arrow.left {
        left: 10px;
    }
    
    .arrow.right {
        right: 10px;
    }
}

/* ===============================
   MOVIES
=============================== */
.movies {
  background: #0a0a0a;
  padding: 160px 80px;
  text-align: center;
  max-width: 1600px;
  margin: 0 auto;
}

.movie-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}

.movie-card .poster {
  width: 300px;
  height: 420px;
  flex: 0 0 300px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #1a1a1a;
}

.movie-content {
  max-width: 680px;
}

.cast-row {
  display: flex;
  gap: 12px;
  margin: 1rem 0;
}

.cast {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #333;
}

.movie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0.8rem;
}

.movie-btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.movie-btn.imdb {
  background: #f5c518;
  color: #000;
}

.movie-btn.lb {
  background: #14181c;
  color: #ffffff;
  border: 1px solid #333;
}

.stars {
  color: #00C030;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.fav-cinema {
  text-align: center;
  margin-top: 40px;
  color: #999;
  font-size: 16px;
  font-weight: 300;
}

/* Mobile layout for Favorite Movies section */
@media (max-width: 768px) {
    .movie-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .movie-card.reverse {
        flex-direction: column;
    }

    .movie-card .poster {
        width: 200px;
        height: 280px;
        margin: 0 auto;
    }

    .movie-content {
        max-width: 100%;
    }

    .cast-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cast {
        width: 45px;
        height: 45px;
    }

    .movie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .movie-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* ===============================
   ABOUT - MINIMAL THEME
=============================== */
.about {
    padding: 160px 80px;
    background: #0a0a0a;
    max-width: 1600px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.about-img {
    flex-shrink: 0;
}

.about-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #333;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #999;
    font-weight: 300;
}

/* ===============================
   FOOTER - MINIMAL THEME
=============================== */
footer {
    text-align: center;
    padding: 120px 80px;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

footer h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

footer p {
    margin-bottom: 10px;
    font-size: 16px;
    color: #666;
}

footer a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

/* Autograph Styling */
.autograph-container {
    margin: 30px auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.autograph {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
    filter: brightness(1.1);
    transition: opacity 0.3s ease;
}

.autograph:hover {
    opacity: 1;
}

.footer-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 60px;
}

.footer-buttons .button {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 12px 32px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.footer-buttons .button:hover {
    background: transparent;
    border-color: #666;
    color: #fff;
    transform: none;
}

/* ===============================
   MOBILE
=============================== */
.mobile-menu-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: none;
    background: none;          
    color: white;
    border: none;
    font-size: 1.8rem;
    width: auto;              
    padding: 0;
    z-index: 12;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70vw;
    background: rgba(0,0,0,.95);
    transform: translateX(100%);
    transition: .35s;
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 2rem;
    z-index: 11;
}

.mobile-nav.show {
    transform: translateX(0);
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    transition: 0.3s;
}

.mobile-nav a:hover {
    opacity: 0.7;
}

/* ===============================
   RESPONSIVE DESIGN
=============================== */
@media (max-width: 1024px) {
    .projects {
        padding: 120px 40px;
    }
    
    .projects-grid {
        gap: 50px;
    }
    
    .about {
        padding: 120px 40px;
    }
    
    .about-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .gallery {
        padding: 120px 40px;
    }
    
    footer {
        padding: 100px 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .project-menu,
    .top-left,
    .top-right {
        display: none;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    .hero-text {
        text-align: center;
        padding-left: 0;
        width: 90%;
        margin: 0 auto;
    }
    
    .projects {
        padding: 100px 24px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .project-image-container {
        height: 250px;
    }
    
    .project-card {
        gap: 20px;
    }
    
    .project-info h3 {
        font-size: 20px;
    }
    
    .project-info p {
        font-size: 14px;
    }
    
    .tags {
        gap: 8px;
    }
    
    .tags span {
        font-size: 11px;
    }
    
    .about {
        padding: 100px 24px;
    }
    
    .about-img img {
        width: 150px;
        height: 150px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .gallery {
        padding: 100px 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 16px;
    }
    
    .gallery-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 60px;
    }
    
    .tab-button {
        width: 100%;
    }
    
    footer {
        padding: 80px 24px;
    }
    
    .autograph {
        max-width: 150px;
    }
    
    .footer-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .footer-buttons .button {
        width: 200px;
    }
}

body.lightbox-open {
    overflow: hidden !important;
}