
body {
  
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.8;
    background-color: hsl(204, 46%, 70%);
    margin: 0;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
    color: white;
    letter-spacing: 2px;
    text-transform: none;
    margin-top: 0;
}

#home h1 {
    font-family: 'Arial', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-top: 0px;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.0rem;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
    letter-spacing: 5px;
}

/* Navigation */
nav {
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 70%, rgba(0,0,0,0));
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    border-bottom: 1px solid white;
}

/* Sections */
.page-section {
    display: none;
    min-height: 100vh;
    padding-top: 180px;  
    box-sizing: border-box;
    text-align: center;  
}

.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slideshow */
.slideshow-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 60vh;
    margin: auto;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 2s ease-in-out;
}

.slide.showing {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: hsl(204, 46%, 70%);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.category-card {
    position: relative;
    height: 250px;       
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
}

.category-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover img {
    transform: scale(1.1);
    filter: brightness(50%);
}

.category-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.back-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: white;
    color: black;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* About Section Classes */
.about-container { 
    max-width: 1000px; 
    margin: auto; 
    padding: 40px 20px; 
}

.about-flex { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 40px; 
    align-items: flex-start;
}

.about-image-wrapper { 
    flex: 1; 
    min-width: 300px; 
}

.about-image-frame { 
    aspect-ratio: 4/5; 
    background: #222; 
    border: 1px solid #444; 
    border-radius: 8px; 
    overflow: hidden;
}

.about-image-frame img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.about-text-content { 
    flex: 1.5; 
    min-width: 300px; 
}

.about-text-content h2 { 
    text-align: center; 
    margin-top: 0; 
}

.about-text-content h3 { 
    color: #f8f6f4; 
    letter-spacing: 2px; 
    font-size: 1.2rem; 
    margin-top: 30px; 
}

.about-text-content p { 
    color: #fbf9f9; 
}

.contact-container { 
    max-width: 600px; 
    margin: auto; 
    padding: 20px; 
}

#contact-form { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

#contact-form input, #contact-form textarea {
    padding: 10px;
    background: #f0f0f0da;
    border: 1px solid #333;
    color: #333;
}
#form-status {
    margin-top: 15px;
    text-align: center;
    font-size: 1.4rem;
    color: #FF0000;
}

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    .page-section {
        padding-top: 160px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .slideshow-container {
        width: 95%;
        height: 45vh; 
    }

    .portfolio-grid {
       /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
        padding: 20px;
        gap: 15px;
    }

    .about-flex {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-image-wrapper, 
    .about-text-content {
        width: 100%;
        min-width: unset;
    }

    .about-text-content h2 {
        text-align: center; 
    }
    .about-image-frame {
        max-width: 350px; 
        margin: 0 auto;
    }
}