/* Import Google Fonts - Exo 2 */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;700;900&display=swap');

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

html {
    scroll-behavior: smooth;
}

:root {
    --header-divider-thickness: 5px;
    --header-offset: calc(4rem + 80px);
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: #050505;
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.2;
}

body:not(.centered-layout) {
    padding-top: var(--header-offset);
}

body.centered-layout {
    padding-top: 0;
}

/* Header Styles */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 5vw;
    z-index: 10;
    text-align: center;
    border-bottom: var(--header-divider-thickness) solid rgba(255, 255, 255, 0.8);
    background-color: #050505;
}

.centered-layout header {
    position: relative;
    width: 100%;
    padding: 40px 5vw;
    border-bottom: var(--header-divider-thickness) solid rgba(255, 255, 255, 0.9);
    background-color: #050505;
    margin-bottom: 0;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: transparent;
    -webkit-text-stroke: 1px #ffffff;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.main-title:hover {
    opacity: 1;
    color: #ffffff;
    -webkit-text-stroke: 0;
    transform: scale(1.05);
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: calc(40px + 2rem);
    right: 5vw;
    display: flex;
    gap: 20px;
    font-size: 1rem;
    z-index: 100;
    font-weight: 700;
}

.language-switcher a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.language-switcher a:hover {
    color: #fff;
}

.language-switcher a.active {
    color: #fff;
}

.language-switcher span {
    display: none;
}

@media (max-width: 768px) {
    .language-switcher {
        display: none !important;
    }
}

body.asesorias-page .language-switcher span {
    display: inline;
}

/* Navigation Menu Styles */
.navigation-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: calc(100vh - var(--header-offset));
    padding: 80px 5vw;
    width: fit-content;
    margin: 0 auto;
}

.nav-box {
    text-decoration: none;
    color: #fff;
    display: block;
    width: 100%;
    position: relative;
}

.nav-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 15px;
    width: 4px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.nav-box:hover::before,
.nav-box.active::before {
    background-color: #ffffff;
}

.nav-content {
    border: none;
    padding: 15px 0 15px 30px;
    text-align: left;
    font-size: clamp(2.5rem, 6vw, 5rem);
    background-color: transparent;
    font-weight: 900;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: transparent;
    -webkit-text-stroke: 1px #ffffff;
    line-height: 1.1;
}

.nav-box:hover .nav-content {
    color: #ffffff;
    -webkit-text-stroke: 0;
    transform: translateX(20px);
    background-color: transparent;
    box-shadow: none;
    opacity: 1;
}

/* Special 3D Effect for 3D Cards Box */
.nav-box:nth-child(3):hover .nav-content {
    color: #fff;
    -webkit-text-stroke: 0;
    text-shadow:
        -4px -4px 0 #ff0000,
        4px 4px 0 #00ffff;
    transform: translateX(20px) scale(1.05);
}

.nav-box.active .nav-content {
    color: #fff;
}

/* Content Sections */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.centered-layout main {
    padding-top: 8px;
}

body.asesorias-page main {
    padding-top: 12px;
}

.content-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.centered-layout .content-section {
    min-height: auto;
    align-items: flex-start;
    padding: 12px 20px 48px;
}

body.asesorias-page .content-section {
    padding: 24px 20px 40px;
}


.section-box {
    background-color: #050505;
    border-left: 4px solid #fff;
    padding: 40px;
    max-width: 900px;
    width: 100%;
}

.section-box h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 40px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #aaa;
    font-weight: 400;
    max-width: 600px;
}

.section-box ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.section-box ul li {
    font-size: 1.2rem;
    padding: 15px 0;
    padding-left: 0;
    position: relative;
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid #222;
}

.section-box ul li::before {
    content: '';
}

.contact-info {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #fff;
}

/* Centered Layout Override for Content Pages */
.centered-layout .section-box {
    border-left: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-layout .section-box p,
.centered-layout .section-box ul,
.centered-layout .section-box .service-grid,
.centered-layout .section-box .pricing-section,
.centered-layout .section-box .about-section {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.centered-layout .section-box h2 {
    text-transform: none; /* Disable uppercase transformation */
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --header-offset: calc(4rem + 40px);
    }

    header {
        padding: 20px;
    }

    .navigation-menu {
        padding: 50px 20px;
    }

    .nav-content {
        font-size: 2.5rem;
    }

    .section-box {
        padding: 20px;
        border-left: 2px solid #fff;
    }
    
    .centered-layout .section-box {
        border-left: none;
    }
}