@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Poetsen+One&display=swap');

@font-face {
    font-family: animosa;
    src: url('../fonts/animosa.otf');
}


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

html {
    overflow-x: clip;
}

body {
    overflow-x: hidden;
}

.time-display {
    font-size: 1.1rem;
    display: flex;
    position: absolute;
    margin-left: 41.5rem;
    margin-top: 8rem;
    font-family: helvetica, Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: bold;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 20px;
    border-radius: 10px;
}

.back-button-container {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}


.back-button {
    display: flex;
    align-items: center;
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    font-family: 'Animosa', sans-serif;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


.back-icon {
    margin-right: 10px;
}


.back-button:hover {
    background-color: orange;
}


.back-button:hover .back-icon {
    transform: translateX(-5px);
    transition: transform 0.2s ease-in-out;
}

@media screen and (max-width: 1000px) { 

    .back-button-container { display: none; }  
    
    }

    @media screen and (max-width: 850px) { 

        .time-display { display: none; }  
        
        }

        @media screen and (max-width: 700px) { 

            .footer-socialP { display: none; }  
            
            }
    


/* --------------------------cursor------------------------- */
body {
    cursor: none; 
}

.custom-cursor {
    position: fixed;
    width: 10px; 
    height: 10px;
    background-color: rgb(237, 231, 231);
    border-radius: 50%; 
    pointer-events: none;
    z-index: 9999; 
    transform: translate(-50%, -50%); 
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease; 
}

.custom-cursor.hover {
    width: 30px; 
    height: 30px;
    background-color: orange; 
}

button, a {
    cursor: none;
}

/* --------------------------cursor end------------------------- *//* --------------------------cursor end------------------------- */

/* #preloader {
    background: #000 no-repeat center center;
    background-size: 20%;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 9999;
} */

/* ------------------------------------------------------global styles-------------------------------------- */

/* ----------robot---------- */

.overlay {
    position: absolute;           /* Stays in one place */
    right: 30px;
    top: 70rem;
    width: 600px;              /* Adjust size as needed */
    height: 400px;
    z-index: 8000;             /* On top of all content */
    pointer-events: auto;      /* Allow interaction if needed */
    background: transparent;   /* Optional: ensure background is invisible */
  }
  
  .overlay iframe {
    width: 100%;
    height: 100%;
    border: none;
  }


  @media (max-width: 1085px) {
    .overlay {
    display: none;
    }
}

main {
    max-width: 400px;
    margin: 0 auto;
}

nav {
    position: fixed;
    z-index: 1000;
    background-color: #161616;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

nav .logo {
    flex: 1;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    position: relative;
    align-items: center;
    padding: 30px 40px;
    margin: 10px;
    font-size: 1.5rem;
    font-family: Helvetica, Arial, sans-serif;
    justify-content: space-evenly;
}

main {
    padding-top: 10px;
}

.navi { 
    display: flex;
    justify-content: flex-end;
}

.navi a {
    transition: color 1s;
}

.navi a:hover {
    color: #ffa011;
}

a {
    text-decoration: none;
}

a:link, a:visited {
    color: rgb(255, 255, 255);
}

a:hover, a:active {
    color: rgb(255, 152, 67);
}

.p2 {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    margin-right: 20rem;
}

#home {
    background-color: #000000;
    background-image: url("../img/compeake.gif");
    background-size: 100%;
    background-repeat: no-repeat;
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120vh;
    max-width: 100vw;
    padding-top: 150px;
}

p {
    font-family: animosa, Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #ffffff;
    align-items: center;
}


ul {
    list-style-type: disc;
    color: rgb(233, 242, 66);
}

.logo img {
    width: 200px;
    height: auto;
}

.igimg {
    position: absolute;
    top: 10px;
    left: 18rem;
    z-index: 999;
}

.igimg img {
    width: 100px;
    height: auto;
}

footer {
    background-color: #000;
    padding: 20px 0;
    color: #fff;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: Helvetica, Arial, Helvetica, sans-serif;
    font-size: 18px;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: color 1s; 
}

.footer-links a:hover {
    color: #ffa011;
}

.footer-social img {
    width: 60px;
    height: auto;
}

.footer-social img {
    transition: filter 0.3s ease; 
}

.footer-social a:hover img {
    filter: brightness(0) saturate(100%) invert(75%) sepia(50%) saturate(1000%) hue-rotate(330deg); 
}

.logo {
    position: absolute;
    top: 5px;
    left: 4rem;
    z-index: 999;
}

.logo :hover {
    transform: scale(1.3);
}
.logo :hover {
    transition: all 0.4s;
}

.logo a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: color 1s; 
}

.logo a:hover {
    color: #ffa011;
}

.logo img {

    height: 80px;
    width: auto;
}

.logo img {
    transition: filter 0.3s ease; 
}

.logo a:hover img {
    filter: brightness(0) saturate(100%) invert(75%) sepia(50%) saturate(1000%) hue-rotate(330deg); 
}

.mainP {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 2rem;
    margin-left: 10rem;
    height: auto;
    align-items: center;
    margin-right: 35rem;
    margin-top: 42rem;
    font-size: 1.5rem;
    font-family: Helvetica, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.Animationtab {
    background-color: #cc5800;
    font-family: animosa, Arial, Helvetica, sans-serif;
    display: none;
    position: absolute;
    margin-top: 64rem;
    margin-right: 20rem;
    border: none;
    width: auto;
    height: 100px;
    text-align: center;
    text-decoration: none;
    padding:20px;
    font-size: 34px;
    transition: all 1s ease;
    transform: scale(1);
}

.Animationtab:hover {
    background-color: hsl(32, 100%, 64%);
  /*  Making button bigger on hover  */
    transform: scale(1.5) perspective(1px)
  }

.Animationtab:active {
    transform: translate(0px, 5px);
    -webkit-transform: translate(0px, 5px);
    box-shadow: 0px 1px 0px 0px;
  }
  

.Animationtab {border-radius: 100%;}

@media screen and (max-width: 1080px) { 

    .Animationtab { 
        display: none;
    }  
    }

    @media screen and (max-width: 600px) { 

        .footer-container { 
            font-size: 0.9rem;
        }  
        }



.mainP h1 {
    overflow: hidden; 
    border-right: .1em solid orange; 
    white-space: nowrap; 
    margin: 0 auto; 
    letter-spacing: .0.5em; 
    animation: 
      typing 3.5s steps(40, end),
      blink-caret .75s step-end infinite;
  }

  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
  }

/* .homeimg {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 400px;
    margin-right: 12rem;
    margin-top: 45rem;
    z-index: 999;
    position: absolute;
}

@media screen and (max-width: 1000px) { 

    .homeimg img { display: none; }  
    } */



            @media screen and (min-width: 769px) and (max-width: 1076px) { 

                .mainP h1{ 
                    text-align: center;
                    align-items: center;
                    top: 200px;
                    left: 50px;
                    display: flex;
                    position: absolute;
                    padding: 0;
                }  

                .mainP p{ 
                display:none;
                }  

                .mainP .p2{ 
                    text-align: center;
                    align-items: center;
                    top: 400px;
                    left: 200px;
                    display: flex;
                    position: absolute;
                    max-height: 50px;
                }  

                
                }

    
    

h1 {
    color: rgb(240, 255, 255);
    font-family: "animosa";
    font-size: 60px;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    color: aliceblue;
}

/* ------------------------------------------------------global styles end-------------------------------------- */

#mainHome {
    background-color: #000000;
    background-position: center middle bottom;
    background-repeat: no-repeat;
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    max-width: 100vw;
}


.logos-container {
    width: 100%;
    margin-top: 2rem;
    text-align: center;
}

