@charset "utf-8";

/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: white;
    overflow-x: hidden;
}

/* Logo */
.logo {
    position: relative;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 100;
    padding: 20px 30px;
}
.logo img {
    width: 160px;
    height: auto;
}
.site-header {
    position: relative;
    margin-right: 260px;
    z-index: 100;
}

/* Side Nav */
.side-nav {
    position: fixed;
    top: 0;
    right: 0;
    background: linear-gradient(180deg, #5b9de5, #4a8ed8);
    width: 260px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99;
}
.side-nav a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}
.side-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.side-nav a:hover { opacity: 0.9; }
.side-nav a:hover::after { width: 100%; }

/* Hero Section */
.hero-section {
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px;
    margin-right: 260px;
}
.hero-content {
    position: relative;
    padding: 60px 80px;
    text-align: center;
}
.hero-content h1 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    color: #000;
    font-family: 'Roboto', sans-serif;
}
.hero-content p {
    font-size: 13px;
    letter-spacing: 2px;
    color: #000;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

/* Carousel Section */
.carousel-section {
    margin-right: 260px;
    padding: 60px 40px;
    background: white;
}
.carousel-title {
    font-size: 80px;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 30px;
    color: #000;
}
.carousel {
    max-width: 100%;
    margin: 0 auto;
}
.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Image Gallery Section */
.image-gallery-section {
    margin-right: 260px;
    background: white;
    padding: 0 40px;
}
.gallery-img-tall {
    width: 100%;
    height: 580px;
    object-fit: cover;
    display: block;
}
.gallery-img-half {
    width: 100%;
    height: 282px;
    object-fit: cover;
    display: block;
}
.gallery-img-bottom {
    width: 100%;
    height: 282px;
    object-fit: cover;
    display: block;
}
.gallery-img-small {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.gallery-img-large {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.gallery-img-right-tall {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.image-gallery-section img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.image-gallery-section img:hover {
    transform: scale(1.03);
    opacity: 0.85;
}

/* About Page */
.about-section {
    margin-right: 260px;
    padding: 60px 40px;
    margin-top: 60px;
    min-height: 100vh;
}
.about-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 40px;
    margin-top: 80px;
    font-family: 'Roboto', sans-serif;
}
.about-content {
    display: flex !important;
    flex-direction: row !important;
    gap: 50px;
    align-items: flex-start;
}
.about-photo {
    flex: 0 0 280px;
}
.about-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top;
    display: block;
}
.about-text {
    flex: 1;
}
.about-text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #222;
    font-family: 'Roboto', sans-serif;
}

/* About mobile layout */
.about-content-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-img-mobile {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Project Page */
.project-page {
    margin-right: 260px;
    padding: 60px 60px;
}
.back-link {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    text-decoration: none;
    margin-bottom: 40px;
}
.back-link:hover { color: #000; }
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-bottom: 20px;
}
.project-header h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}
.project-meta {
    text-align: right;
    font-size: 12px;
    color: #999;
    line-height: 2;
}
.project-description {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
}
.desc-left { flex: 1; }
.desc-left .section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 16px;
}
.desc-left p {
    font-size: 14px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 14px;
}
.desc-right {
    width: 180px;
    flex-shrink: 0;
}
.desc-right .meta-block { margin-bottom: 28px; }
.desc-right .meta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 6px;
}
.desc-right .meta-value {
    font-size: 13px;
    color: #222;
    line-height: 1.7;
}
.grid-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 16px;
}
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    align-items: stretch;
}
.project-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.project-grid-wide img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
}

/* Buttons */
.btn-primary a { color: white; text-decoration: none; }
.btn-primary {
    background-color: #4a8ed8 !important;
    border-color: #4a8ed8 !important;
}
.btn-primary:hover {
    background-color: #111 !important;
    border-color: #111 !important;
}
.submit-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #4a8ed8;
    color: #fff;
    border: none;
    padding: 14px 36px;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
    border-radius: 4px;
}
.submit-btn:hover { background: #111; }
.resume-btn {
    background-color: #4a8ed8;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 11px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 16px;
    transition: background 0.2s ease, transform 0.1s ease;
}
.resume-btn:hover {
    background-color: #2f72b8;
    transform: translateY(-2px);
}
.resume-btn:active { transform: translateY(0); }

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background: linear-gradient(180deg, #5b9de5, #4a8ed8);
    z-index: 9999;
    pointer-events: none;
}

/* Side Nav Socials */
.side-nav-socials {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 16px;
}
.side-nav-socials a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding-bottom: 0;
}
.side-nav-socials a::after { display: none; }
.side-nav-socials a:hover { color: white; opacity: 1; }

