/* ========================================== Home Page ============================================= */
/* Reset */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Arial, sans-serif;background:#111;color:#fff;line-height:1.6}

/* Header */
.site-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: #000;
    position: sticky;
    top: 0;                /* sticks to top */
    z-index: 999;          /* above other elements */
    padding: 10px 20px;     /* optional spacing */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* subtle shadow */ 
}
/*
.logo { font-weight: 700; font-size: 22px; color: #fff; }
.logo span { color: goldenrod; }
*/
.logo img {
    height: 10 px;     
    width: auto;  }     

/* nav-container desktop */
.nav-container { display: flex; align-items: center; gap: 50px; }

/* desktop menu */
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { color: #fff; text-decoration: none; font-size: 16px; transition: .3s; }
nav ul li a:hover { color: goldenrod; }

/* social icons desktop */
.social-icons a img { margin-left: 20px; width: 20px; height: 20px; filter: brightness(0) invert(1); transition: .3s; }
.social-icons a img:hover { filter: brightness(0) invert(0.7); }

/* ----- HAMBURGER BUTTON ----- */
.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; z-index: 15; }
.menu-toggle .bar { width: 26px; height: 3px; background: #fff; transition: 0.3s; }

/* transform hamburger to X */
.menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    /* hide nav by default */
    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        z-index: 9;
    }

    /* show when active */
    .nav-container.show {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .social-icons {
        margin-top: 15px;
        display: flex;
        gap: 15px;
    }

    @keyframes slideDown {
        0% { opacity: 0; transform: translateY(-10px); }
        100% { opacity: 1; transform: translateY(0); }
    }
}

/* Hero */
.hero { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: flex-start; padding-left: 50px; overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.15); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 600px; color: #fff; }
.hero-content h3 { font-size: 20px; margin-bottom: 10px; font-weight: 400; letter-spacing: 1px; color: #fff; }
.hero-content h1 { font-size: 48px; margin-bottom: 20px; font-weight: 700; }
.hero-content h1 span { color: goldenrod; }
.hero-content p { font-size: 18px; line-height: 1.5; margin-bottom: 30px; color: #f5f5f5; }
.cta-buttons a { display: inline-block; padding: 12px 25px; border-radius: 4px; text-decoration: none; font-weight: 600; margin-right: 15px; transition: 0.3s; }
.btn.primary { background-color: goldenrod; color: #fff; }
.btn.primary:hover { background-color: gold; }
.btn.outline { border: 2px solid goldenrod; color: goldenrod; }
.btn.outline:hover { background-color: goldenrod; color: #000; }

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero {
    padding-left: 20px;
    justify-content: center;
    text-align: center;
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content h3 {
    font-size: 18px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .cta-buttons a {
    margin: 10px 5px 0 5px;
    padding: 10px 20px;
  }
}

/* About Me */
.about { padding: 70px 40px; text-align: center; background: #111; }
.about h2 { font-size: 36px; margin-bottom: 15px; color: goldenrod; }
.about .intro { max-width: 700px; margin: 0 auto 40px; font-size: 18px; line-height: 1.6; color: #fff; }

.services-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.service-item {
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  text-align: center; /* centers text and icons inside */
}

/* Images & text */
.service-item h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #7a5bff;
}
.service-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  opacity: 0.9;
}
.service-item p {
  color: #555;
  font-size: 15px;
}

/* Mobile adjustment */
@media (max-width: 600px) {
  .services-boxes {
    grid-template-columns: 1fr; /* one column, full width */
    gap: 20px;
  }
  .service-item {
    padding: 20px; /* smaller padding for small screens */
  }
}


.stats-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .stats-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-box { text-align: center; padding: 20px; }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,0.08); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-img { width: 28px; height: 28px; }
.stat-box h3 { color: goldenrod; font-size: 1.25rem; margin-bottom: 8px; }
.stat-box p { color: #fff; font-size: 15px; }

/* Gallery */
.slider-section {
  padding: 50px 20px;
  text-align: center;
}

.slider-section h2 {
  margin-bottom: 20px;
  font-size: 32px;
  color: goldenrod;
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
}

.slides {
  position: relative;
  height: 500px;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.active {
  display: block;
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.category {
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 5px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  color: white;
  font-size: 24px;
}

.left { left: 10px; }
.right { right: 10px; }

.arrow:hover {
  background: rgba(255,255,255,0.4);
}

.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background: white;
  width: 25px;
  border-radius: 10px;
  transition: 0.3s;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* min width 250px */
  gap: 15px;
  max-width: 1000px;  /* prevents single image from stretching too wide */
  margin: 0 auto;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr; /* single column */
  }
}

/* Contact */
.contact-section { background: #111; padding: 60px 20px; color: #fff; }
.contact-container { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 280px; }
.contact-info h2 { font-size: 28px; margin-bottom: 15px; color: goldenrod; }
.contact-text { margin-bottom: 20px; line-height: 1.6; }
.contact-details li { margin-bottom: 10px; list-style: none; }
.contact-social { margin-top: 15px; display: flex; gap: 15px; }
.contact-social img { margin-right:20px; width: 22px; height: 22px; filter: brightness(0) invert(1); transition: .3s; }
.contact-social img:hover { filter: brightness(0) invert(0.7); }
.contact-map img { width: 350px; height: auto; border-radius: 10px; object-fit: cover; }

/* Mobile */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: left;
    }

    .contact-map img {
        width: 100%;
        margin-top: 20px;
    }
}

/* Footer */
.site-footer{padding:20px;text-align:center;background:#000;color:#aaa;font-size:14px}

/* Responsive */
@media(max-width:768px){
  .hero-content h1{font-size:32px}
  .hero-content p{font-size:16px}
  .site-header nav ul{flex-direction:column;gap:10px}
}

/* ======================================== Services Page ============================================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

/* Header */
.header h1 {
  color: goldenrod;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.header p {
  color: #a1a1aa;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 4rem 0;
}

@media(min-width: 768px){
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px){
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  overflow: hidden;
  transition: border 0.3s;
}

.service-card:hover {
  border-color: #3f3f46;
}

.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  background-color: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 24px;
  height: 24px;
}

.service-info {
  padding: 1rem;
}

.service-info h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

.service-info p {
  font-size: 0.9rem;
  color: #a1a1aa;
}

/* Gallery */
.gallery-section {
  margin-bottom: 4rem;
}

.gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.gallery-section p {
  color: #a1a1aa;
  max-width: 700px;
  margin: auto;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media(min-width: 768px){
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px){
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 1.5rem;
  text-align: center;
}

/* Contact Section */
.contact-section {
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 2rem;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Desktop: side-by-side */
@media(min-width: 1024px){
  .contact-container {
    flex-direction: row;
    gap: 4rem;
  }
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  text-wrap: pretty;
  color: #a1a1aa;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap; /* allow icon & text to wrap */
}

/* Make icon fixed size */
.info-item img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

/* Ensure text wraps properly */
.info-item div {
  min-width: 0; /* prevents overflow */
}

.info-item h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.info-item p {
  color: #a1a1aa;
  margin: 0.2rem 0 0 0;
  word-break: break-word; /* wrap long text or emails */
}

/* Stack icon above text on small screens */
@media (max-width: 480px) {
  .info-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-item img {
    margin-bottom: 0.5rem;
  }
}

/* Contact Form */
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.3rem;
  color: #fff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  background-color: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 4px;
  color: #fff;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 0.8rem;
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #e5e5e5;
}

/* ==================================== Blog Page ===============================================*/
.featured-post {
  display: flex;
  flex-direction: column; /* stacked always */
  background-color: #27272a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  margin-bottom: 2rem;
}

.featured-post .blog-feature-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}

.featured-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: #fff;
  align-items: flex-start; 
}

.featured-content .category {
  display: inline-block;
  background-color: #000;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.featured-content .category a {
  color: #fff; 
  text-decoration: none;
}

.featured-content h2 {
  font-size: 1.5rem;
  margin: 0;
}

.featured-content p {
  color: #d4d4d8;
  margin: 0.5rem 0;
}

.meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #a1a1aa;
}

.read-more {
  margin-top: 1rem;
  display: inline-block;
  color: #fff; 
  text-decoration: none; 
  font-size: 16px; 
  transition: .3s;
}

.read-more:hover {
  color: #9c7eff; 
}

.recent-posts {
  margin-top: 4rem;
}

.recent-posts h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
}

.recent-posts .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media(min-width: 768px) {
  .recent-posts .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .recent-posts .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
}

.blog-recent-img {
  width: 100%;
  aspect-ratio: 16/9; /* keeps consistent card image height */
  object-fit: cover;
}

.post-card .category {
  display: inline-block;
  background-color: #000;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 1rem;
}

.post-card .category a {
  color: #fff; 
  text-decoration: none;
}

.post-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin: 0.25rem 1rem 0.5rem 1rem;
}

.post-card p {
  color: #a1a1aa;
  font-size: 0.9rem;
  margin: 0 1rem 1rem 1rem;
}

.post-card .meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: #71717a;
  margin: 0 1rem 1rem 1rem;
}