.logos-container :hover {
    transform: scale(1.050);
}

.logos-container :hover {
    transition: all 0.4s;
}


.logos-image {
    width: 100%;
    height: auto;
    display: block;
}

.dark-gray-panel {
    background-color: #2a2a2a;
    width: 100%;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px;
}

.image-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.image-container :hover {
    transform: scale(1.050);
}

.image-container :hover {
    transition: all 0.4s;
}

/* .business-bar-wrapper {
    display: flex;
    background-color: #353535;
    flex-direction: row;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.business-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
}


.business-bar--middle {
    text-align: left;
    flex-grow: 1;
    margin-left: 24rem;
} */


/* --------------------------hamburgermenu----------------------- */

.menu-icon {
    display: none;
    font-size: 30px;
    color: white;
    padding: 20px;
    cursor: pointer;
}

.menu-icon span {
    color: white; 
    transition: color 1s; 
}

.menu-icon:hover span {
    color: #ffa011;
}

.navi {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    transition: 3s ease;
}

.navi.active {
    display: block;
    position: fixed;
    top: 0; 
    left: 0; 
    width: 50%; 
    height: 100vh; 
    background-color: #000000;
    overflow-y: auto; 
    z-index: 1000; 
    padding-top: 60px; 
    margin-top: 6rem;
    border: #000000;
    border-style: double;
    background-image: url("../img/loader.gif");
    background-position: repeat;
    animation: slideIn 0.2s ease-out forwards;
}

.navi.active :hover {
    transform: scale(1.050);
}
.navi.active :hover {
    transition: all 0.4s;
}

.navi li {
    display: block;
    padding: 20px;
    font-size: 1.2rem;
}

@media (max-width: 840px) {
    .mainP {
    margin-top: 25rem;
    }
}

@media (max-width: 1150px) {
    .logo {
        position: absolute;
        top: 10px;
        right: 20px;
        left: auto;
    }

    .logo img {
        height: 50px;
        width: auto;
      }
      
      .logo {
        padding-top: 15px;
        -webkit-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
        height: 80px;
      }
      
      .menu-bg .logo {
        padding-top: 10px;
        -webkit-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
      }

    .menu-icon {
        display: block;
        position: absolute;
        top: 10px;
        left: 20px;
    }

    .navi {
        display: none;
        width: 100%;
    }

    .navi.active {
        display: block;
    }

    /* #home {
        display: flex;
        background-size: 100%;
        background-position: top;
        background-repeat: no-repeat;
        
    } */

    /* error */

    .mainP {
        margin-left: 2rem;
        margin-right: 2rem;
        margin-top: 9rem;
        font-size: 1.2rem;
    }

    h1 {
        font-size: 40px;
    }

    p {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .logos-container {
        margin-top: 4rem;
    }

    .mainP {
        margin-left: 1rem;
        margin-right: 1rem;
        margin-top: 2rem;
        font-size: 1rem;
    }

    h1 {
        font-size: 30px;
    }

    p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .mainP {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        margin-top: 10rem;
        font-size: 0.9rem;
        gap: 10px;
        text-align: center;
    }

    h1 {
        font-size: 24px;
        margin-right: 2.5rem;
    }

    p {
        font-size: 14px;
        max-width: 80%;
        margin: 0 auto;
    }

    .p2 {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .logo img {
        width: auto;
        height: 60px; 
        max-width: 100%;
    }
}



/* --------about styles----------- */


/* ------------------ Scroll Fade-Up Animation ------------------ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

header.fade-up {
    opacity: 1;
    transform: none;
    transition: none;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

#about {
    background-color: #000000;
    background-image: linear-gradient(to top, #000000 0%, transparent 100%), url("../img/jackson.png");
    background-size: 70%; 
    background-position: left 20%; 
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120vh;
    max-width: 100vw;
    padding-top: 150px;
}

#about .aboutP {
    display: flex !important;
    text-align: left !important;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
    margin: 4rem 10rem 10rem 45rem;
    animation: slideIn 1s ease-out forwards;
}

#about .aboutP p {
    font-size: 1.5rem !important;
}

/* ---------------------------------tablet---------------------------- */

@media (max-width: 1248px) {
    #about {   
        background-size: 100%;
        padding-top: 40rem; 
    }

    #about .aboutP {
        margin: 2rem 2rem;
        text-align: center;
        align-items: center;
    }

    #about .aboutP p {
        font-size: 1.8rem !important;
    }
}

/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #about {
        background-size: 100%; 
        background-position: center; 
        padding-top: 220px; 
    }

    #about .aboutP {
        margin: 1rem;
        font-size: 1rem !important;
        text-align: center;
        padding-top: 5rem;
        margin-top: 5rem;
    }

    #about .aboutP p {
        font-size: 1rem !important;
    }
}

/* ----------------------------------very small size screen---------------------- */

@media (max-width: 480px) {
    #about {
        background-size: cover; 
        background-position: left bottom; 
        padding-top: 200px; 
    }

    #about .aboutP {
        margin: 1rem;
        font-size: 1rem !important;
        text-align: center;
        margin-top: 5rem;
        padding-top: 5rem;
    }

    #about .aboutP p {
        font-size: 1rem !important;
    }
}




/* ---------------------------about styles end--------------------- */

/* ---------------------------services styles start--------------------- */


#services {
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120vh;
    max-width: 100vw;
    padding-top: 190px;
    font-family: animosa, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.services-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-left: 180px;
}

.services-header h1 {
    font-size: 2rem;
    font-family: "animosa";
    color: white;
}

.services-header p {
    font-size: 1.4rem;
    font-family: Helvetica, sans-serif, Arial;
    color: white;
    text-align: left;
    margin-top: 10px;
    max-width: 45vw;
}

.mapFrame {
    display: flex;
    position: absolute;
    top: 40px;
    right: 130px;
    margin-top: 120px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 2rem;
    background-color: #000;
    color: white;
    font-size: 1.5em;
    margin: 50px auto;
    text-align: center;
    animation: slideIn 1s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.image-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image-box:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.service-description {
    margin-top: 10px;
    width: 100%;
    height: 60px;
    background-color: #161616;
    color: white;
    border: none;
    text-align: center;
    font-family: animosa, Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    resize: none;
    padding: 10px;
    outline: none;
}

.service-description[readonly] {
    background-color: #000;
    color: white;
}

.image-box:hover .service-description {
    color: orange;
}

@media (max-width: 1350px) {
    .mapFrame {
        display: none;
    }
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mapFrame {
        display: none;
    }

    .services-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 40px; /* adds breathing room */
    }

    .services-header p {
        font-size: 1.4rem;
        max-width: 100%;
        text-align: left;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .services-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 28px; /* balanced space for small screens */
    }

    .services-header p {
        font-size: 1.2rem;
        text-align: left;
        line-height: 1.55;
        max-width: 100%;
        margin: 0 0 1rem 0;
    }

    .image-box img {
        height: 200px;
    }

    .mapFrame {
        display: none;
    }
}



/* ---------------------------services styles end--------------------- */


/* ---------------------------work styles start--------------------- */


#work {
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120vh;
    max-width: 100vw;
    padding-top: 150px;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}




.workheader {
    display: flex;
    font-family: animosa, Helvetica, Arial, sans-serif;
    flex-direction: row;
    padding-top: 40px;
    padding-left: 180px;
    padding-bottom: 50px;
}

.workheader h1 {
    font-size: 2rem;
}

.workimage-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
    max-width: 1800px;
    width: 100%;
    justify-content: center;
    padding-left: 30px;
    padding-right: 30px;
    animation: slideIn 1s ease-out forwards;
}

