/* Luxury Minimalist Design - SLHY */

/* Font Imports */
@font-face {
    font-family: "Didot";
    src: url("fonts/Didot LT Std Italic.otf");
}

@font-face {
    font-family: "Avenir";
    src: url("fonts/Avenir.ttf");
}

/* Color Variables */
:root {
    --brown: #4E3423;
    --tan: #BA9B7C;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    background-color: var(--white);
    font-family: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Splashscreen */



/* Main Content */
.main-content {
    display: none;
    min-height: 100vh;
}

/* Header Section */
.header-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    mask: linear-gradient(
        to bottom,
        black 0%,
        black 95%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(
        to bottom,
        black 0%,
        black 95%,
        transparent 100%
    );
}

.header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.1) contrast(1.05);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.9) 5%,
        rgba(255, 255, 255, 0.7) 15%,
        rgba(255, 255, 255, 0.3) 30%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0.7) 85%,
        rgba(255, 255, 255, 0.9) 95%,
        rgba(255, 255, 255, 1) 100%
    );
}

.logo-overlay {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 120px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.25)) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
}

.nav-buttons {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    font-family: 'Didot', serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--brown);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.nav-btn:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(78, 52, 35, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:active {
    transform: translateY(-4px) scale(0.98);
    transition: all 0.1s ease;
}

/* Text Section */
.text-section {
    padding: 80px 0;
    background: var(--white);
}

.text-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.text-content p {
    font-family: 'Avenir', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--brown);
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Blocks Section */
.blocks-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    min-height: 100vh;
}

.glass-block {
    position: relative;
    height: 100vh;
    overflow: hidden;
    cursor: pointer;
}

.block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.glass-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Floating effect optimizations */
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Shimmer effect setup */
    overflow: hidden;
}

/* Glass panel shimmer effect */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
    border-radius: 20px;
}

.glass-panel:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.glass-panel:hover::before {
    left: 100%;
}

.glass-block:hover .block-image {
    transform: scale(1.05);
}

.glass-block:hover .glass-overlay {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.block-content {
    text-align: left;
    max-width: 400px;
    padding: 40px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    position: absolute;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    transform: translateZ(20px);
    will-change: transform;
}

.block-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
    border-radius: 20px;
}

.glass-block:hover .block-content {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.glass-block:hover .block-content::before {
    left: 100%;
}

.title-rectangle {
    background: var(--brown);
    padding: 20px 30px;
    margin-bottom: 30px;
    width: fit-content;
    align-self: flex-start;
}

.block-title {
    font-family: 'Didot', serif;
    font-size: 32px;
    font-weight: 300;
    color: var(--tan);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    line-height: 50%;
}

.block-text {
    margin-bottom: 30px;
    text-align: left;
}

.block-text p {
    font-family: 'Avenir', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Didot', serif;
    font-size: 18px;
    color: var(--brown);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-top: auto;
    font-weight: 500;
}

.shop-link:hover {
    color: #000000;
    transform: translateX(5px);
}

.arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.shop-link:hover .arrow {
    transform: translateX(5px);
}

/* Text List Modal */
#community-embed-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.close_textlist_form {
    color: var(--tan);
    padding: 20px;
    font-family: 'Avenir', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close_textlist_form:hover {
    color: var(--white);
}

/* Social Links */
.socials_wrapper {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 100;
}

/* Hide social icons during splashscreen */
body:has(#splashscreen) .socials_wrapper {
    display: none;
}

.socialIcon_link {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 50%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.socialIcon_link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
    border-radius: 50%;
}

.socialIcon_link:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(78, 52, 35, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.socialIcon_link:hover::before {
    left: 100%;
}

.socialIcon_link:active {
    transform: translateY(-4px) scale(1.05);
    transition: all 0.1s ease;
}

.socialIcons {
    height: 20px;
    width: 20px;
    filter: brightness(0) saturate(100%) invert(27%) sepia(15%) saturate(2000%) hue-rotate(25deg) brightness(95%) contrast(85%);
    transition: filter 0.3s ease;
}

.socialIcon_link:hover .socialIcons {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blocks-section {
        grid-template-columns: 1fr;
    }
    
    .glass-block {
        height: 60vh;
        margin-bottom: 0;
        /* Ensure proper positioning context */
        position: relative;
    }
    
    .glass-panel {
        width: 90%;
        padding: 20px;
    }
    
    .block-content {
        padding: 15px;
        width: 100%;
        max-width: none;
    }
    
    .text-content {
        padding: 0 20px;
        max-width: 50%;
    }
    
    .text-content p {
        font-size: 14px;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 20px;
        width: 60%;
    }
    
    .nav-btn {
        font-size: 16px;
        padding: 12px 25px;
    }
    
    .logo-overlay {
        width: 120px;
        height: 120px;
        margin-bottom: 100px;
    }
    
    .block-title {
        font-size: 20px;
    }
    
    .title-rectangle {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .text-content {
        max-width: 90%;
    }
    
    .glass-panel {
        width: 80%;
        padding: 15px;
    }
    
    .block-content {
        padding: 15px;
        max-width: 80% !important;
    }
    
    .block-title {
        font-size: 20px;
    }
    
    .nav-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Minimal centering - that's it! */

/* Prevent scroll during splashscreen */
body.splashscreen-active {
    overflow: hidden;
    height: 100vh;
}