/* Others Page Specific Styles - Standalone */

/* Base styles */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    height: auto;
}

body {
    margin-top: 0 !important;
}

.banner-section {
    min-height: 100vh;
    background-color: #0C0C0C;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    width: 80%;
    height: 80vh;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-title {
    font-family: 'Roaster', serif;
    font-size: 7rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
}

.banner-word {
    background-image: url('../src/images/design-border.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 1rem 2rem;
    display: inline-block;
    position: relative;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    pointer-events: none;
    z-index: 5;
}

.grid-cell {
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    pointer-events: auto;
    cursor: none;
}

#hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 270px;
    height: 270px;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    object-fit: contain;
    z-index: 10;
    transition: opacity 0.3s ease-in-out;
    background-color: #ffffff;
    border-radius: 1rem;
}


/* Font imports */
@font-face {
    font-family: 'Ginger';
    src: 
        url('../src/fonts/Ginger.woff') format('woff'),
        url('../src/fonts/Ginger.ttf') format('truetype'),
        url('../src/fonts/Ginger.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roaster';
    src: 
        url('../src/fonts/roaster.regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Menu system styles */
#split-menu {
    background-color: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

#split-menu .logo-container {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    display: block;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

#split-menu .logo-container a {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

#split-menu .logo-container img {
    display: block;
    opacity: 1;
    visibility: visible;
    width: auto;
    height: 2rem;
    position: relative;
    z-index: 11;
}

.menu-button {
    box-shadow: 0 0 10px 0 #18274B1F;
    font-family: 'Roaster', sans-serif;
    cursor: pointer;
}


.menu-button-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: calc(100vw - 2.5rem);
}

.menu-button-content.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    overflow-y: auto;
    max-height: 65vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-button-content.open::-webkit-scrollbar {
    display: none;
}

.menu-items .menu-link {
    font-family: 'Roaster', sans-serif;
    cursor: pointer;
}

.menu-items .menu-link:hover {
    background: white;
    color: #FCB600;
    border-bottom: 3px solid #FCB600;
    border-radius: 8px;
    padding-left: 60px;
    transform: translateX(0);
}

/* Menu Link Hover Effects - Yellow Line Animation */
.menu-button-content .menu-link {
    position: relative;
    overflow: visible;
    transition: all 0.3s ease-in-out;
    padding-left: 0;
}

.menu-button-content .menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: #FCB600;
    transition: width 0.3s ease-in-out;
    z-index: 10;
    border-radius: 2px;
    pointer-events: none;
}

.menu-button-content .menu-link:hover::before {
    width: 55px;
}

.menu-button-content .menu-link:hover {
    background: white !important;
    color: #FCB600 !important;
    border-bottom: 3px solid #FCB600;
    border-radius: 8px;
    padding-left: 60px;
    transform: translateX(0);
}

/* Override main container height issues */
.main {
    height: auto !important;
    min-height: auto !important;
}

/* Footer Section Styles */
.footer-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 0;
}

.das-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
    height: 80vh;
    width: 100%;
}

.das-logo img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: relative !important;
    z-index: 100 !important;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}


/* Peacock Section Styles */
.peacock-section {
    min-height: 100vh;
    /* background: linear-gradient(135deg, #000000 38%, #FCB600 100%); */
    background-color: #000000F2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.peacock-content {
    width: 90%;
    height: 80vh;
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    margin: 2rem;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    min-height: 80vh;
    gap: 1rem;
}

.peacock-image {
    flex-shrink: 0;
    height: 100%;
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img {
    width: 80%;
    height: 80%;
    border-radius: 1rem;
    object-fit: contain;
}

.peacock-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.peacock-title {
    font-family: 'Roaster', serif;
    font-size: 4rem;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.peacock-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #000000;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

.dream-section {
    min-height: 100vh;
    background-color: #000000F2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dream-content {
    width: 90%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dream-title {
    font-family: 'Roaster', serif;
    font-size: 8rem;
    font-weight: 400;
    color: #ffffff;
}

/* Mobile Responsive Design (≤767px) */
@media (max-width: 767px) {
    /* Ensure header stays transparent on mobile */
    #split-menu {
        background-color: transparent !important;
    }
    
    /* Banner Section Mobile */
    .banner-section {
        min-height: 35dvh !important;
        height: 35dvh !important;
        padding: 0;
        margin-top: 60px; /* Account for fixed header */
    }
    
    .banner-content {
        width: 95%;
        height: 100%;
        padding: 1rem;
    }
    
    .banner-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin: 0;
    }
    
    .banner-word {
        padding: 0.5rem 1rem;
        font-size: inherit;
    }
    
    #hover-image {
        width: 150px;
        height: 150px;
    }
    
    /* Peacock Section Mobile */
    .peacock-section {
        min-height: 50dvh !important;
        height: 50dvh !important;
        padding: 0;
    }
    
    .peacock-content {
        width: 100% !important;
        height: 90% !important;
        flex-direction: column !important;
        text-align: center;
        padding: 1.5rem !important;
        gap: 1rem !important;
        margin: 0 auto !important;
        min-height: auto;
    }
    
    .peacock-image {
        width: 100% !important;
        height: 40% !important;
    }
    
    .peacock-text {
        align-items: center;
        flex: 1;
    }
    
    .peacock-title {
        font-size: 1.875rem !important; /* 30px */
        text-align: center;
        margin: 0.5rem 0 !important;
    }
    
    .peacock-subtitle {
        font-size: 0.875rem !important; /* 14px */
        text-align: center;
        line-height: 1.4;
    }
    
    .profile-img {
        width: 100% !important;
        height: 100% !important;
        max-width: 200px;
        max-height: 150px;
    }
    
    .dream-section {
        min-height: auto;
        height: 35dvh;
    }
    
    .dream-content {
        height: 100%;
    }
    
    .dream-title {
        font-size: 3rem;
    }
    
    /* Footer Section Mobile - 35dvh height */
    .footer-section {
        height: 35dvh !important;
        min-height: 35dvh !important;
        padding: 1rem 0 !important;
    }
    
    .das-logo {
        height: 100% !important;
        width: 100% !important;
        padding: 0.5rem !important;
    }
    
    .das-logo img {
        width: auto !important;
        height: auto !important;
        max-width: 90vw !important;
        max-height: 30dvh !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        object-fit: contain !important;
    }
}