.workimage-container img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.workimage-container :hover {
    transform: scale(1.050);
}

.workimage-container :hover {
    transition: all 0.4s;
}

@media (max-width: 850px) {
    .service-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .workimage-container {
        width: 100%;
        height: 80%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 768px) { 
    .service-description {
        font-size: 12px;             
        line-height: 1.4;          
        padding: 5px;    
    }
}


@media (max-width: 768px) { 
.workheader {
    padding-bottom: 50px;
    }
}

@media (max-width: 410px) { 
    .workimage-container {
        padding-bottom: 50px;
        display: grid;          
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;          
    }
}

@media (max-width: 410px) { 
    .service-description {
        font-size: 12px;             
        line-height: 1.4;          
        padding: 5px;    
    }
}


/* ---------------------------web showcase start--------------------- */

.webshowcase {
    background-color: #000;
    color: #fff;
    padding: 100px 80px;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    border-top: 1px solid #222;
}

.webshowcase-header {
    text-align: center;
    max-width: 800px;
}

.webshowcase-header h2 {
    font-family: animosa, Helvetica, Arial, sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.webshowcase-header p {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.6;
}

.webshowcase-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.web-preview img {
    width: 550px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.4s ease;
}

.web-preview img:hover {
    transform: scale(1.03);
}

.web-description {
    max-width: 450px;
    text-align: left;
}

.web-description h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.web-description p {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.view-site-btn {
    display: inline-block;
    background-color: #535353;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.view-site-btn:hover {
    background-color: #e5e5e5;
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 768px) {
    .webshowcase {
        padding: 70px 30px;
    }

    .webshowcase-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .web-preview img {
        width: 100%;
        max-width: 420px;
    }

    .web-description {
        max-width: 90%;
    }
}

/* ---------------------------web showcase end--------------------- */



/* ---------------------------work styles end--------------------- */


/* ---------------------------artwork styles start--------------------- */

#artwork {
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120vh;
    max-width: 100vw;
    padding-top: 150px;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.main-content {
    padding: 20px;
}

.artwork-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 160px;
    margin-top: 20px;
}

.categories {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
    padding-left: 150px;
    gap: 20px;
    margin-bottom: 50px;
}

.category {
    position: relative;
}

.category:hover {
    color: #ff7700;
}

.category::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #e57c25;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category:hover::after {
    transform: scaleX(1);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-item {
    text-align: center;
}

.grid-item img {
    width: 20rem;
    height: 80%;
    max-width: 400px;
    margin-bottom: 10px;
    object-fit: contain;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

@media (max-width: 1370px) {
    .grid-container {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .grid-item img {
        width: 90%;
        height: auto;
        max-width: none;
    }

    .grid-container > div:nth-child(2) {
        margin-top: 20px;
    }
}

@media (max-width: 768px) { 
    .service-description {
        font-size: 12px;             
        line-height: 1.4;          
        padding: 5px;    
    }
}

@media (max-width: 768px) { 
    .artwork-title h1 {
        font-size: 30px;
        margin-right: 50px;
    }
}

@media (max-width: 400px) { 
    .categories {
        display: flex;
        justify-content: center;
        margin-right: 15rem;
    }

    .category {
        display: flex;
        justify-content: center;
        left: 40px;
    }
}

/* ---------------------------image zoom effect--------------------- */
.grid-item img.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    width: auto;
    height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    transform: translate(-50%, -50%) scale(1.05);
    z-index: 9999;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
    background-color: rgba(0, 0, 0, 0.85);
}

/* ---------------------------artwork styles end--------------------- */



/* ---------------------------products styles start--------------------- */

.shoppingcart {
    position: absolute;
    z-index: 9999; 
}

.shoppingcart img {
    width: auto;  
    height: 70px; 
    margin-left: 2rem;
    margin-top: 2rem;
}

.products-page .container {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    margin-right: 24rem;
    position: relative;
    font-family: Helvetica, Arial, sans-serif;
}

.products-page .main-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 220px;
}

/* ------------textonsideof screen------------- */
.products-page .sidebar {
    width: 200px;
    color: black;
    padding-top: 35px;
    height: auto;
    margin-right: 10px;
    text-align: right;
}

.products-page .sidebar ul {
    list-style-type: none;
    padding-right: 10px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.products-page .sidebar ul li {
    padding: 8px;
    width: 100%;
    font-size: 10px;
}

.products-page .sidebar ul li a {
    color: black;
    text-decoration: none;
    display: block;
}

.products-page .sidebar ul li a:hover {
    background-color: #e57b2f;
    color: white;
}

/* Logo + Time wrapper */
.logo-time-wrapper {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
}

.productLogo {
    width: 100%;
    position: absolute;
    pointer-events: all;
    height: 100%;
    display: flex;
    flex-direction: row;
    bottom: 290px;
    right: 8px;
    justify-content: center;
    align-items: center; 
    padding: 10px;
    border-radius: 1px;
}

.products-page #content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 150px;
    align-items: center;
    margin-top: 5rem;
}

.products-page .back-to-products {
    display: flex;
    width: 130px;
    height: auto;
    margin: 0 auto 20px;
    justify-content: center;
    align-items: center;
}

.products-page .grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 5rem;
    align-items: center;
}

.products-page .grid-item {
    border: 1px solid transparent;
    transition: border 0.3s ease;
}

.products-page .grid-item:hover {
    border-color: gray;
}

.products-page .grid-item img {
    width: 100px;
    height: auto;
    display: block;
}

.products-page footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.products-page footer .footer-containerP {
    display: flex;
    align-items: center;
    font-family: Helvetica, sans-serif;
    justify-content: center;
    font-size: 24px;
}

.footer-socialP {
    position: absolute;
    z-index: 999; 
    height: 100px; 
    width: auto; 
}

.footer-socialP img {  
    filter: opacity(0.5) drop-shadow(0 0 0 rgb(0, 0, 0));
    margin-left: 1.7rem;
    margin-top: 7rem;
}

.footer-socialP img {
    width: 85px;
    height: auto;
    transition: filter 0.3s ease;
}

.footer-socialP a:hover img {
    filter: brightness(0) saturate(100%) invert(75%) sepia(50%) saturate(1000%) hue-rotate(330deg); 
}

@media (max-width: 900px) {
    .logo-time-wrapper {
        bottom: 40px;
    }
}

@media (max-width: 768px) {
    .shoppingcart {
        position: absolute;
        z-index: 10; 
    }
    
    .shoppingcart img {
        width: auto;  
        height: 50px; 
        margin-left: 2rem;
        margin-top: 2rem;
    }

    .products-page .sidebar {
        position: absolute; 
        top: 0; 
        right: 0;
        width: auto;
        height: auto;
        border: none;
        display: flex;
        flex-direction: row;
        padding: 10px;
        z-index: 1000;
    }
    
    .products-page .sidebar ul {
        display: flex;
        justify-content: flex-end;
        margin: 0;
        padding-top: 50px; 
        list-style: none;
    }

    .products-page footer .footer-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .products-page .container {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        width: 100%;
        padding-top: 30rem; 
        padding-bottom: 2rem;
        min-height: auto;
        margin-bottom: 35rem;
    }

    .products-page .grid {
        grid-template-columns: repeat(2, 1fr); 
        justify-items: center;                 
        align-items: center;
        gap: 20px;
        margin: 2rem auto;
        width: 90%; 
    }
    
    .products-page .grid-item img { 
        width: 100%;    
        max-width: 150px;
        height: auto;
    }

    .logo-time-wrapper {
        bottom: 20px;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    #product-modal-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 20px !important;
        padding: 20px !important;
    }

    #product-modal-inner img {
        width: 100% !important;
        max-width: 250px !important;
        height: auto !important;
    }

    #product-modal-inner > div {
        width: 100% !important;
    }

    #product-modal-inner button {
        width: 100% !important;
    }
}

