@import url('https://fonts.googleapis.com/css2?family=Anek+Gujarati:wght@100..800&display=swap');

/* =============================================
   COLOR SCHEME
   White:      #FFFFFF
   Black:      #000000
   Light Gray: #F5F5F5
   Mid Gray:   #D9D9D9
   Dark Gray:  #5C5C5C
============================================= */

/* =============================================
   BASE STYLES
   Default layout targets 768px and wider
============================================= */

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

body {
    font-family: 'Anek Gujarati', sans-serif;
    font-weight: 300;
    background-color: #F5F5F5;
    color: #000000;
    line-height: 1.6;
}

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

h1 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 10px;
}

h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
}

h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
}

p {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.8;
}

/* =============================================
   NAVIGATION
============================================= */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo a {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
}

.nav-logo a:hover {
    color: #5C5C5C;
}

.nav-links {
    display: flex;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    font-weight: 300;
    transition: color 0.3s ease;
}

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

.nav-links a.active {
    color: #5C5C5C;
    font-weight: 400;
    text-decoration: underline;
}

/* =============================================
   HERO BANNER (Homepage)
============================================= */

.hero-banner {
    background-color: #FFFFFF;
    padding: 80px 60px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
}

/* =============================================
   PHOTO COLLAGE
============================================= */

.photo-collage {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-collage img {
    position: absolute;
    object-fit: cover;
    border: 5px solid #FFFFFF;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.photo-collage img:hover {
    transform: scale(1.05) rotate(0deg) !important;
    opacity: 1 !important;
    z-index: 10;
}

.collage-center {
    width: 320px;
    height: 260px;
    z-index: 3;
    transform: rotate(-2deg);
}

.collage-left {
    width: 260px;
    height: 200px;
    left: 0px;
    top: 40px;
    z-index: 2;
    transform: rotate(-8deg);
    opacity: 0.85;
}

.collage-right {
    width: 260px;
    height: 200px;
    right: 0px;
    top: 40px;
    z-index: 2;
    transform: rotate(8deg);
    opacity: 0.85;
}

/* =============================================
   HERO TEXT
============================================= */

.hero-text {
    text-align: center;
}

.subheading {
    font-size: 22px;
    font-weight: 300;
    color: #5C5C5C;
}

/* =============================================
   ABOUT SECTION
============================================= */

.about-section {
    background-color: #FFFFFF;
    padding: 80px 60px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text {
    max-width: 550px;
}

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

/* =============================================
   BUTTON
============================================= */

.button {
    display: inline-block;
    padding: 20px 60px;
    border-radius: 50px;
    background-color: #D9D9D9;
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    font-weight: 300;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background-color: #5C5C5C;
    color: #FFFFFF;
}

/* =============================================
   WORKS / GALLERY SECTION
============================================= */

.works-section {
    background-color: #F5F5F5;
    padding: 80px 60px;
    text-align: center;
}

.works-title {
    font-size: 48px;
    font-weight: 200;
    color: #D9D9D9;
    letter-spacing: 10px;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    background-color: #D9D9D9;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-item:hover img {
    opacity: 0.8;
}

/* =============================================
   PROJECTS PAGE
============================================= */

.page-header {
    background-color: #F5F5F5;
    padding: 80px 60px;
    text-align: center;
}

.page-title {
    font-size: 60px;
    font-weight: 200;
    letter-spacing: 12px;
    color: #000000;
}

.projects-grid-section {
    background-color: #FFFFFF;
    padding: 80px 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    text-decoration: none;
    color: #000000;
    display: block;
}

.project-image {
    width: 100%;
    height: 420px;
    background-color: #D9D9D9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image {
    transform: translateY(-8px);
}

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

.project-info {
    padding: 16px 8px;
    text-align: center;
}

.project-info p {
    font-size: 16px;
    color: #5C5C5C;
}

/* =============================================
   PHOTOGRAPHY PAGE
============================================= */

.photography-banner {
    position: relative;
    height: 550px;
    overflow: hidden;
    background-color: #000000;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.photography-banner:hover .banner-image {
    opacity: 0.85;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-size: 64px;
    font-weight: 200;
    color: #FFFFFF;
    letter-spacing: 8px;
}

.photography-gallery-section {
    background-color: #FFFFFF;
    padding: 60px 40px;
}

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
    max-width: 1600px;
    margin: 0 auto;
}

.masonry-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #D9D9D9;
    transition: opacity 0.3s ease;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.masonry-item:hover {
    opacity: 0.85;
}

/* Masonry size variants */
.masonry-item.small     { grid-row: span 1; grid-column: span 1; }
.masonry-item.small-h   { grid-row: span 1; grid-column: span 1; }
.masonry-item.medium    { grid-row: span 1; grid-column: span 1; }
.masonry-item.medium-h  { grid-row: span 1; grid-column: span 2; }
.masonry-item.large-h   { grid-row: span 1; grid-column: span 2; }
.masonry-item.large-v   { grid-row: span 2; grid-column: span 1; }
.masonry-item.large     { grid-row: span 2; grid-column: span 2; }

/* =============================================
   MEDIA QUERY — 768px AND UNDER
============================================= */

@media (max-width: 768px) {

    nav {
        padding: 20px 30px;
    }

    .nav-links {
        gap: 25px;
    }

    .hero-banner {
        padding: 50px 30px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-section {
        padding: 60px 30px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-text {
        max-width: 100%;
    }

    .works-section {
        padding: 60px 30px;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-header {
        padding: 60px 30px;
    }

    .projects-grid-section {
        padding: 60px 30px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photography-banner {
        height: 380px;
    }

    .banner-title {
        font-size: 44px;
    }

    .photography-gallery-section {
        padding: 40px 20px;
    }

    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .masonry-item.medium-h,
    .masonry-item.large-h,
    .masonry-item.large-v,
    .masonry-item.large {
        grid-row: span 1;
        grid-column: span 1;
    }

}

/* =============================================
   MEDIA QUERY — 520px AND UNDER
============================================= */

@media (max-width: 520px) {

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .collage-left,
    .collage-right {
        display: none;
    }

    .collage-center {
        position: static;
        width: 90%;
        height: auto;
        transform: none;
    }

    .works-title {
        font-size: 32px;
        letter-spacing: 6px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-title {
        font-size: 38px;
        letter-spacing: 6px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .photography-banner {
        height: 280px;
    }

    .banner-title {
        font-size: 32px;
    }

    .masonry-gallery {
        grid-template-columns: 1fr;
    }

    .masonry-item.small,
    .masonry-item.small-h,
    .masonry-item.medium,
    .masonry-item.medium-h,
    .masonry-item.large-h,
    .masonry-item.large-v,
    .masonry-item.large {
        grid-row: span 1;
        grid-column: span 1;
    }

}