*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background-color: #fff;
    line-height: 1.7;
}
img{
    max-width: 100%;
    display: block;
}
a {
    color: inherit;

}
main {
    width:100%;
}
.navbar{
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #f5f1f1;
}
.navbar-container{

    margin: 0 auto;
    padding: 20px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}
.navigation {
    display: flex;
    gap: 20px;
}
.navigation a {
    text-decoration: none;
    font-size: 15px;
    color:rgb(51, 51, 51);
    padding-bottom: 5px;

}
.navigation a.active {
    color: #022514;
    border-bottom: 2px solid #022514;
}
.navigation a:hover{
    color:#022514;
}

.menu-toggle {
    display: none;
    background: none ;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;

    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 30px;
    align-items: center;
}
.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}
.about-text{
    max-width: 600px;
}
.section-label {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: bold;
    color: rgb(131, 128, 128);
    margin-bottom: 10px;
}
.about-text h1 {
    font-size: 25px;
    line-height: 1.10;
    margin-bottom: 20px;

}
.about-text p {
    margin-bottom: 20px;
    color: hsl(151, 40%, 53%);
}
.hero {
    min-height: 90vh;
    background-image: url("../images/camera.avif");background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;

    display: flex;
    align-items: center;

}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: white;
    text-align: center;
}

.hero-label {
    font-size: 40px;
    letter-spacing: 20px;
    margin-bottom: 15px;
}
.hero h1 {
    font-size: 20px;
    line-height: 1.1;
    margin-bottom: 25px;
    
}

.hero-text {
    font-size: 18px;
    margin-bottom: 15px;
}

.hero-specialization {
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}
.hero-button {
    display: inline-block;

    padding: 14px 30px;

    background-color: white;
    color: #111;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.hero-button:hover {
    background-color: #ddd;
    transform: translateY(-2px);
}




.featured-work {
    padding: 100px 8%;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 40px;
}

.featured-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.featured-card {
    text-decoration: none;
    color: #222;
}

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

.featured-card h3 {
    margin-top: 15px;
    font-size: 20px;
}


.testimonials {
    padding: 100px 8%;
    background-color: #f5f5f5;
}

.testimonial-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background-color: white;
    padding: 35px;
}

.testimonial-card .review {
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-card h3 {
    margin-bottom: 5px;
}

.testimonial-card span {
    color: #011309;
    font-size: 14px;
}


.clients {
    padding: 100px 8%;
}

.client-list {
    max-width: 1000px;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 50px;
    flex-wrap: wrap;
}

.client-list span {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #555;
}


.footer {
    background-color: #111;
    color: white;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 50px;

    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-brand h2 {
    margin-bottom: 10px;
}

.footer-brand p {
    color: #aaa;
}

.footer-social h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.social-icons a:hover {
    color: #46010d;
}

.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    padding: 20px;
}

.footer-bottom p {
    color: #e6cfcf;
    font-size: 14px;
}


/* ==================================================
   PORTFOLIO + DETAILS
   Styled to match the Home and About pages
================================================== */

.portfolio-page,
.details-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}

.portfolio-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.portfolio-eyebrow,
.portfolio-category,
.details-category {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: bold;
    color: rgb(131, 128, 128);
    text-transform: uppercase;
}

.portfolio-heading h1 {
    margin: 8px 0 15px;
    font-size: 40px;
    line-height: 1.15;
    color: #222;
}

