/* ----------------------------------------------------
   GLOBAL BASE STYLES
---------------------------------------------------- */

/* ----------------------------------
   Jeff Potter Photography
   Version 0.1
   Core site design finalized
---------------------------------- */

body {
    margin: 0;
    padding: 0;
    background: #e6e6e6; /* Soft cool gray */
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #222;
    line-height: 1.6;
}

/* Smooth rendering */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------------------
   NAVIGATION
---------------------------------------------------- */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 40px;
    border-bottom: 1px solid #d0d0d0;
}

.logo {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-decoration: none;
    color: #222;
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #000;
}

/* ----------------------------------------------------
   PAGE LAYOUT
---------------------------------------------------- */

.page {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
}

.page h1,
.page h2 {
    font-size: 2em;
    font-weight: 300;
    margin-bottom: 10px;
}

.page p {
    color: #333;
}

/* ----------------------------------------------------
   HOMEPAGE HERO
---------------------------------------------------- */

.home-hero {
    text-align: center;
    padding: 140px 20px 70px;
}

.home-hero h1 {
    font-size: 2.4rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.hero-text {
    font-size: 1.1rem;
    color: #444;
}

.home-slideshow {
    width: min(100%, 1100px);
    height: clamp(280px, 62vh, 680px);
    margin: 50px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-slideshow img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 1.5s ease;
}

.home-slideshow img.is-transitioning {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .home-slideshow img {
        transition: none;
    }
}

/* ----------------------------------------------------
   GALLERY GRID
---------------------------------------------------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 22px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

/* ----------------------------------------------------
   BLOG LIST
---------------------------------------------------- */

.blog-list {
    margin-top: 40px;
}

.blog-item {
    margin-bottom: 40px;
}

.blog-item h2 a {
    text-decoration: none;
    color: #222;
}

.blog-item h2 a:hover {
    color: #000;
}

.blog-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.blog-excerpt {
    color: #555;
}

/* ----------------------------------------------------
   BLOG POST
---------------------------------------------------- */

.blog-image {
    width: 100%;
    margin: 30px 0;
}

/* ----------------------------------------------------
   RESPONSIVE TWEAKS
---------------------------------------------------- */

@media (max-width: 600px) {
    .nav {
        padding: 18px 20px;
    }

    .nav-links a {
        margin-left: 18px;
    }

    .home-hero {
        padding: 100px 20px 50px;
    }

    .home-hero h1 {
        font-size: 2rem;
    }

    .page {
        margin: 60px auto;
    }
}
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.icon-link svg {
    transition: stroke 0.2s ease;
}

.icon-link:hover svg {
    stroke: #000;
}
.icon-link svg {
    transition: stroke 0.2s ease;
}

.icon-link:hover svg {
    stroke: #000;
}
.nav-links .icon-link {
    display: inline-flex;
    align-items: center;
    margin-left: 18px; /* spacing between icons and text links */
    transform: translateY(5px);
}

.nav-links .icon-link svg {
    transition: stroke 0.2s ease;
}

.nav-links .icon-link:hover svg {
    stroke: #000;
}
/* ----------------------------------
   BLOG
---------------------------------- */

.blog-category {
    margin-top: 50px;
}

.blog-category h2 {
    font-weight: 300;
    margin-bottom: 15px;
    border-bottom: 1px solid #d0d0d0;
    padding-bottom: 8px;
}

.blog-category ul {
    list-style: none;
    padding-left: 0;
}

.blog-category li {
    margin-bottom: 12px;
}

.blog-category a {
    text-decoration: none;
    color: #222;
}

.blog-category a:hover {
    color: #000;
}
/* ----------------------------------
   GALLERY LANDING PAGE
---------------------------------- */

.gallery-preview {
    margin-top: 70px;
    margin-bottom: 90px;
}

.gallery-preview img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.gallery-preview h2 {
    font-weight: 300;
    margin-bottom: 10px;
}

.gallery-link {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

.gallery-link:hover {
    color: #000;
}
/* ----------------------------------
   AWARD WINNING GALLERY
---------------------------------- */

.award-gallery img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto 70px auto;
}

.vertical-image {
    max-width: 600px !important;
}



/* ----------------------------------
   BLACK & WHITE LANDSCAPE GALLERY
---------------------------------- */

.bw-gallery {
    text-align: center;
}

.bw-gallery img {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 0 auto 100px auto;
}

.bw-gallery .vertical-image {
    max-width: 500px;
}

/* ----------------------------------
   COLOR LANDSCAPE GALLERY
---------------------------------- */

.color-gallery {
    text-align: center;
}

.color-gallery img {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 0 auto 100px auto;
}

.color-gallery .vertical-image {
    max-width: 500px;
}
/* ----------------------------------
   STREET GALLERY
---------------------------------- */

.street-gallery {
    text-align: center;
}

.street-gallery img {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 0 auto 100px auto;
}

.street-gallery .vertical-image img {
    max-width: 500px;
}
/* ----------------------------------
   INDIA GALLERY
---------------------------------- */

.india-gallery {
    text-align: center;
}

.india-gallery img {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 0 auto 100px auto;
}

.india-gallery .vertical-image {
    max-width: 500px;
}


/* ----------------------------------
   GALLERY ITEM STYLES
---------------------------------- */

/* ----------------------------------
   AWARD WINNING GALLERY
---------------------------------- */

.award-gallery {
    text-align: center;
}

.gallery-item {
    margin-bottom: 80px;
}

.award-gallery img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto 8px auto;
}

