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

body {
    font-family: 'Abel', sans-serif;
    background-color: #1A1A1A;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Global layout variable for unified horizontal page padding */
:root { --page-padding-x: 80px; }

@media (max-width: 768px) {
    :root { --page-padding-x: 20px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    :root { --page-padding-x: 40px; }
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Main Content Section */
.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.title {
    font-size: 40px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 50px;
    line-height: 51px;
    letter-spacing: 0;
    text-align: center;
}

/* Contact Icons */
.contact-icons {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-item:hover {
    transform: translateY(-5px);
}

.icon-container {
    width: 71px;
    height: 71px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-item:hover .icon-container {
    opacity: 0.8;
}

.contact-icon {
    width: 55px;
    height: 55px;
}

.contact-label {
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    line-height: 25px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--page-padding-x);
    height: 36px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-section:hover {
    opacity: 0.8;
}

.logo {
    width: 24px;
    height: 24px;
    border-radius: 2px;
}

.logo-text {
    font-size: 25px;
    font-family: 'Abel', sans-serif;
    color: #ffffff;
    line-height: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 25px;
    font-family: 'Abel', sans-serif;
    color: #ffffff;
    text-decoration: none;
    line-height: 32px;
    transition: color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover {
    color: #616161;
}

.nav-link.active {
    color: #616161;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    position: relative;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    position: absolute;
    width: 20px;
    height: 1px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Default state - two lines */
.hamburger-line:nth-child(1) {
    top: 7px;
    left: 2px;
}

.hamburger-line:nth-child(2) {
    top: 15px;
    left: 2px;
}

/* Active state - X shape */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    top: 11px;
    transform: rotate(-45deg);
}

/* Mobile Slide Menu */
.mobile-menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 999;
    transition: bottom 0.3s ease;
}

.mobile-menu.active {
    bottom: 0;
}

.mobile-menu-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 40vh;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 30px 36.6px 30px;
    display: flex;
    flex-direction: column;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-nav-link:hover {
    color: #616161;
}

.mobile-nav-link.active {
    color: #616161;
}

.nav-arrow {
    width: 16px;
    height: 8px;
    transition: transform 0.3s ease;
}

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

.mobile-nav-link:last-child {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .container {
        width: 100%;
    }
    
    .main-content {
        max-width: 90%;
    }
    
    .title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .contact-icons {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .main-content {
        top: 40%;
        max-width: 95%;
    }
    
    .title {
        font-size: 28px;
        line-height: 35px;
        margin-bottom: 40px;
    }
    
    .contact-icons {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-content {
        padding: 0 20px;
        justify-content: space-between;
        height: 40px;
    }
    
    /* Hide desktop navigation on mobile */
    .desktop-nav {
        display: none;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .logo-text, .nav-link {
        font-size: 20px;
    }
    
    .contact-icons {
        gap: 25px;
    }
}