@media (max-width: 500px) {
    #product-modal-inner {
        display: flex !important;
        flex-direction: column !important; /* stack vertically */
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 15px !important;
    }

    #product-modal-inner img {
        width: 100% !important;
        max-width: 220px !important;
        height: auto !important;
    }

    #product-modal-inner > div {
        width: 100% !important; /* text/content goes full width under image */
    }

    #product-modal-inner button {
        width: 100% !important;
    }
     }

/* ---------------------------products styles end--------------------- */

/* ---------------terms of service--------------------*/

#termsofservice {
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120vh;
    max-width: 100vw;
    padding-top: 150px;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.termsP
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 100px 140px 100px 140px;
}

/* -------------form------------- */

#fcf-form {
    display:block;
    max-width: 70%;
    margin: auto;
}

.fcf-body {
    margin: 0;
    font-family: animosa, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #f5f5f5;
    text-align: left;
    background-color: #000000;
    padding: 30px;
    padding-bottom: 10px;
}

.fcf-form-group {
    margin-bottom: 1rem;
}

.fcf-input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.fcf-form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    outline: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
    border: 1px solid #313131;
}

select.fcf-form-control[size], select.fcf-form-control[multiple] {
    height: auto;
}

textarea.fcf-form-control {
    font-family: -apple-system, Arial, sans-serif;
    height: auto;
}

label.fcf-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.fcf-credit {
    padding-top: 10px;
    font-size: 0.9rem;
    color: #545b62;
}

.fcf-credit a {
    color: #545b62;
    text-decoration: underline;
}

.fcf-credit a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.fcf-btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, 
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .fcf-btn {
        transition: none;
    }
}

.fcf-btn:hover {
    color: #212529;
    text-decoration: none;
}

.fcf-btn:focus, .fcf-btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fcf-btn-primary {
    color: #fff;
    background-color: #ff6f00;
    border-color: #ff5100;
}

.fcf-btn-primary:hover {
    color: #fff;
    background-color: #d94c00;
    border-color: #ff9100;
}

.fcf-btn-primary:focus, .fcf-btn-primary.focus {
    color: #fff;
    background-color: #d97b00;
    border-color: #cc5800;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.fcf-btn-lg, .fcf-btn-group-lg>.fcf-btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.fcf-btn-block {
    display: block;
    width: 100%;
}

.fcf-btn-block+.fcf-btn-block {
    margin-top: 0.5rem;
}

input[type="submit"].fcf-btn-block, input[type="reset"].fcf-btn-block, input[type="button"].fcf-btn-block {
    width: 100%;
}


/* --------------index/work images styles---------------------- */

#magazine {
    background-color: #000000;
    background-repeat: no-repeat;
    min-height: 120vh;
    max-width: 100vw;
    padding-top: 150px; 
    display: flex;
    justify-content: center;
    align-items: center;  
    padding-left: 0;
    gap: 30px;
    flex-wrap: wrap; 
}

.magazinepic {
    width: 30%;
    height: auto;
    margin-left: 110px;
    margin-bottom: 340px;
}

.magazinepic img {
    width: 450px;
    height: auto;
    margin-right: 10px; 
}

.magazinepic2 {
    width: 2%;
    height: auto;
    margin-left: 60px;
    margin-top: 300px;
}

.magazinepic2 img {
    width: 450px;
    height: auto;
    margin-right: 10px; 
}

.magazineP {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    font-size: 12px;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 30%;
}




@media (max-width: 768px) {
    #magazine {
        padding-top: 10px;
        flex-direction: column;
        align-items: center;
        gap: 10px; 
        padding-right: 130px;
        padding-top: 110px;
    }

    .magazineP {
        width: 50%;
        font-size: 14px;
        order: 2; 
        margin-bottom: 10px; 
    }

    .magazinepic, .magazinepic2 {
        width: 45%;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .magazinepic img, .magazinepic2 img {
        width: 350px;
    }

  
    .magazinepic {
        order: 1;
    }

    .magazinepic2 {
        order: 3;
        margin-top: 10px; 
    }
}

@media (max-width: 480px) {
    #magazine {
        flex-direction: column;
        align-items: center;
        gap: 10px; 
        padding-top: 100px;
    }

    .magazinepic, .magazinepic2 {
        width: 90%;
        margin-left: 0;
        margin-bottom: 15px;
        padding-left: 50px;
    }

    .magazinepic img, .magazinepic2 img {
        width: 280px;
        padding-right: 50px;
    }

    .magazineP {
        width: 80%;
        font-size: 12px;
        order: 2;
        margin-bottom: 5px; 
    }

    
    .magazinepic {
        order: 1; 
    }

    .magazinepic2 {
        order: 3; 
        margin-top: 5px; 
    }
}

/* --------------------------------------- */

/* ----------------------------------------------------------- */


#newsletter {
    background-color: #000000;
    /* background-image: url("../img/newsletter.png"); */ /* remove this */
    background-size: 30%; 
    background-position: left 27% bottom 20%; 
    background-repeat: no-repeat;
    min-height: 120vh; 
    max-width: 100vw; 
    padding-top: 150px; 
    padding-left: 20px; 
}



.newsletter-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6rem;
}

.newsletter-img img {
    width: 40%;
    height: auto;
    border-radius: 5px;
}

.newsletterP {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 10rem;
    margin-left: 45rem;
    margin-right: 10rem;
    margin-top: 8rem;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}

@media (max-width: 768px) {
    #newsletter {
        padding-top: 100px;
        text-align: center;
    }

    .newsletter-img img {
        width: 70%;
        margin-bottom: 2rem;
    }

    .newsletterP {
        margin: 1rem 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .newsletter-img img {
        width: 85%;
        margin-top: 2rem;
    }

    .newsletterP {
        margin: 1rem;
        padding-top: 1rem;
        font-size: 1rem !important;
    }

    .newsletterP p {
        font-size: 1rem !important;
    }
}

/* --------------------------------------- */

/* -----------------------------------kapital styles------------------------ */

#kapital {
    background-color: #000000;
    min-height: 120vh;
    max-width: 100vw;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.kapital img {
    width: auto;
    height: 35rem;
    display: block;
    margin-left: 16rem;
    margin-bottom: 30px;
}

.kapitalP {
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 40%;
    margin-left: 60px;
    gap: 10px;
    margin-bottom: 2rem;
}


@media (max-width: 768px) {
    #kapital {
        flex-direction: column;
        padding-left: 10px;
    }

    .kapital img {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-bottom: 20px;
        margin-top: 150px;
    }

    .kapitalP {
        width: 100%;
        margin-left: 30px;
        font-size: 1.2rem;
        padding: 0 10px;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #kapital {
        flex-direction: column;
        padding-left: 5px;  
    }

    .kapital img {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-bottom: 15px; 
        margin-top: 60px;  
    }

    .kapitalP {
        width: 100%;
        margin-left: 0; 
        font-size: 1.1rem;  
        padding: 0 5px;  
    }
}

/* --------------------------------------- */


#posta {
    background-color: #000000;
    min-height: 120vh;
    max-width: 100vw;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.posta img {
    width: auto;
    height: 35rem;
    display: block;
    margin-left: 15rem;
    margin-bottom: 30px;
}

