/* --- VARIABLES & BASE STYLES --- */
:root {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --primary-text: #e0e0e0;
    --secondary-text: #a0a0a0;
    --accent-color: #ffffff;
    --border-color: #2c2c2c;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--primary-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- HEADER & NAVIGATION --- */
header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.desktop-nav {
    display: none; /* Hidden on mobile by default */
}

@media (min-width: 769px) {
    .desktop-nav {
        display: flex;
        gap: 2rem;
    }
    .desktop-nav a {
        font-weight: 400;
        color: var(--secondary-text);
        position: relative;
        padding: 0.5rem 0;
    }
    .desktop-nav a:hover {
        color: var(--accent-color);
    }
    .desktop-nav a.current-page {
        color: var(--accent-color);
        font-weight: 600;
    }
    .desktop-nav a.current-page::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--accent-color);
    }
}

/* --- HERO SECTION --- */
.hero {
    background: url('main.webp') center/cover no-repeat;
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;  
    justify-content: center;
}

.hero-overlay {
    background: linear-gradient(to top, rgba(18, 18, 18, 0.9), rgba(0, 0, 0, 0.3));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Add these three lines to center the content */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 2rem;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--primary-text);
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: #f0f0f0;
}

/* --- GENERAL SECTION STYLING --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
}

.section-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

/* --- ABOUT ME --- */
.about-me p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-text);
}

/* --- PORTFOLIO CATEGORIES --- */
.portfolio-categories {
    background-color: var(--bg-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.category-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    text-align: left;
}

.category-image.cars { background-image: url('photo1.webp'); }
.category-image.architecture { background-image: url('photo2.webp'); }
.category-image.portraits { background-image: url('photo3.webp'); }

/* --- RECENT WORK --- */
.recent-work {
    background-color: var(--surface-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.project-card {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-text);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.project-info p {
    font-size: 1rem;
    color: var(--secondary-text);
}

/* --- FOOTER --- */
footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
}

.footer-designer-link {
    color: var(--primary-text);
    font-weight: 600;
}
.footer-designer-link:hover {
    text-decoration: underline;
}

/* --- MOBILE MENU & HAMBURGER --- */
#hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
    position: relative; /* Ensure it's on top */
}

@media (min-width: 769px) {
    #hamburger {
        display: none;
    }
}

#hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Animate hamburger to an 'X' */
#hamburger.active .bar {
    /* Change bar color to contrast with the open menu */
    background-color: var(--primary-text);
}
#hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
#hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
#hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Full-screen menu */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--surface-color);
    z-index: 1005;

    /* Center the nav links */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Hidden state for animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0s 0.4s;
}

#mobile-menu.open {
    /* Visible state for animation */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Navigation links container */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* Space between buttons */
}

/* Individual links */
.mobile-nav a {
    color: var(--primary-text);
    font-size: 1.5rem; /* Larger font for full screen */
    font-weight: 600;
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: var(--border-color);
}

.mobile-nav a.current-page {
    background-color: var(--accent-color);
    color: var(--bg-color);
}
/* Close Button for Mobile Menu */
#close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--primary-text);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

#close-menu-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* ==== CONTACT HERO ==== */
.contact-hero {
  position: relative;
  height: 70vh;
  background: url('main.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.contact-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1;
}

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

.contact-hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.contact-hero .hero-content p {
  font-size: 1.2rem;
  color: var(--secondary-text, #ccc);
}

/* ==== CONTACT DETAILS SPLIT LAYOUT ==== */
.contact-details-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  padding: 5rem 2rem;
  gap: 4rem;
  color: white;
}

.contact-details-simple h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--accent-color, #ffc107);
  text-align: left;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Card Style */
.contact-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

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

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color, #ffc107);
}

.contact-item p {
  font-size: 0.95rem;
  color: #ddd;
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: var(--accent-color, #ffc107);
  text-decoration: none;
  font-weight: 500;
  word-break: break-word;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Right Side Placeholder (optional graphic or form) */
.contact-details-simple .right-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-column-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  color: #aaa;
  font-style: italic;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
  .contact-details-simple {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-details-simple h2 {
    text-align: center;
  }
  .right-column-placeholder {
    margin-top: 3rem;
  }
}

.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background: linear-gradient(135deg, #0f0f0f, #1f1f1f);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  font-family: 'Rubik', sans-serif;
}

.coming-soon-content {
  max-width: 700px;
  padding: 2rem 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.coming-soon-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fdc829; /* accent yellow */
}

.coming-soon-content p {
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .coming-soon-content h1 {
    font-size: 2.2rem;
  }

  .coming-soon-content p {
    font-size: 1rem;
  }

  .coming-soon-content {
    padding: 1.5rem;
  }
}



















/* Lightbox styles */
#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

#lightbox.active {
  opacity: 1;
  visibility: visible;
}

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  object-fit: contain;
}

#lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 2100;
  line-height: 1;
  padding: 0;
  user-select: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

#lightbox-close:hover {
  color: #ddd;
}
  