* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: #EFEAE3;
}

#main {
    width: 100%;
}

/* =============================================
   LOADER
   ============================================= */

#loader {
    height: 100%;
    width: 100%;
    background-color: #000;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

#loader h1 {
    position: absolute;
    color: transparent;
    background: linear-gradient(to right, #ff8c00, #fe320a);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 6vw;
    font-weight: 700;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(40px);
}

/* =============================================
   PAGE 1 — HERO
   ============================================= */

#page1 {
    min-height: 100vh;
    width: 100%;
    background-color: #EFEAE3;
    position: relative;
    padding: 0 3vw;
    overflow: hidden;
}

#hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.blob-1 {
    width: 35vw;
    height: 35vw;
    background: #fe320a;
    bottom: -15vw;
    right: -5vw;
    animation: blobFloat1 8s ease-in-out infinite alternate;
}

.blob-2 {
    width: 25vw;
    height: 25vw;
    background: #ff8c00;
    bottom: -10vw;
    right: 15vw;
    animation: blobFloat2 10s ease-in-out infinite alternate;
}

@keyframes blobFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-3vw, -4vw) scale(1.1); }
}

@keyframes blobFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(2vw, -3vw) scale(0.9); }
}

/* NAV */

nav {
    padding: 2.5vw 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

#nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5vw;
}

.logo {
    width: 80px;
    display: block;
}

#nav_part1 {
    display: flex;
    align-items: center;
    gap: 1vw;
}

#nav_part1 h4 {
    padding: 10px 22px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    font-weight: 400;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

#nav_part1 h4::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    background-color: #000;
    bottom: -100%;
    border-radius: 50px;
    transition: bottom 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

#nav_part1 h4:hover::after {
    bottom: 0;
}

#nav_part1 h4 a {
    text-decoration: none;
    color: #000;
    z-index: 9;
    position: relative;
    transition: color 0.3s ease;
}

#nav_part1 h4:hover a {
    color: #EFEAE3;
}

#nav_part1 h4:hover {
    border-color: #000;
}

/* CENTER / HERO TEXT */

#center {
    min-height: 36vw;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 2vw;
    position: relative;
    z-index: 5;
}

#left p {
    width: 28vw;
    font-size: 1.3vw;
    font-weight: 500;
    line-height: 1.6;
    color: #000;
}

#center h1 {
    font-size: 10vw;
    font-weight: 900;
    text-align: right;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: #000;
}

/* VIDEO */

.video-container {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    margin-top: 3vw;
    margin-bottom: 4vw;
    position: relative;
    z-index: 5;
}

#video {
    width: 100%;
    display: block;
    border-radius: 14px;
}

/* =============================================
   PAGE 2 — MARQUEE + CONTENT
   ============================================= */

#page2 {
    min-height: 100vh;
    width: 100%;
    background-color: #EFEAE3;
    padding: 0;
    position: relative;
}

#moving-text {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    gap: 3vw;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 2vw 0;
    margin: 0 3vw;
}

.con {
    display: flex;
    align-items: center;
    gap: 3vw;
    animation: marquee 14s linear infinite;
    flex-shrink: 0;
    min-width: 100%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 3vw)); }
}

.con h1 {
    font-size: 6vw;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #000;
}

.gola {
    height: 4.5vw;
    width: 4.5vw;
    min-width: 4.5vw;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #fe320a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-img {
    height: 70%;
    width: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* =============================================
   CREATIVE BOTTOM SECTION (Sundown Style)
   ============================================= */

#page2-bottom {
    min-height: 80vh;
    width: 100%;
    padding: 4vw 3vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 9;
}

#page2-bottom h1 {
    font-size: 4.2vw;
    width: 60%;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 700;
    z-index: 9;
}

#bottom-part2 {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 2vw;
    z-index: 9;
}

#bottom-part2 img {
    width: 100%;
    border-radius: 1vw;
    aspect-ratio: 4/3;
    object-fit: cover;
}

#bottom-part2 p {
    font-size: 0.9vw;
    line-height: 1.5;
    font-weight: 400;
}

#gooey {
    width: 32vw;
    height: 32vw;
    border-radius: 50%;
    position: absolute;
    top: 58%;
    left: 25%;
    background: linear-gradient(to top right, #ff2d03, #ff5c0b);
    filter: blur(40px);
    z-index: 8;
    animation: gooey 6s ease-in-out infinite alternate;
}

@keyframes gooey {
    from {
        filter: blur(40px);
        transform: translate(10%, -10%) skew(0);
    }
    to {
        filter: blur(60px);
        transform: translate(-10%, 10%) skew(-12deg);
    }
}


/* =============================================
   PAGE 3 — MENU LIST with hover images
   ============================================= */

#page3 {
    min-height: 80vh;
    width: 100%;
    background-color: #EFEAE3;
    padding: 5vw 3vw;
    position: relative;
    z-index: 10;
}

#page3-top {
    display: flex;
    align-items: center;
    gap: 0.6vw;
    margin-bottom: 4vw;
}

.orange-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fe320a;
    display: inline-block;
}

#page3-top h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #000;
}

/* Fixed hover image that shows up on the right */
#fixed-image {
    height: 30vw;
    width: 24vw;
    position: fixed;
    z-index: 99;
    border-radius: 1vw;
    left: 50%;
    top: 25%;
    display: none;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.elem {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.2vw 2vw; 
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
}

.elem:last-of-type {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.elem .overlay {
    height: 100%;
    width: 100%;
    background-color: #ff9831;
    position: absolute;
    top: -100%;
    left: 0;
    transition: all 0.25s ease;
    z-index: 1;
}

.elem:hover .overlay {
    top: 0;
}

.elem-left, .elem-right {
    position: relative;
    z-index: 2;
}

.elem-left h2 {
    font-size: 3.5vw;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.02em;
}

.elem-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2vw;
}

.elem-right span {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.4);
}

#all-projects-btn {
    margin-top: 3vw;
}

#all-projects-btn a {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

#all-projects-btn a:hover {
    background-color: #000;
    border-color: #000;
    color: #EFEAE3;
}

/* =============================================
   PAGE 4 — SPLIT SECTION
   ============================================= */

#page4 {
    width: 100%;
    background-color: #EFEAE3;
    padding: 2vw 3vw 5vw;
}

.split-container {
    display: flex;
    gap: 2vw;
    width: 100%;
    min-height: 50vh;
    border-radius: 14px;
    overflow: hidden;
}

.split-left {
    flex: 1;
    background-color: #000;
    color: #EFEAE3;
    padding: 4vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 14px;
}

.split-left h1 {
    font-size: 5vw;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 2vw;
    line-height: 1;
}

.split-left p {
    font-size: 1vw;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(239, 234, 227, 0.75);
    max-width: 30vw;
}

.split-right {
    flex: 1;
    overflow: hidden;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.split-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.split-right:hover img {
    transform: scale(1.04);
}

.split-right:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25),
                0 10px 20px rgba(0, 0, 0, 0.15);
}

/* =============================================
   FOOTER
   ============================================= */

#footer {
    width: 100%;
    background-color: #EFEAE3;
    padding: 6vw 3vw 3vw;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#footer-top {
    margin-bottom: 5vw;
}

#footer-top h1 {
    font-size: 12vw;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.88;
    color: rgba(0, 0, 0, 0.06);
}

#footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2vw;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1vw;
    color: #000;
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.8;
}

.footer-col p a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.55);
    transition: color 0.3s ease;
}

.footer-col p a:hover {
    color: #fe320a;
}