.post-card .read-more {
  display: inline-block;
  margin: 0 1rem 1rem 1rem;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.post-card .read-more:hover {
  color: #a1a1aa;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.chip {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: #27272a;
  color: #eee;
  border: 1px solid #3f3f46;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
}
.chip.active {
  background: #fff;
  color: #000;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.portfolio-item {
  overflow: hidden;
  border-radius: 12px;
}

.portfolio-img {
  width: 100%;
  height: 250px;          /* fixed height for uniformity */
  object-fit: cover;      /* maintain aspect ratio, crop if needed */
  display: block;
}

/* Optional: adjust grid for larger screens */
@media (min-width: 600px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Photographer Intro Section */
.photographer-intro {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap; /* Allows stacking on mobile */
    justify-content: center;
}

.portrait-wrapper {
    flex: 0 0 250px; /* fixed width on desktop */
}

.portrait-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text {
    max-width: 600px;
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .photographer-intro {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}

.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  padding: 10px 15px;
  margin: 0 5px;
  background: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
}

.pagination .current {
  background: #7a5bff;
  color: #fff;
}

.single-post-content {
    max-width: 750px;
    margin: 50px auto;
    padding: 0 20px;
}

.single-post-content .post-title {
  font-size: 34px;
  color: #333;
  margin-bottom: 10px;
}

.single-post-content .featured-img img {
  width: 100%;
  max-width: 100%;
  height: auto;             /* Maintains aspect ratio */
  object-fit: cover;        /* Makes images visually consistent */
  border-radius: 10px;      /* Optional: smooth corners */
  display: block;
  margin: 20px 0;
}

.single-post-content .post-content p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}