.portfolio-intro {
    max-width: 620px;
    margin: 0 auto;
    color: #555;
    font-size: 16px;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.portfolio-filter {
    padding: 10px 18px;
    border: 1px solid #d5d5d5;
    background-color: #fff;
    color: #333;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: 0.25s ease;
}

.portfolio-filter:hover {
    border-color: #022514;
    color: #022514;
}

.portfolio-filter.active {
    border-color: #022514;
    background-color: #022514;
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.portfolio-card {
    min-width: 0;
}

.portfolio-card-link {
    display: block;
    color: #222;
    text-decoration: none;
}

.portfolio-image-wrapper {
    height: 400px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.portfolio-card-link:hover .portfolio-image {
    transform: scale(1.025);
}

.portfolio-card-content {
    padding-top: 15px;
}

.portfolio-category {
    margin-bottom: 5px;
}

.portfolio-card-content h2 {
    margin-bottom: 5px;
    font-size: 20px;
    line-height: 1.3;
}

.portfolio-view {
    color: #022514;
    font-size: 14px;
    font-weight: bold;
}

/* Details page */

.details-back {
    display: inline-block;
    margin-bottom: 30px;
    color: #022514;
    text-decoration: none;
    font-weight: bold;
}

.details-back:hover {
    text-decoration: underline;
}

.details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
    gap: 50px;
    align-items: start;
}

.details-image-wrapper {
    background-color: #f5f5f5;
    overflow: hidden;
}

.details-image {
    width: 100%;
    max-height: 760px;
    object-fit: cover;
}

.details-content {
    position: sticky;
    top: 40px;
}

.details-category {
    margin-bottom: 10px;
}

.details-content h1 {
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.15;
}

.details-description {
    margin-bottom: 30px;
    color: #555;
}

.details-information {
    display: grid;
    gap: 15px;
    margin: 0;
}

.details-information div {
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.details-information dt {
    color: rgb(131, 128, 128);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.details-information dd {
    margin: 3px 0 0;
    color: #222;
}

.details-error {
    max-width: 600px;
    padding: 50px 0;
}

.details-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #022514;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.details-button:hover {
    background-color: #01190d;
}

/* ==================================================
   TABLET - 900px and below
================================================== */

@media (max-width: 900px) {
    .navbar-container {
        position: relative;
        flex-wrap: wrap;
        padding: 18px 28px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        font-size: 28px;
        line-height: 1;
    }

    .navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 16px;
        padding-top: 10px;
        border-top: 1px solid #f0eeee;
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        width: 100%;
        padding: 10px 0;
        border-bottom: none;
    }

    .navigation a.active {
        border-bottom: none;
        font-weight: bold;
    }

    .hero {
        min-height: 78vh;
        padding: 80px 35px;
    }

    .hero-content {
        max-width: 620px;
        margin: 0 auto;
    }

    .hero-label {
        font-size: 28px;
        letter-spacing: 10px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .featured-work,
    .testimonials,
    .clients {
        padding: 75px 6%;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .featured-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-card img {
        height: 340px;
    }

    .about-section {
        padding: 75px 30px;
        gap: 35px;
    }

    .about-image img {
        height: 500px;
    }

    .footer-container {
        padding: 0 30px 45px;
    }

    .portfolio-page,
    .details-page {
        padding: 75px 30px;
    }

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

    .portfolio-image-wrapper {
        height: 380px;
    }

    .details-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .details-content {
        position: static;
    }
}

/* ==================================================
   MOBILE - 600px and below
================================================== */

@media (max-width: 600px) {
    .navbar-container {
        padding: 16px 20px;
    }

    .logo {
        font-size: 18px;
    }

    .hero {
        min-height: 72vh;
        padding: 65px 20px;
        background-position: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero-label {
        font-size: 18px;
        letter-spacing: 5px;
        line-height: 1.5;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-specialization {
        font-size: 13px;
        line-height: 1.8;
    }

    .hero-button {
        padding: 12px 24px;
    }

    .featured-work,
    .testimonials,
    .clients {
        padding: 60px 20px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .featured-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .featured-card img {
        height: 320px;
    }

    .testimonial-card {
        padding: 28px;
    }

    .client-list {
        gap: 25px;
    }

    .client-list span {
        width: 100%;
        text-align: center;
    }

    .about-section {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        gap: 30px;
    }

    .about-image img {
        height: 400px;
    }

    .about-text {
        max-width: none;
    }

    .about-text h1 {
        font-size: 30px;
    }

    .footer {
        padding-top: 50px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px 40px;
    }

    .footer-bottom {
        padding: 18px 20px;
    }

    .portfolio-page,
    .details-page {
        padding: 60px 20px;
    }

    .portfolio-heading {
        margin-bottom: 35px;
        text-align: left;
    }

    .portfolio-heading h1 {
        font-size: 32px;
    }

    .portfolio-filters {
        justify-content: flex-start;
        gap: 8px;
        margin-bottom: 30px;
    }

    .portfolio-filter {
        padding: 9px 13px;
        font-size: 13px;
    }

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

    .portfolio-image-wrapper {
        height: 440px;
    }

    .details-content h1 {
        font-size: 30px;
    }
}

@media (max-width: 400px) {
    .portfolio-image-wrapper {
        height: 360px;
    }

    .about-image img {
        height: 340px;
    }
}
