/* Sofia Dance Open 2025 - Unified Styles */

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #000000;
}

#page-container {
    background: linear-gradient(180deg, #1a0f3e 0%, #0a0520 50%, #000000 100%);
    min-height: 100vh;
}

/* Header Styles */
header {
    background: rgba(26, 15, 62, 0.95);
    padding: 6px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.site-logo {
    color: #00d4ff;
    font-size: 24px;
    font-weight: 300;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding-bottom: 5px;
}

.site-logo img {
    height: 43px;
    transition: all 0.3s ease;
}

.site-logo:hover {
    color: #00ffff;
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    text-decoration: none;
}

.site-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.site-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.site-nav li {
    position: relative;
    transition: transform 0.3s ease;
}

.site-nav li:hover {
    transform: translateY(-3px);
}

.site-nav li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.site-nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.site-nav li a.hover {
    color: #00d4ff;
    /*content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);    */
}
.btn-blue {
    border: 1px solid white;
    padding: 15px 30px;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 9px;
}

.site-nav li a:hover {
    color: #00d4ff;
}

.site-nav li a:hover::after {
    width: 100%;
}

/* Hero Section - Home Page */
.site-section-home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
}

.site-section-home::before {
    display: none;
}

.site-section-home .container,
.site-section-home .row,
.site-section-home .col-md-12 {
    position: relative;
    z-index: 2;
}

.site-section-home h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 120px;
    color: #ffffff;
    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(0, 212, 255, 0.3),
        0 5px 20px rgba(0, 0, 0, 0.5);
    margin: 0;
    font-weight: 400;
    letter-spacing: 3px;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stars effect for home page */
.site-section-home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 50px 50px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90px 10px, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.3;
    z-index: 1;
    animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* Hero Section - Inner Pages */
.page-hero {
    position: relative;
    height: 157px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    margin-top: 55px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero h1 {
    font-family: 'open-sans', cursive;
    font-size: 72px;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
    letter-spacing: 8px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    animation: slideInFromLeft 1.2s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Animated Title for Inner Pages */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
        filter: blur(10px);
    }
    60% {
        transform: translateX(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* Content Section - Inner Pages */
.content-section {
    background: #000000;
    padding: 80px 20px;
    position: relative;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.content-section h2 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: #ffffff;
    text-transform: uppercase;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #00d4ff;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cccccc;
}

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

.content-section ul li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #cccccc;
    padding-left: 25px;
   /* position: relative; */
}

.content-section ul li::before {
    /*content: '&bull;'; */
    color: #00d4ff;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -3px;
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    margin: 40px 0;
}

/* Info Box */
.info-box {
    background: rgba(26, 15, 62, 0.3);
    border-left: 3px solid #00d4ff;
    padding: 10px 30px;
    margin: 30px 0;
    border-radius: 5px;
}

/* Mobile Menu Toggle */
.site-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #00d4ff;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.site-menu-toggle i {
    display: block;
    font-style: normal;
}

.site-menu-toggle:hover {
    background: rgba(0, 212, 255, 0.2);
}

.site-menu-toggle:focus {
    outline: none;
}

body.mobile-menu-open .site-menu-toggle:not(.site-nav .site-menu-toggle) {
    opacity: 0;
    pointer-events: none;
}

.visible-xs,
.visible-sm {
    display: none !important;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.push {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .site-nav {
        gap: 25px;
    }

    .site-nav li a {
        font-size: 13px;
    }

    .site-section-home h1 {
        font-size: 80px;
    }

    .page-hero h1 {
        font-size: 56px;
        letter-spacing: 5px;
    }

    .content-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .visible-xs,
    .visible-sm {
        display: block !important;
    }

    .site-menu-toggle {
        display: inline-block;
    }

    header .container {
        flex-wrap: nowrap;
        padding: 0 15px;
        justify-content: space-between;
    }

    .site-logo {
        font-size: 16px;
        letter-spacing: 0.5px;
        flex: 0 1 auto;
        white-space: nowrap;
    }

    .site-logo img {
        height: 35px;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(26, 15, 62, 0.98) 0%, rgba(10, 5, 32, 0.98) 100%);
        flex-direction: column;
        gap: 0;
        padding: 100px 0 30px;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-left: 2px solid rgba(0, 212, 255, 0.5);
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    }

    .site-nav.mobile-menu-active {
        right: 0;
    }

    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .site-nav li {
        width: 100%;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transform: translateX(50px);
    }

    .site-nav.mobile-menu-active li {
        animation: slideIn 0.4s ease forwards;
    }

    .site-nav.mobile-menu-active li:nth-child(1) { animation-delay: 0.1s; }
    .site-nav.mobile-menu-active li:nth-child(2) { animation-delay: 0.15s; }
    .site-nav.mobile-menu-active li:nth-child(3) { animation-delay: 0.2s; }
    .site-nav.mobile-menu-active li:nth-child(4) { animation-delay: 0.25s; }
    .site-nav.mobile-menu-active li:nth-child(5) { animation-delay: 0.3s; }
    .site-nav.mobile-menu-active li:nth-child(6) { animation-delay: 0.35s; }

    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .site-nav li:hover {
        transform: none;
        background: rgba(0, 212, 255, 0.1);
    }

    .site-nav li a {
        display: block;
        width: 100%;
        padding: 20px 30px;
        font-size: 16px;
        letter-spacing: 2px;
    }

    .site-nav li a::after {
        display: none;
    }

    .site-nav li a:hover {
        background: rgba(0, 212, 255, 0.15);
        padding-left: 40px;
    }

    .site-nav li.visible-xs,
    .site-nav li.visible-sm {
        display: flex !important;
        position: absolute;
        top: 20px;
        right: 20px;
        width: auto;
        border: none;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .site-nav li.visible-xs a,
    .site-nav li.visible-sm a {
        padding: 10px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        font-size: 24px;
        line-height: 1;
    }

    .site-nav li.visible-xs a:hover,
    .site-nav li.visible-sm a:hover {
        background: rgba(255, 0, 0, 0.3);
        padding: 10px;
    }

    /* Mobile hero section - Home Page */
    .site-section-home {
        min-height: 100vh;
        padding: 0px 15px 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-section-home .container {
        width: 100%;
        padding: 0 15px;
    }

    .site-section-home .push {
        margin-top: 0 !important;
    }

    .site-section-home h1 {
        font-size: 48px;
        text-align: center;
        line-height: 1.2;
    }

    /* Mobile hero section - Inner Pages */
    .page-hero {
        height: 100px;
        margin-top: 50px;
    }

    .page-hero h1 {
        font-size: 42px;
        letter-spacing: 4px;
    }

    /* Mobile content section */
    .content-section {
        padding: 50px 20px;
    }

    .content-section h2 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .content-section h3 {
        font-size: 20px;
    }

    .content-section p,
    .content-section ul li {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        font-size: 14px;
        letter-spacing: 0.3px;
    }

    .site-section-home h1 {
        font-size: 42px;
        line-height: 1.3;
        padding: 0 10px;
    }

    .page-hero h1 {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .content-section h2 {
        font-size: 22px;
    }

    .site-nav {
        width: 85%;
    }

    header {
        padding: 15px 0;
    }
    .btn-blue {
        width: 100%!important;
        text-align: center;
        border: 1px solid white;
        padding: 15px 30px;
        background: white;
        color: black;
        text-decoration: none;
        border-radius: 9px;
        display: block;
    }
}

@media (max-width: 360px) {
    .site-section-home h1 {
        font-size: 36px;
    }

    .site-logo {
        font-size: 12px;
    }
}