/* ========================= */
/* RESET */
/* ========================= */

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

/* ========================= */
/* BODY */
/* ========================= */

body {
    font-family: Georgia, serif;
    background-color: #f8f8f8;
    color: #111;
    overflow-x: hidden;
}

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

header {
    padding: 35px 0;
}

.nav-links {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1.3rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.5;
}

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

.hero {
    text-align: center;
    padding-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
}
.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    margin-bottom: 10px;
}

.hero h2 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin-bottom: 20px;
    font-weight: normal;
}

.tagline {
    max-width: 550px;
    margin: auto;

    font-size: 1rem;
    line-height: 1.6;

    color: #555;
}

/* ========================= */
/* SCROLL GALLERY */
/* ========================= */

.portfolio-preview {
    margin-top: 50px;
}

.scroll-gallery {
    display: flex;

    gap: 20px;

    overflow-x: auto;

    scroll-behavior: smooth;

    padding: 20px 40px;
}

/* Scrollbar Styling */

.scroll-gallery::-webkit-scrollbar {
    height: 8px;
}

.scroll-gallery::-webkit-scrollbar-thumb {
    background: #aaa;
}

.scroll-gallery::-webkit-scrollbar-track {
    background: transparent;
}

/* Images */

.scroll-gallery img {
    width: 320px;
    height: 420px;

    object-fit: cover;

    flex-shrink: 0;

    transition: transform 0.3s ease;
}

.scroll-gallery img:hover {
    transform: scale(1.02);
}

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

.gallery-link {
    text-align: center;
    margin: 50px 0 100px;
}

.gallery-btn {
    display: inline-block;

    padding: 14px 35px;

    border: 2px solid black;

    text-decoration: none;

    color: black;

    font-size: 1rem;
    font-weight: 600;

    transition: 0.3s ease;
}

.gallery-btn:hover {
    background-color: black;
    color: white;
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px) {

    .nav-links {
        flex-wrap: wrap;
        gap: 20px;
    }

    .scroll-gallery {
        padding: 20px;
    }

    .scroll-gallery img {
        width: 220px;
        height: 300px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }
}


/* ========================= */
/* ABOUT PAGE */
/* ========================= */

.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.about-page h1 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3rem;
    font-weight: normal;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: normal;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
    font-size: 1rem;
}

/* Mobile */

@media (max-width: 900px) {

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-image img {
        max-width: 350px;
    }

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

/* ========================= */
/* CONTACT PAGE */
/* ========================= */

.contact-page {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 80px 20px;
}

.contact-card {
    width: 100%;
    max-width: 650px;

    border: 1px solid #ddd;

    padding: 60px;

    text-align: center;

    background: white;
}

.contact-card h1 {
    font-size: 3rem;
    font-weight: normal;

    margin-bottom: 50px;
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item p {
    font-size: 1rem;
    color: #555;
}

.contact-item a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.contact-item a:hover {
    color: rgb(92, 71, 64);
}


.portfolio-card {
    max-width: 1400px;

    margin: 50px auto 100px;

    padding: 50px;

    background-image: url("images/oldpaper.jpg");
    background-size: cover;
    background-position: center;

    border: 1px solid rgba(0,0,0,0.1);

    box-shadow: 100px 10px 30px rgba(0,0,0,0.08);
    
}

.logo {
    width: 120px;
    height: 120px;

    object-fit: contain;

    display: block;

    margin: 20px auto;
}