@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;
}
.site-header {
    position: relative;
    margin-right: 260px;
    z-index: 100;
}

/* Navbar */
.navbar {
    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;
}
.navbar 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;
}
.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.navbar a:hover {
    opacity: 0.9;
}
.navbar 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 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;
}

/* 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;
}
.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;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 15px;
    }
    .hero-section,
    .carousel-section,
    .image-gallery-section {
        margin-right: 0;
        padding: 20px;
    }
    .hero-content h1 { font-size: 20px; }
    .hero-content p { font-size: 14px; }
    .gallery-img-tall,
    .gallery-img-large,
    .gallery-img-right-tall { height: 300px; }
    .gallery-img-small { height: 180px; }
    .gallery-img-half,
    .gallery-img-bottom { height: 200px; }
    .carousel-item img { height: 250px; }
    .logo {
        position: relative;
        top: auto;
        left: auto;
        padding: 15px;
        display: block;
    }
    .about-section {
        margin-right: 0;
        padding: 30px 20px;
    }
    .about-content { flex-direction: column; }
    .about-photo {
        flex: 0 0 auto;
        width: 100%;
    }
    .project-page {
        margin-right: 0;
        padding: 30px 20px;
    }
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .project-header h1 { font-size: 32px; }
    .project-meta { text-align: left; }
    .project-description {
        flex-direction: column;
        gap: 30px;
    }
    .desc-right { width: 100%; }
    .project-grid { grid-template-columns: 1fr; }
}
.btn-primary a {
    color: white;
    text-decoration: none;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch; /* add this */
}

.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;
  }
.btn-primary {
  background-color: #4a8ed8 !important;
  border-color: #4a8ed8 !important;
}

.btn-primary:hover {
  background-color: #111 !important;
  border-color: #111 !important;
}
.page-transition {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 100vh;
  background: linear-gradient(180deg, #5b9de5, #4a8ed8);
  z-index: 9999;
  pointer-events: none;
}

.navbar-socials {
  position: absolute;
  bottom: 30px;
  display: flex;
  gap: 16px;
}

.navbar-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;
}

.navbar-socials a::after { display: none; }

.navbar-socials a:hover { color: white; opacity: 1; }
.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; }

@media (max-width: 768px) {
  .site-footer {
    margin-right: 0;
    padding: 30px 20px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}