.vertical-image {
    max-width: 700px !important;
}

.image-info {
    text-align: center;
    margin-top: 0;
}

.image-info h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: #222;
}

.image-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 2px 0 0 0;
}

/* ----------------------------------
   LIGHTBOX
---------------------------------- */

.lightbox {
    /* Layout properties */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    /* Transition properties */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* This class is added/removed by your JavaScript */
.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw !important;
    max-height: 90vh !important;
    width: auto !important;
    height: auto !important;
}


/* ----------------------------------
   BLACK & WHITE LANDSCAPE GALLERY
---------------------------------- */
.bw-gallery {
    text-align: center;
}

.bw-gallery img {
    width: 100%;
    max-width: 700px;   /* adjust to taste */
    height: auto;
    display: block;
    margin: 0 auto 8px auto;
}

/* ----------------------------------
   COLOR LANDSCAPE GALLERY
---------------------------------- */

.color-gallery {
    text-align: center;
}

.color-gallery img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto 8px auto;
}

.color-gallery .vertical-image {
    max-width: 500px;
}
/* ----------------------------------
   STREET PHOTOGRAPHY GALLERY
---------------------------------- */

.street-gallery {
    text-align: center;
}

.street-gallery img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto 8px auto;
    cursor: zoom-in;
}

.street-gallery .vertical-image img {
    max-width: 500px;
}

.street-gallery .vertical-image {
    max-width: none !important;
}

.gallery-item {
    margin-bottom: 80px;
}

.image-info {
    text-align: center;
    margin-top: 0;
}

.image-info h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: #222;
}

.image-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 2px 0 0 0;
}
/* ----------------------------------
   STREET PHOTOGRAPHY - INDIA GALLERY
---------------------------------- */

.india-gallery {
    text-align: center;
}

.india-gallery img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto 8px auto;
    cursor: zoom-in;
}

.india-gallery .vertical-image {
    max-width: 500px;
}
/* ----------------------------------
   BLOG PAGE
---------------------------------- */

.coming-soon {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #d0d0d0;
}

.coming-soon h2 {
    font-weight: 300;
    margin-bottom: 15px;
}

.coming-soon p {
    margin-bottom: 0;
}

.page {
    max-width: 800px;
    margin: 0 auto;
}