.postaP {
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 40%;
    margin-left: 60px;
    gap: 10px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #posta {
        flex-direction: column;
        padding-left: 10px;
    }

    .posta img {
        width: 75%;
        height: auto;
        margin-left: 50px;
        margin-bottom: 20px;
        margin-top: 150px;
    }

    .postaP {
        width: 75%;
        margin-left: 30px;
        font-size: 1.2rem;
        padding: 0 10px;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #posta {
        flex-direction: column;
        padding-left: 5px;  
    }

    .posta img {
        width: 80%;
        height: auto;
        margin-bottom: 15px;
        margin-left: 20px; 
        margin-top: 60px;  
    }

    .postaP {
        width: 80%;
        margin-left: 0; 
        font-size: 1.1rem;  
        padding: 0 5px;  
    }
}

/* --------------------------------------- */

#brochure {
    background-color: #000000;
    min-height: 120vh;
    max-width: 100vw;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.brochure img {
    width: auto;
    height: 35rem;
    display: block;
    margin-left: 15rem;
    margin-bottom: 30px;
}

.brochureP {
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 40%;
    margin-left: 60px;
    gap: 10px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #brochure {
        flex-direction: column;
        padding-left: 10px;
    }

    .brochure img {
        width: 75%;
        height: auto;
        margin-left: 50px;
        margin-bottom: 20px;
        margin-top: 150px;
    }

    .brochureP {
        width: 75%;
        margin-left: 30px;
        font-size: 1.2rem;
        padding: 0 10px;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #brochure {
        flex-direction: column;
        padding-left: 5px;  
    }

    .brochure img {
        width: 80%;
        height: auto;
        margin-bottom: 15px;
        margin-left: 20px; 
        margin-top: 60px;  
    }

    .brochureP {
        width: 80%;
        margin-left: 0; 
        font-size: 1.1rem;  
        padding: 0 5px;  
    }
}
/* --------------------------------------- */

#photoshop {
    background-color: #000000;
    background-image: url("../img/photoshop.jpg");
    background-size: 30%; 
    background-position: left 27% bottom 20%; 
    background-repeat: no-repeat;
    min-height: 120vh; 
    max-width: 100vw; 
    padding-top: 100px; 
    padding-left: 20px; 
}

.photoshopP {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 10rem;
    margin-left: 45rem;
    margin-right: 10rem;
    margin-top: 8rem;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}

@media (max-width: 768px) {
    #photoshop {
        background-size: 70%;
        background-position: center bottom;
        min-height: 850px;
    }

    #photoshop .photoshopP {
        margin: 1rem 3rem;
        text-align: left;
        align-items: center;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #photoshop {
        background-size: 60%; 
        background-position: left 40%; 
        padding-top: 220px; 
    }

    #photoshop .photoshopP {
        margin: 1rem;
        font-size: 1rem !important;
        text-align: center;
        padding-top: 2rem;
        margin-top: 5rem;
    }

    #photoshop .photoshopP p {
        font-size: 1rem !important;
    }
}

/* --------------------------------------- */

/* --------------------------------------- */


#moderntype {
    background-color: #000000;
    min-height: 120vh;
    max-width: 100vw;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.moderntype img {
    width: auto;
    height: 35rem;
    display: block;
    margin-left: 15rem;
    margin-bottom: 30px;
}

.moderntypeP {
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 40%;
    margin-left: 60px;
    gap: 10px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #moderntype {
        flex-direction: column;
        padding-left: 10px;
    }

    .moderntype img {
        width: 75%;
        height: auto;
        margin-left: 50px;
        margin-bottom: 20px;
        margin-top: 150px;
    }

    .moderntypeP {
        width: 75%;
        margin-left: 30px;
        font-size: 1.2rem;
        padding: 0 10px;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #moderntype {
        flex-direction: column;
        padding-left: 5px;  
    }

    .moderntype img {
        width: 80%;
        height: auto;
        margin-bottom: 15px;
        margin-left: 20px; 
        margin-top: 60px;  
    }

    .moderntypeP {
        width: 80%;
        margin-left: 0; 
        font-size: 1.1rem;  
        padding: 0 5px;  
    }
}


/* --------------------------------------- */

/* --------------------------------------- */

#skigif {
    background-color: #000000;
    background-image: url("../img/skigif.gif");
    background-size: 30%; 
    background-position: left 27% bottom 20%; 
    background-repeat: no-repeat;
    min-height: 120vh; 
    max-width: 100vw; 
    padding-top: 150px; 
    padding-left: 20px; 
}

.skigifP {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 10rem;
    margin-left: 45rem;
    margin-right: 10rem;
    margin-top: 8rem;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}

@media (max-width: 768px) {
    #skigif {
        background-size: 70%;
        background-position: center bottom;
        min-height: 850px;
    }

    #skigif .skigifP {
        margin: 1rem 3rem;
        text-align: left;
        align-items: center;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #skigif {
        background-size: 60%; 
        background-position: left 40%; 
        padding-top: 220px; 
    }

    #skigif .skigifP {
        margin: 1rem;
        font-size: 1rem !important;
        text-align: center;
        padding-top: 2rem;
        margin-top: 5rem;
    }

    #skigif .skigifP p {
        font-size: 1rem !important;
    }
}

/* --------------------------------------- */

#restoration {
    background-color: #000000;
    background-image: url("../img/restoration.jpg");
    background-size: 30%; 
    background-position: left 27% bottom 50%; 
    background-repeat: no-repeat;
    min-height: 120vh; 
    max-width: 100vw; 
    padding-top: 150px; 
    padding-left: 20px; 
}

.restorationP {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 10rem;
    margin-left: 45rem;
    margin-right: 10rem;
    margin-top: 8rem;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}

.restore {
    display: flex;
    flex-direction: column;
    z-index: 9998;
    max-width: 400px;
    max-height: 100%;
    margin: auto;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    #restoration {
        background-size: 70%;
        background-position: center bottom;
        min-height: 850px;
    }

    #restoration .restorationP {
        margin: 1rem 3rem;
        text-align: left;
        align-items: center;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #restoration {
        background-size: 60%; 
        background-position: left 40%; 
        padding-top: 220px; 
    }

    #restoration .restorationP {
        margin: 1rem;
        font-size: 1rem !important;
        text-align: center;
        padding-top: 2rem;
        margin-top: 5rem;
    }

    #restoration .restorationP p {
        font-size: 1rem !important;
    }
}

/* --------------------------------------- */

#coffee {
    background-color: #000000;
    background-image: url("../img/coffee.jpg");
    background-size: 30%; 
    background-position: left 27% bottom 50%; 
    background-repeat: no-repeat;
    min-height: 120vh; 
    max-width: 100vw; 
    padding-top: 150px; 
    padding-left: 20px; 
}

.coffeeP {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 10rem;
    margin-left: 45rem;
    margin-right: 10rem;
    margin-top: 8rem;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}

.coffeebag {
    display: flex;
    flex-direction: column;
    z-index: 9998;
    max-width: 400px;
    max-height: 100%;
    margin: auto;
    margin-right: 300px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    #coffee {
        background-size: 70%;
        background-position: center bottom;
        min-height: 850px;
    }

    #coffee .coffeeP {
        margin: 1rem 3rem;
        text-align: left;
        align-items: center;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #coffee {
        background-size: 60%; 
        background-position: left 40%; 
        padding-top: 220px; 
    }

    #coffee .coffeeP {
        margin: 1rem;
        font-size: 1rem !important;
        text-align: center;
        padding-top: 2rem;
        margin-top: 5rem;
    }

    #coffee .coffeeP p {
        font-size: 1rem !important;
    }
}

/* --------------------------------------- */


#mantis {
    background-color: #000000;
    min-height: 120vh;
    max-width: 100vw;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.mantis img {
    width: auto;
    height: 50rem;
    display: block;
    margin-left: 15rem;
    margin-bottom: 30px;
    margin-top: 8rem;
}

