html {
     font-family: 'Inter', monospace;
}


body  {
    background: #0f172aff;
    color: white;
    align-items: center;
    justify-content: center;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    }

.Left {
     width: 400px;
  
  padding: 20px;
  position: fixed;
  top: 100px;
  left: 80px;
  height: 100vh;
  box-sizing: border-box;
  
  
}
.Right {
    margin-left: 400px; /* same as sidebar width */
  padding: 20px;
  height: auto; /* Changed from 100vh */
  overflow-y: visible; /* Changed from auto */
  flex: 1;
  
  
}

.Contact {
     position: fixed;
    bottom: 8%;
    max-width: 350px;
  
}
p {
    font-size: 20px;
}
h1 {
    
    font-size: 45px;
}

/* Larger h2 for My Work heading */
h2 {
    font-size: 24px;
}

a {
    color: white;
}
a:visited {
    color: white
}
a:hover {
    color: #63E6BE;
    transition: transform 0.3s ease;
}
.socials {
  display: flex;
  gap: 15px;
}
.socials i {
  font-size: 30px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.socials a:hover i {
  opacity: 1.0;
}

.work {
    background: white;
    border-radius: 20px;
    margin: 50px auto;
    max-width: 700px;
    width: 100%;
    height: 280px; /* Fixed height */
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 15px 25px;
    
    cursor: pointer;
}

/* Make entire work card clickable */
.MyWorks > a {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.MyWorks > a:hover {
    transform: translateY(-5px);
}

.MyWorks > a .work {
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.MyWorks > a:hover .work {
    box-shadow: 0 10px 30px rgba(99, 230, 190, 0.3);
}


.MyWorks > a:visited .work h2,
.MyWorks > a:visited .work p {
    color: black;
    font-weight: normal;
}


.MyWorks > a:hover .work p {
    color: #000000;
    font-weight: normal; /* Keep normal weight on hover */
}
    
.work h2, .work p {
    color: black;
}
.work p {
    font-size: 18px;
}
.work img {
    display: block;
    max-height: 100%;
    width: 60%;
    object-fit: cover;  /* crop image to fill height */
}

.description {
    padding: 20px;
    width: 40%;
}
.Class {
    display: flex;
}



.MyWorks {
    overflow: visible; /* Keep as visible to prevent scrollbar */
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%; /* Added for responsiveness */
}

/* Media queries for responsive design */
@media screen and (max-width: 1200px) {
    .Left {
        width: 300px;
        left: 5%;
    }
    
    .Right {
        margin-left: 300px;
    }
    
    .Contact {
        left: 7%;
        max-width: 200px;
        
    }
    p {
        font-size: 18px;
    }
    
}

@media screen and (max-width: 992px) {
    body {
        margin-left: 5%;
        margin-right: 5%;
        flex-direction: column;
    }
    
    .Left {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        text-align: center;
    }
    
    .Right {
        margin-left: 0;
        width: 100%;
    }
    
    .Contact {
        position: relative;
       
        left: auto;
        max-width: 100%;
        text-align: center;
        margin-top: 20px;
    }
    .socials {
        justify-content: center;
        margin-top: 0px;
    }
    .work {
        flex-direction: column;
        margin: 30px auto;
    }
    
    .work img {
        width: 100%;
        max-height: 300px;
    }
    
    .description {
        width: 100%;
    }
    
    
    
    
}

@media screen and (max-width: 576px) {
    body {
        margin-left: 2%;
        margin-right: 2%;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    p {
        font-size: 16px;
    }
    
    .work {
        margin: 20px auto;
        border-radius: 15px;
    }
    
    .work p {
        font-size: 16px;
    }
    
    .description {
        padding: 15px;
    }
    
    .Button {
        padding: 15px 30px;
        font-size: 20px;
    }
    
    .socials i {
        font-size: 24px;
    }
}
@media screen and (max-height: 800px) and (min-width: 993px) {
    .Left {
        top: 60px;
        max-height: calc(100vh - 200px);
        padding: 15px;
    }
    
    .Contact {
        bottom: 5%;
    }
    
    h1 {
        font-size: 38px;
        margin-bottom: 15px;
    }
    
    p {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
}

/* Very short screens - Compact layout */
@media screen and (max-height: 650px) and (min-width: 993px) {
    .Left {
        top: 40px;
        max-height: calc(100vh - 160px);
        padding: 10px;
    }
    
    .Contact {
        bottom: 3%;
    }
    
    h1 {
        font-size: 32px;
        margin-bottom: 10px;
        margin-top: 0;
    }
    
    p {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .socials {
        gap: 10px;
    }
    
    .socials i {
        font-size: 24px;
    }
}

/* Ultra short screens - Minimal spacing */
@media screen and (max-height: 500px) and (min-width: 993px) {
    .Left {
        top: 20px;
        max-height: calc(100vh - 120px);
        padding: 8px;
    }
    
    .Contact {
        bottom: 2%;
    }
    
    h1 {
        font-size: 28px;
        margin: 0 0 8px 0;
    }
    
    p {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 18px;
        margin: 0 0 6px 0;
    }
    
    .socials {
        gap: 8px;
    }
    
    .socials i {
        font-size: 20px;
    }
}






/* ============================================ */
/* ============================================ */
/* ============================================ */
/* Photography Gallery Styles */

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    background: #1e293b;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.02);
}

.photo-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: white;
}

.photo-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 15px;
    }
}

@media screen and (max-width: 576px) {
    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .photo-item {
        aspect-ratio: 16/9;
    }
    
    .photo-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    }
}


/* Photography Page Specific Styles */

.photography-body {
    margin: 0;
    padding: 0;
    background: #0f172aff;
    color: white;
}

.photo-nav {
    background: rgba(15, 23, 42, 0.95);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-home {
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-home:hover {
    opacity: 1;
}

.photo-nav h1 {
    margin: 0;
    font-size: 32px;
}

.photography-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Photography Gallery Styles */

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    background: #1e293b;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.02);
}

.photo-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: white;
}

.photo-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive adjustments */

@media screen and (max-width: 992px) {
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 15px;
    }
}

@media screen and (max-width: 576px) {
    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .photo-item {
        aspect-ratio: 16/9;
    }
    
    .photo-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    }
}