/* Tablet Responsive Design (768px-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Ensure header stays transparent on tablet */
    #split-menu {
        background-color: transparent !important;
    }
    
    /* Banner Section Tablet */
    .banner-section {
        min-height: 35dvh !important;
        height: 35dvh !important;
        padding: 0;
        margin-top: 70px; /* Account for fixed header */
    }
    
    .banner-content {
        width: 90%;
        height: 100%;
        padding: 1.5rem;
    }
    
    .banner-title {
        font-size: 3.5rem !important;
        line-height: 1.2;
    }
    
    .banner-word {
        padding: 0.75rem 1.5rem;
    }
    
    #hover-image {
        width: 200px;
        height: 200px;
    }
    
    /* Peacock Section Tablet */
    .peacock-section {
        min-height: 55dvh !important;
        height: 55dvh !important;
        padding: 0;
    }
    
    .peacock-content {
        width: 90% !important;
        height: 85% !important;
        flex-direction: row !important;
        padding: 2rem !important;
        gap: 1.5rem !important;
    }
    
    .peacock-image {
        width: 50% !important;
        height: 100% !important;
    }
    
    .peacock-text {
        width: 50% !important;
        align-items: flex-start;
    }
    
    .peacock-title {
        font-size: 2.5rem !important; /* 40px */
        text-align: left;
    }
    
    .peacock-subtitle {
        font-size: 1rem !important; /* 16px */
        text-align: left;
    }
    
    .profile-img {
        width: 100% !important;
        height: 100% !important;
        max-width: 300px;
        max-height: 300px;
    }
    
    .dream-section {
        min-height: auto;
        height: 40dvh;
    }
    
    .dream-title {
        font-size: 5rem;
    }
    
    /* Footer Section Tablet */
    .footer-section {
        height: 35dvh !important;
        min-height: 35dvh !important;
        padding: 1rem 0 !important;
    }
    
    .das-logo {
        height: 100% !important;
        width: 100% !important;
        padding: 0.75rem !important;
    }
    
    .das-logo img {
        width: auto !important;
        height: auto !important;
        max-width: 85vw !important;
        max-height: 30dvh !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        object-fit: contain !important;
    }
}

/* Desktop Styles (≥1024px) */
@media (min-width: 1024px) {
    /* Banner Section Desktop - Original height */
    .banner-section {
        min-height: 100vh !important;
        height: auto !important;
    }
    
    .banner-content {
        width: 80%;
        height: 80vh;
    }
    
    .banner-title {
        font-size: 7rem !important;
    }
    
    /* Peacock Section Desktop - Original height */
    .peacock-section {
        min-height: 100vh !important;
    }
    
    .peacock-content {
        width: 90% !important;
        height: 80vh !important;
        flex-direction: row !important;
        padding: 3rem !important;
        gap: 1rem !important;
    }
    
    .peacock-image {
        width: 60% !important;
        height: 100% !important;
    }
    
    .peacock-text {
        flex: 1;
        align-items: flex-start;
    }
    
    .peacock-title {
        font-size: 4rem !important;
    }
    
    .peacock-subtitle {
        font-size: 1.5rem !important;
    }
    
    .profile-img {
        width: 80% !important;
        height: 80% !important;
    }
    
    .dream-section {
        min-height: 100vh !important;
    }
    
    .dream-title {
        font-size: 8rem !important;
    }
    
    /* Footer Section Desktop - Original height */
    .footer-section {
        height: auto !important;
        min-height: 100vh !important;
        padding: 2.5rem 0 !important;
    }
    
    .das-logo {
        height: 80vh !important;
        padding: 0 !important;
    }
    
    .das-logo img {
        width: auto !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
}