.mantisP {
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 40%;
    margin-left: 60px;
    gap: 10px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #mantis {
        flex-direction: column;
        padding-left: 10px;
    }

    .mantis img {
        width: 75%;
        height: auto;
        margin-left: 50px;
        margin-bottom: 20px;
        margin-top: 150px;
    }

    .mantisP {
        width: 75%;
        margin-left: 30px;
        font-size: 1.2rem;
        padding: 0 10px;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #mantis {
        flex-direction: column;
        padding-left: 5px;  
    }

    .mantis img {
        width: 80%;
        height: auto;
        margin-bottom: 15px;
        margin-left: 20px; 
        margin-top: 60px;  
    }

    .mantisP {
        width: 80%;
        margin-left: 0; 
        font-size: 1.1rem;  
        padding: 0 5px;  
    }
}
/* ----------------------------------------------------------- */

#bookcover {
    background-color: #000000;
    background-image: url("../img/2stories.jpg");
    background-size: 30%; 
    background-position: left 27% bottom 20%; 
    background-repeat: no-repeat;
    min-height: 120vh; 
    max-width: 100vw; 
    padding-top: 150px; 
    padding-left: 20px; 
}

.bookcoverP {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 10rem;
    margin-left: 45rem;
    margin-right: 10rem;
    margin-top: 8rem;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}

@media (max-width: 768px) {
    #bookcover {
        background-size: 70%;
        background-position: center bottom;
        min-height: 850px;
        padding-top: 20px;
    }

    #bookcover .bookcoverP {
        margin: 2px 3rem;
        margin-top: 20px;
        text-align: left;
        align-items: center;
        padding-bottom: 80px;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #bookcover {
        background-size: 60%; 
        background-position: left 40%; 
        padding-top: 220px; 
    }

    #bookcover .bookcoverP {
        margin: 1rem;
        font-size: 1rem !important;
        text-align: center;
        padding-top: 2rem;
        margin-top: 5rem;
    }

    #bookcover .bookcoverP p {
        font-size: 1rem !important;
    }
}
/* ----------------------------------------------------------- */

#zine {
    background-color: #000000;
    min-height: 120vh;
    max-width: 100vw;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.zine img {
    width: auto;
    height: 35rem;
    display: block;
    margin-left: 15rem;
    margin-bottom: 30px;
}

.zineP {
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 40%;
    margin-left: 60px;
    gap: 10px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #zine {
        flex-direction: column;
        padding-left: 10px;
    }

    .zine img {
        width: 75%;
        height: auto;
        margin-left: 50px;
        margin-bottom: 20px;
        margin-top: 150px;
    }

    .zineP {
        width: 75%;
        margin-left: 30px;
        font-size: 1.2rem;
        padding: 0 10px;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #zine {
        flex-direction: column;
        padding-left: 5px;  
    }

    .zine img {
        width: 80%;
        height: auto;
        margin-bottom: 15px;
        margin-left: 20px; 
        margin-top: 60px;  
    }

    .zineP {
        width: 80%;
        margin-left: 0; 
        font-size: 1.1rem;  
        padding: 0 5px;  
    }
}
/* ----------------------------------------------------------- */

#soarguide {
    background-color: #000000;
    min-height: 120vh;
    max-width: 100vw;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.soarguide img {
    width: auto;
    height: 35rem;
    display: block;
    margin-left: 15rem;
    margin-bottom: 30px;
}

.soarguideP {
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 40%;
    margin-left: 60px;
    gap: 10px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #soarguide {
        flex-direction: column;
        padding-left: 10px;
    }

    .soarguide img {
        width: 75%;
        height: auto;
        margin-left: 50px;
        margin-bottom: 20px;
        margin-top: 150px;
    }

    .soarguideP {
        width: 75%;
        margin-left: 30px;
        font-size: 1.2rem;
        padding: 0 10px;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #soarguide {
        flex-direction: column;
        padding-left: 5px;  
    }

    .soarguide img {
        width: 80%;
        height: auto;
        margin-bottom: 15px;
        margin-left: 20px; 
        margin-top: 60px;  
    }

    .soarguideP {
        width: 80%;
        margin-left: 0; 
        font-size: 1.1rem;  
        padding: 0 5px;  
    }
}
/* ----------------------------------------------------------- */


#webdesign {
    background-color: #000000;
    background-image: url("../img/webdesign.png");
    background-size: 32%; 
    background-position: left 27% bottom 40%; 
    background-repeat: no-repeat;
    min-height: 120vh; 
    max-width: 100vw; 
    padding-top: 100px; 
    padding-left: 20px; 
}

.webdesignP {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 10rem;
    margin-left: 45rem;
    margin-right: 10rem;
    margin-top: 8rem;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
    'Open Sans', 'Helvetica Neue', sans-serif;
}

@media (max-width: 768px) {
    #webdesign {
        background-size: 70%;
        background-position: center 30rem;
        min-height: 850px;
    }

    #webdesign .webdesignP {
        margin: 1rem 3rem;
        text-align: left;
        align-items: center;
        padding-top: 60px;
    }
}


/* ----------------------------------small size screen---------------------- */

@media (max-width: 480px) {
    #webdesign {
        background-size: 60%; 
        background-position: left 40%; 
        padding-top: 220px; 
    }

    #webdesign .webdesignP {
        margin: 1rem;
        font-size: 1rem !important;
        text-align: center;
        padding-top: 2rem;
        margin-top: 5rem;
    }

    #webdesign .webdesignP p {
        font-size: 1rem !important;
    }
}
/* ----------------------------------------------------------- */

/* -------------------- CUSTOM LOGOS PAGE -------------------- */

/* -------------------- CUSTOM LOGOS PAGE -------------------- */

#customlogos {
    background-color: #000000;
    min-height: auto;
    max-width: 100vw;
    padding: 100px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Side-by-side image/PDF wrapper */
.logos-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 3rem;
    margin-left: 16rem;
    flex-wrap: nowrap;
}

.logostuff img {
    width: auto;
    height: 30rem;
    border-radius: 5px;
    display: block;
}

.logo-pdf embed {
    width: 25rem;
    height: 30rem;
    border: none;
    border-radius: 5px;
}

/* Text below the visuals */
.customlogosP {
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 
                 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 40%;
    margin-left: 16rem;
    margin-top: 3rem;
    gap: 10px;
    color: #ffffff;
}

/* -------------------- TABLET -------------------- */
@media (max-width: 1024px) {
    .logos-wrapper {
        margin-left: 5rem;
        gap: 2rem;
    }

    .logostuff img, .logo-pdf embed {
        height: 22rem;
    }

    .customlogosP {
        margin-left: 5rem;
        width: 60%;
        font-size: 1.3rem;
    }
}

/* -------------------- TABLET / SMALL SCREEN -------------------- */
@media (max-width: 768px) {
    .logos-wrapper {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .logostuff img,
    .logo-pdf embed {
        width: 80%;
        height: auto;
    }

    .customlogosP {
        width: 80%;
        margin-left: 0;
        text-align: center;
        font-size: 1.2rem;
    }
}

/* -------------------- MOBILE -------------------- */
@media (max-width: 480px) {
    #customlogos {
        padding: 60px 10px;
    }

    .logos-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-left: 0;
    }

    .logostuff img,
    .logo-pdf embed {
        width: 90%;
        height: auto;
    }

    .customlogosP {
        width: 90%;
        margin: 2rem 0 0 0;
        font-size: 1.1rem;
        text-align: center;
    }
}