/* Footer */
.site-footer {
    margin-right: 260px;
    padding: 40px 60px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-name {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}
.footer-socials { display: flex; gap: 24px; }
.footer-socials a {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-socials a:hover { color: #111; }

/* ========================
   RESPONSIVE - Mobile
   ======================== */
@media (max-width: 768px) {
    .side-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
        gap: 0;
        padding: 12px 8px;
        z-index: 999;
    }
    .side-nav a {
        font-size: 13px;
        padding-bottom: 0;
        letter-spacing: 0.5px;
    }
    .side-nav a::after { display: none; }
    .logo {
        padding-top: 70px;
        padding-left: 16px;
    }
    .logo img { width: 120px; }
    .hero-section,
    .carousel-section,
    .image-gallery-section {
        margin-right: 0;
        padding: 16px;
    }
    .hero-content { padding: 20px; }
    .hero-content h1 { font-size: 18px; }
    .hero-content p { font-size: 12px; }
    .carousel-item img { height: 220px; }
    .gallery-img-tall,
    .gallery-img-large,
    .gallery-img-right-tall { height: 260px; }
    .gallery-img-small { height: 160px; }
    .gallery-img-half,
    .gallery-img-bottom { height: 180px; }
    .about-section {
        margin-right: 0;
        margin-top: 0;
        padding: 20px 16px 40px 16px;
    }
    .about-title {
        font-size: 32px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .about-img-mobile { height: 320px; }
    .about-content { flex-direction: column; }
    .about-photo {
        flex: 0 0 auto;
        width: 100%;
    }
    .about-text p,
    .about-content-mobile p {
        font-size: 14px;
        line-height: 1.7;
    }
    .project-page {
        margin-right: 0;
        padding: 30px 16px;
    }
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .project-header h1 { font-size: 28px; }
    .project-meta { text-align: left; }
    .project-description {
        flex-direction: column;
        gap: 30px;
    }
    .desc-right { width: 100%; }
    .project-grid { grid-template-columns: 1fr; }
    .project-grid img { height: 200px; }
    .site-footer {
        margin-right: 0;
        padding: 30px 16px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .page-layout {
        margin-right: 0 !important;
        padding: 16px !important;
        flex-direction: column;
    }
    .page-layout .img-group {
        width: 100%;
    }
    .page-layout .img-row {
        flex-wrap: wrap;
    }
    .page-layout .img-row img,
    .page-layout .img-col img,
    .page-layout .img-group img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover;
    }
}

/* ========================
   RESPONSIVE - Desktop about layout
   ======================== */
@media (min-width: 769px) {
    .about-content-mobile {
        flex-direction: row;
        align-items: flex-start;
        gap: 50px;
    }
    .about-img-mobile {
        width: 320px;
        height: 460px;
        flex-shrink: 0;
    }
}

/* ========================
   RESPONSIVE - Large screens 1400px+
   ======================== */
@media (min-width: 1400px) {
    .about-section,
    .carousel-section,
    .project-page {
        padding-left: 80px;
        padding-right: 80px;
    }
    .image-gallery-section {
        padding-left: 80px;
        padding-right: 80px;
    }
    .page-layout {
        padding-left: 80px;
        padding-right: 80px;
    }
    .carousel-item img { height: 550px; }
    .gallery-img-tall { height: 700px; }
    .gallery-img-large,
    .gallery-img-right-tall { height: 620px; }
    .gallery-img-half,
    .gallery-img-bottom { height: 343px; }
    .gallery-img-small { height: 300px; }
    .site-footer { padding: 40px 80px; }
}

/* ========================
   RESPONSIVE - Extra large 1800px+
   ======================== */
@media (min-width: 1800px) {
    .about-section,
    .carousel-section,
    .project-page {
        padding-left: 120px;
        padding-right: 120px;
    }
    .image-gallery-section {
        padding-left: 120px;
        padding-right: 120px;
    }
    .page-layout {
        padding-left: 120px;
        padding-right: 120px;
    }
    .carousel-item img { height: 700px; }
    .gallery-img-tall { height: 850px; }
    .gallery-img-large,
    .gallery-img-right-tall { height: 750px; }
    .gallery-img-half,
    .gallery-img-bottom { height: 420px; }
    .gallery-img-small { height: 360px; }
    .site-footer { padding: 40px 120px; }
}