/**
 * NordCup League - Contact Page Styles
 * Professional contact page with form and information
 */

/* ===================
   RESET & BASE STYLES
   =================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    padding-top: 200px;
    transition: padding-top 0.3s ease;
}

/* ===================
   BACKGROUND & OVERLAY
   =================== */

.background-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.15) 100%),
                url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

/* ===================
   LOGO HEADER
   =================== */

.logo-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 600;
    transition: all 0.3s ease;
}

.logo-header.scrolled {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
    pointer-events: none;
}

.main-logo {
    width: 130px;
    height: 130px;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.8)) drop-shadow(0 0 40px rgba(0,0,0,0.4));
    transition: all 0.3s ease;
    background: rgba(19, 33, 44, 0.9);
    border-radius: 20%;
    padding: 25px;
    border: 3px solid rgba(184, 179, 89, 0.8);
    display: block;
    box-sizing: content-box;
}

/* ===================
   NAVIGATION
   =================== */

.top-nav {
    background: transparent;
    backdrop-filter: none;
    padding: 15px 0;
    position: fixed;
    top: 0;
    right: 0;
    width: auto;
    z-index: 500;
    box-shadow: none;
    transition: all 0.3s ease;
}

.top-nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 0 15px;
}

.top-nav.scrolled .hamburger {
    transform: scale(0.8);
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

/* Hamburger Button */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    background: none;
    border: none;
    transition: transform 0.3s ease;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: rgba(19, 33, 44, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.3s ease;
    padding-top: 80px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}

.sidebar-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
}

.sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    color: #B8B359;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    height: calc(100vh - 120px);
}

.mobile-nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #B8B359;
    padding-left: 10px;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.admin-link-sidebar {
    opacity: 0.6;
    font-size: 14px !important;
    margin-top: auto;
    border-top: 2px solid rgba(184, 179, 89, 0.3) !important;
    border-bottom: none !important;
}

.admin-link-sidebar:hover {
    opacity: 1;
    color: #B8B359 !important;
}

/* Overlay for mobile menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================
   MAIN CONTENT
   =================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

.section {
    margin-bottom: 60px;
}

.section:first-child {
    margin-top: 40px;
}

/* ===================
   CONTACT STYLES
   =================== */

.contact-container {
    background: rgba(19, 33, 44, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.1);
    overflow: hidden;
}

.contact-header {
    background: rgba(19, 33, 44, 0.98);
    padding: 20px 25px;
    border-bottom: 3px solid #B8B359;
}

.contact-title {
    color: #fff;
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    font-weight: 400;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.contact-content {
    padding: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info h3,
.contact-form-container h3 {
    color: #B8B359;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.contact-info h4 {
    color: #B8B359;
    margin: 25px 0 15px 0;
    font-size: 1.1em;
}

.info-section {
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-section p {
    margin-bottom: 8px;
}

.info-section a {
    color: #B8B359;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-section a:hover {
    color: #fff;
}

/* ===================
   CONTACT FORM
   =================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #fff;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #666;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B8B359;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-btn {
    background: #B8B359;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contact-btn:hover {
    background: #9A9A2A;
    transform: translateY(-1px);
}

/* ===================
   BACK LINK
   =================== */

.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(25, 25, 25, 0.9);
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(184, 179, 89, 0.9);
    transform: translateY(-2px);
}

/* ===================
   PARTNER STYLES
   =================== */

.partner-intro {
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.partner-card {
    background: rgba(40, 40, 40, 0.8);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(184, 179, 89, 0.2);
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: rgba(184, 179, 89, 0.5);
}

.partner-logo-placeholder {
    width: 120px;
    height: 60px;
    background: rgba(184, 179, 89, 0.2);
    border: 2px dashed #B8B359;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #B8B359;
    font-weight: 600;
    font-size: 12px;
}

.partner-logo {
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 10px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo img {
    filter: brightness(1);
}

.partner-card h4 {
    color: #B8B359;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.partner-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 0.9em;
}

.partnership-info {
    background: rgba(40, 40, 40, 0.6);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(184, 179, 89, 0.3);
}

/* ===================
   LEGAL CONTENT
   =================== */

.legal-content {
    color: #fff;
    line-height: 1.6;
}

.legal-content h3 {
    color: #B8B359;
    margin: 30px 0 15px 0;
    font-size: 1.2em;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content h4 {
    color: #B8B359;
    margin: 20px 0 10px 0;
    font-size: 1.1em;
}

.legal-content .info-section {
    margin-bottom: 25px;
}

.legal-content ul {
    margin: 10px 0 10px 20px;
    color: rgba(255,255,255,0.9);
}

.legal-content li {
    margin-bottom: 5px;
}

/* ===================
   FOOTER
   =================== */

.footer {
    background: rgba(19, 33, 44, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 10px 10px 0 0;
    padding: 20px;
    margin-top: 60px;
    text-align: center;
    border-top: 2px solid #B8B359;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #B8B359;
}

.admin-link-footer {
    opacity: 0.5;
    font-size: 12px;
    transition: opacity 0.3s ease;
}

.admin-link-footer:hover {
    opacity: 1;
    color: #B8B359;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================
   RESPONSIVE DESIGN
   =================== */

@media (max-width: 1024px) {
    .main-logo {
        width: 120px;
        height: 120px;
    }

    body {
        padding-top: 160px;
    }
}

@media (max-width: 768px) {
    .background-hero {
        background-attachment: scroll;
    }

    .main-logo {
        width: 100px;
        height: 100px;
    }

    body {
        padding-top: 140px;
    }

    .container {
        padding: 0 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-logo {
        width: 80px;
        height: 80px;
    }

    body {
        padding-top: 120px;
    }

    .contact-content {
        padding: 15px;
    }

    .contact-header {
        padding: 15px 20px;
    }
}