/* ---------- Tooltip Styling ---------- */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    z-index: 10;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 1.3rem;
    font-family: Arial, Helvetica, sans-serif;
    pointer-events: none;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tooltip .tooltiptext::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

.overlay iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

/* ---- Zoom effect ---- */
.grid-item img {
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.grid-item img.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    width: auto;
    height: 90vh;
    max-width: 90vw;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9999;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    background-color: rgba(0, 0, 0, 0.9);
}

body {
    opacity: 0;
    animation: fadeInBody 0.8s ease-out forwards;
}

@media (hover: none) {
    body {
        opacity: 1;
        animation: none;
    }
}

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

#scroll-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #d76d33;
    width: 0%;
    z-index: 1000;
    transition: width 0.1s linear;
}

.mobile-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

.mobile-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.fade-out {
    opacity: 0;
}

.cursor-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(6px);
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out;
    z-index: 9999;
}

/* GLOBAL SPACING */
section:has(.story-left) {
    padding-bottom: 40px;
}

.web-brand-section {
    padding-top: 140px;  /* adjust this value */
}

/* HERO */
.hero {
    min-height: auto;   /* 🔥 remove full screen height */
    height: auto;
    display: flex;
    align-items: flex-start;  /* stop vertical centering */
    justify-content: center;
    padding: 0; /* 🔥 remove extra space */
    margin-top: -10px; /* pulls it closer to 3D logo */
}

/* keeps content from stretching weirdly */
.hero-inner {
    max-width: 600px;
    width: 100%;
    text-align: center; /* 🔥 center it */
}

/* LOGO */


/* TEXT */
.hero-inner p {
    margin: 5px 0;
    color: #000;              /* force black */
    font-size: 20px;          /* base size */
    letter-spacing: 1px;
}


.hero-inner p:last-child {
    font-weight: 900;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.8;
}

@media (max-width: 1100px) {
    .hero {
        justify-content: center;
        text-align: center;
    }

    .hero-inner {
        text-align: center;
    }

    .hero-logo {
        margin: 0 auto;
        max-width: 90%;
    }
}

/* STORY */
.story {
    height: 200vh;
    position: relative;
}

.story-sticky {
    position: sticky;
    top: 10%;
}

.story-layout {
    position: relative;
    width: 100vw;
    height: 300px;
    margin-left: calc(-8% - 0px);
}

.story-left {
    position: absolute;
    left: -22%;
    top: 2%;
    font-size: 60px;
    font-weight: 900;
    color: #000;
    line-height: 1;
    margin: 0;
    text-align: left;
}

.story-right-block {
    position: absolute;
    right: 45%;
    bottom: 5%;
    text-align: left;
}

.story-right {
    font-size: 35px;
    font-weight: 900;
    color: #000;
    margin: 0 0 6px 0;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 900px) {

    .story-layout {
        width: 100%;
        margin-left: 0;
        height: auto;
        padding: 0 6vw;   /* slightly more breathing room for small screens */
    }

    /* LEFT TEXT */
    .story-left {
        position: relative;
        left: 0;
        top: 0;
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 20px;
        text-align: left;
    }

    /* RIGHT BLOCK */
    .story-right-block {
        position: relative;
        right: 0;
        bottom: 0;
        text-align: left;
        width: 100%;              /* 🔑 prevents squeezing */
    }

    .story-right {
        font-size: clamp(16px, 5vw, 24px); /* slightly more flexible */
        white-space: normal;      /* allow wrapping */
        line-height: 1.3;

        /* 🔑 overflow protection */
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* PROJECT */
section.project {
    padding: 60px 0 0 0; /* try 40–80px range */
}

.project {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    width: 100%;
}

.project-info-top {
    width: 80%;
    min-width: 80vw;
    text-align: left;
}

.project-info-top h2 {
    color: #000;
}

.project-media {
    width: 80%;
    min-width: 80vw;
}

.project-media img {
    width: 100%;
    min-width: 80vw;
    border-radius: 12px;
}

.project-info {
    width: 80%;
    min-width: 80vw;
    text-align: left;
}

.project-info p {
    color: #000;
}

.illustration-section .illustration-title {
    position: relative;
    left: 0;
}

@media (min-width: 1100px) {
    .illustration-section .illustration-title {
        transform: translateX(80px);
    }
}

@media (max-width: 900px) {
    .illustration-section .illustration-title {
        transform: none;
        left: 0;
    }
}

/* PARALLAX */
.parallax {
    height: 50vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.parallax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: none;    /* removes the offset that's pushing it out */
}

/* EDITORIAL GRID */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;

    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 40px;
}

/* each image wrapper */
.editorial-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

/* image */
.editorial-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* dark overlay */
.editorial-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* title text */
.editorial-item span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 22px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;

    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* hover effects */
.editorial-item:hover img {
    transform: scale(1.08);
}

.editorial-item:hover::after,
.editorial-item:hover span {
    opacity: 1;
}

/* Tablet */
@media (max-width: 900px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 500px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
}



/* STATEMENT */
.statement {
    text-align: center;
}

.statement h2 {
    font-size: 48px;
    max-width: 800px;
    margin: auto;
    padding-bottom: 200px;
}

/* ---------- CTA BASE ---------- */
.cta {
    position: relative;
    text-align: center;
    padding: 80px 0;
    z-index: 10000;
}

/* CTA TEXT */
.cta a {
    position: relative;
    z-index: 10001;
    font-size: 30px;
    color: #000;
    text-decoration: none;
    transition: color 0.4s ease;
}

/* TEXT COLOR CHANGE ON HOVER */
.cta:hover a {
    color: #fff;
}

/* ---------- FULLSCREEN SWEEP ---------- */
.page-sweep {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #ffb37a; /* pastel orange */
    z-index: 9998;
    transition: left 0.6s ease;
    pointer-events: none;
}

/* TRIGGER SWEEP ON HOVER */
.cta:hover ~ .page-sweep {
    left: 0;
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-inner h1 {
        font-size: 60px;
    }

    .project {
        flex-direction: column;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
    }
}

.fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* CUSTOM CURSOR */
.custom-cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999999;
    transform: translate(-50%, -50%);
}

.cursor-blur {
    position: fixed;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(2);
}

body {
    cursor: none;
}

.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.animate {
    opacity: 0;
    transform: translateY(40px);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-logo {
    width: 800px;
    max-width: 90vw;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

/* ---------- SIMPLE CAROUSEL ---------- */
.simple-carousel {
    width: 90vw;
    max-width: none;
    margin: 80px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 80vh;
    object-fit: contain;
    background: #fccaca;
    border-radius: 12px;
    display: block;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 28px;
    padding: 10px 15px;
    cursor: pointer;
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.carousel-dots button {
    height: 10px;
    width: 10px;
    margin: 5px;
    border-radius: 50%;
    border: none;
    background: #ccc;
}

.carousel-dots button.active {
    background: #000;
}

.carousel-caption {
    width: 90vw;
    position: relative;
    left: 80%;
    transform: translateX(-50%);
    margin-top: 60px;
    padding: 0 10px;
}

.carousel-caption h2 {
    color: #000;
    margin: 0 0 10px 0;
    font-size: 32px;
}

.carousel-caption p {
    color: #000;
    font-size: 18px;
    margin: 0;
    padding-right: 200px;
}

@media (max-width: 650px) {

    .carousel-caption {
        width: 92vw;
        left: 50%;                 /* pulls it back into screen */
        transform: translateX(-50%);
        padding: 0 16px;
    }

    .carousel-caption h2 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 15px;
        padding-right: 0;          /* 🔑 removes overflow cause */
        line-height: 1.6;

        /* safety against overflow */
        overflow-wrap: break-word;
        word-break: normal;
    }
}

@media (max-width: 450px) {

    .carousel-caption {
        width: 94vw;          /* gives more breathing room */
        padding: 0 12px;
        left: 50%;
        transform: translateX(-50%);
    }

    .carousel-caption p {
        font-size: 14px;
        line-height: 1.6;

        /* 🔑 prevents ANY overflow */
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

section.project .story-layout {
    margin-left: 0;
    width: 100%;
}

section.project .story-left {
    left: 5%;
}

section.project .story-right-block {
    right: 4%;
}

.illustration-title {
    position: relative;
    transform: translateX(200px); /* adjust */
}

/* ---------- MAGAZINE SHELF ---------- */
.magazine-shelf {
    padding: 20px 8% 80px 8%;   /* was 80px all around, now 20px on top */
}

.mag-covers {
    display: flex;
    flex-direction: row;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;   /* snaps to each cover */
}

.mag-covers::-webkit-scrollbar {
    display: none;
}

.mag-card {
    flex: 0 0 auto;
    width: 380px;
    cursor: pointer;
    transition: transform 0.3s ease;
    scroll-snap-align: start;        /* works with snap */
}

.mag-card:hover {
    transform: translateY(-8px);
}

.mag-card img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: transparent;
    border-radius: 8px;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.mag-title {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    margin: 10px 0 0 0;
    text-align: center;
    font-family: Arial, sans-serif;
}

.shelf-hint {
    color: #000;
    font-size: 13px;
    font-family: Arial, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.5;
    text-align: center;    /* add this */
}

/* ---------- MAGAZINE MODAL ---------- */
.mag-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    overflow-y: auto;
}

.mag-modal.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mag-modal-inner {
    width: 90vw;
    max-width: 1000px;
    padding: 40px 20px;
    position: relative;
}

.mag-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
}

.mag-close:hover {
    color: #fccaca;
}

.mag-modal-header {
    text-align: left;
    margin-bottom: 30px;
}

.mag-modal-header h2 {
    color: #fff;
    font-size: 32px;
    margin: 0 0 10px 0;
}

.mag-modal-header p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0;
}

.mag-modal-viewer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.mag-modal-viewer img {
    max-width: 80%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.mag-modal-arrow {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.mag-modal-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.mag-modal-dots {
    text-align: center;
    margin-top: 20px;
}

.mag-modal-dots button {
    height: 8px;
    width: 8px;
    margin: 4px;
    border-radius: 50%;
    border: none;
    background: #555;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mag-modal-dots button.active {
    background: #fff;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
    cursor: pointer;
}


.mag-feature {
    width: 100%;
    margin: 0;
    padding: clamp(5px, 1vw, 15px) 0; /* scales spacing nicely */
}

.mag-feature-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mag-feature img {
    width: clamp(85%, 75vw, 1400px);
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .mag-feature {
        padding: 5px 0;
    }

    .mag-feature img {
        width: 95%;
        max-width: 100%;
    }
}

/* ---------- FULLSCREEN WEB CAROUSEL ---------- */
.web-carousel {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    background: #fccaca;
}

/* TRACK */
.web-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}

/* SLIDES */
.web-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.web-slide img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    pointer-events: none; /* important for drag */
}

/* ARROWS */
.web-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 10;
}

.web-arrow.prev { left: 20px; }
.web-arrow.next { right: 20px; }

/* DOTS */
.web-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.web-dots button {
    width: 10px;
    height: 10px;
    margin: 6px;
    border-radius: 50%;
    border: none;
    background: #aaa;
    cursor: pointer;
}

.web-dots button.active {
    background: #000;
}

.portfolio-page main {
    padding-bottom: 140px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo-3d-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0; /* less bottom space */
}

.logo-3d-section model-viewer {
    width: 500px;
    height: 500px;
}

/* -------billboard------- */

.stellar-billboard {
    width: 100%;
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* important for transparent PNG feel */
    position: relative;
}

.stellar-billboard img {
    width: 90vw;       /* key change: responsive full presence */
    max-width: 1400px; /* allows it to grow properly */
    height: auto;
    display: block;
}

/* Brand image pair */

.image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 4vw, 48px); /* space between images */

    padding: 0 clamp(16px, 6vw, 80px); /* space on left & right */
    margin: 80px 0; /* space above & below */
}

.image-pair img {
    width: 100%;
    height: auto;
    display: block;

    border-radius: 12px; /* optional, looks cleaner */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .image-pair {
        grid-template-columns: 1fr; /* stack images */
    }
}

.aura-section {
    width: 100%;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aura-section video {
    width: 1000px;
    height: auto;
    border-radius: 12px;
    display: block;
}

.aura-text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: #111;

    white-space: normal;   /* allows wrapping */
    max-width: 600px;      /* keeps it readable */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 0 20px;       /* prevents edge cutting on mobile */
}

.mag-feature {
    position: relative;
    overflow: visible;
}


.mag-feature-inner {
    width: 100%;
    position: relative;
    overflow: visible;
}

.cloud {
    width: 300px;
    display: block;
    will-change: transform;
}


body.portfolio-page {
    position: relative;
    background-color: #fccaca; /* your pink stays */
}

/* IMAGE OVERLAY */


body.portfolio-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

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

    opacity: var(--bg-opacity, 0.15); /* 👈 controlled by JS */
    z-index: -1;

    transition: opacity 0.2s linear;
}

/* Mobile responsiveness for portfolio page */
@media (max-width: 767px) {
    /* Hero */
    .hero-inner p {
        font-size: 16px;
    }

    .hero-inner p:last-child {
        font-size: 36px;
    }

    /* Story */
    .story-layout {
        flex-direction: column;
        text-align: center;
        height: auto;
        margin-left: 0;
        padding: 20px;
    }

    .story-left {
        position: static;
        font-size: 40px;
        margin-bottom: 20px;
    }

    .story-right-block {
        position: static;
        text-align: center;
    }

    .story-right {
        font-size: 24px;
        white-space: normal;
    }

    /* Carousel */
    .simple-carousel {
        width: 100vw;
        margin: 40px 0;
    }

    .carousel-slide img {
        height: 50vh;
    }

    .carousel-caption {
        width: 90vw;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 40px;
        padding: 0 20px;
    }

    .carousel-caption h2 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 14px;
        padding-right: 0;
        line-height: 1.5;
    }

    /* Magazine shelf */
    .magazine-shelf {
        padding: 20px;
    }

    .mag-covers {
        gap: 15px;
    }

    .mag-card {
        width: 200px;
    }

    .mag-card img {
        height: 300px;
    }

    /* Editorial grid */
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
        margin-left: 0;
    }

    .editorial-item span {
        font-size: 16px;
    }

    /* Web carousel */
    .web-carousel {
        width: 100vw;
        height: 60vh;
    }

    .web-slide img {
        width: 95%;
        height: 95%;
    }

    /* Image pair */
    .image-pair {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
        margin: 40px 0;
    }

    /* Aura section */
    .aura-section {
        padding: 20px;
    }

    .aura-section video {
        width: 100%;
        height: auto;
    }

    .aura-text {
        font-size: 14px;
        text-align: center;
        padding: 0 10px;
    }

    /* Statement */
    .statement h2 {
        font-size: 32px;
        padding-bottom: 100px;
    }

    /* CTA */
    .cta a {
        font-size: 24px;
    }

    /* Mag feature */
    .mag-feature img {
        width: 95%;
    }

    /* Logo 3D */
    .logo-3d-section model-viewer {
        width: 300px;
        height: 300px;
    }

    /* Billboard */
    .stellar-billboard img {
        width: 95vw;
    }
}