/*
Theme Name: Super Technology Studios
Theme URI: https://supertechstudios.com
Description: Professional theme for STS Account Center and Adults AI
Version: 1.0
Author: Super Technology Studios
Author URI: https://supertechstudios.com
*/

/* ===================================
   GLOBAL RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===================================
   DESKTOP HEADER
   =================================== */

.desktop-header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #ff6b35;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    max-height: 48px;
    width: auto;
}

.site-info {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
}

.site-description {
    color: #ff8c42;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
}

.nav-menu li.active a,
.nav-menu li.current-menu-item a {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   MOBILE HEADER (Hidden by default)
   =================================== */

.mobile-header {
    display: none;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #ff6b35;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-site-title {
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* ===================================
   HAMBURGER BUTTON
   =================================== */

.hamburger-btn {
    display: none;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border: 3px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.hamburger-icon {
    position: relative;
    width: 25px;
    height: 18px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 7px;
}

.hamburger-icon span:nth-child(3) {
    top: 14px;
}

.hamburger-btn.open .hamburger-icon span:nth-child(1) {
    top: 7px;
    transform: rotate(135deg);
}

.hamburger-btn.open .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger-btn.open .hamburger-icon span:nth-child(3) {
    top: 7px;
    transform: rotate(-135deg);
}


/* ===================================
   HEADER NAV MODAL (Right hamburger button)
   =================================== */

.mobile-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-modal.active {
    opacity: 1;
}

.mobile-nav-content {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 400px;
    margin: 20px auto;
    border-radius: 20px;
    border: 2px solid #ff6b35;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.mobile-menu-modal.active .mobile-nav-content {
    transform: scale(1);
}

/* ===================================
   MAIN LAYOUT
   =================================== */

.site-wrapper {
    display: flex;
    min-height: calc(100vh - 90px);
    gap: 20px;
    padding: 20px;
    width: 100%;
}



.widget {
    padding: 20px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.1);
}

.widget:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.widget-title {
    color: #ff6b35;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    margin-bottom: 10px;
}

.widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #ff6b35;
}

/* ===================================
   SIDEBAR WIDGET STYLING
   =================================== */

.widget {
    background: rgba(50, 50, 50, 0.5);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.widget .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget .menu li {
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    margin: 0;
}

.widget .menu li:last-child {
    border-bottom: none;
}

.widget .menu a {
    display: block !important;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.widget .menu a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    padding-left: 30px;
    border-left: 3px solid #ff6b35;
}

.widget .menu li.current-menu-item a,
.widget .menu li.active a {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    font-weight: 700;
    border-left: 3px solid #ff6b35;
}

/* Search widget styling */
.widget form {
    padding: 15px;
}

.widget input[type="search"],
.widget input[type="text"] {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 6px;
    color: white;
    margin-bottom: 10px;
}

.widget input[type="submit"],
.widget button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

/* ===================================
   MAIN CONTENT AREA
   =================================== */

.site-content {
    flex: 1;
    background: rgba(50, 50, 50, 0.5);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    padding: 0;
    min-height: 100px; /* Changed from 600px */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.content-inner {
    padding: 40px;
    min-height: 100px; /* Shrinks with content */
    color: white;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
    color: #ff6b35;
    font-weight: 700;
}

h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

a {
    color: #ff6b35;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff8c42;
}



/* ===================================
   FORMS
   =================================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ff6b35;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary,
button[type="submit"],
input[type="submit"] {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border: none;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background: rgba(26, 26, 26, 0.95);
    border-top: 3px solid #ff6b35;
    padding: 30px 20px 20px;
    margin-top: 40px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

.powered-by {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 15px;
}

.powered-by a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
}

.powered-by a:hover {
    color: #ff8c42;
}

.footer-menu {
    margin-top: 15px;
}

.footer-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ff6b35;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (max-width: 1024px) {
    /* Hide desktop header, show mobile header */
    .desktop-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .mobile-header .hamburger-btn {
        display: block;
    }
    
    /* Hide sidebar, will show in modal */
    .site-sidebar {
        display: none;
    }
    
    .site-wrapper {
        padding: 15px;
    }
    
    .site-content {
        width: 100%;
        margin: 0;
    }
    
    .content-inner {
        padding: 30px;
    }
}

/* ===================================
   RESPONSIVE - PHONE
   =================================== */

@media (max-width: 768px) {
    .mobile-header {
        padding: 12px 15px;
    }
    
    .mobile-site-title {
        font-size: 16px;
    }
    
    .hamburger-btn {
        width: 45px;
        height: 45px;
    }
    
    .mobile-sidebar-content {
        width: 95%;
        margin: 10px auto;
    }
    
    .site-wrapper {
        padding: 10px;
    }
    
    .content-inner {
        padding: 20px 15px;
    }
    
    .footer-menu ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .mobile-site-title {
        font-size: 14px;
    }
    
    .content-inner {
        padding: 15px 10px;
    }
}

/* ===================================
   SIDEBAR MODAL (Left button)
   =================================== */

.sidebar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.sidebar-modal.active {
    opacity: 1;
}

.mobile-sidebar-content {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 400px;
    margin: 20px auto;
    border-radius: 20px;
    border: 2px solid #ff6b35;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.sidebar-modal.active .mobile-sidebar-content {
    transform: scale(1);
}

/* ===================================
   HEADER NAV MODAL (Right hamburger button)
   =================================== */

.mobile-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-modal.active {
    opacity: 1;
}

.mobile-nav-content {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 400px;
    margin: 20px auto;
    border-radius: 20px;
    border: 2px solid #ff6b35;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    padding: 20px;
}

.mobile-menu-modal.active .mobile-nav-content {
    transform: scale(1);
}

/* Mobile header buttons inside nav modal */
.mobile-header-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-header-buttons .btn-header {
    width: 100%;
    text-align: center;
}

/* Mobile nav menu inside nav modal */
.mobile-nav-menu .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu .nav-menu a {
    display: block;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-nav-menu .nav-menu a:hover,
.mobile-nav-menu .nav-menu li.current-menu-item a {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
}

/* ===================================
   MODAL CLOSE BUTTON
   =================================== */

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid #ff6b35;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 1;
    color: #ff6b35;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(255, 107, 53, 0.4);
    transform: rotate(90deg);
}

.mobile-nav-content,
.mobile-sidebar-content {
    position: relative;
}

/* ===================================
   GLOBAL SELECT/DROPDOWN STYLING FIX
   =================================== */

select,
select option {
    background: rgba(26, 26, 26, 0.95) !important;
    color: white !important;
    border: 2px solid rgba(255, 107, 53, 0.3) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-size: 14px !important;
}

select:focus {
    border-color: #ff6b35 !important;
    outline: none !important;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3) !important;
    background: rgba(26, 26, 26, 1) !important;
}

select option {
    background: rgba(26, 26, 26, 0.98) !important;
    color: white !important;
    padding: 10px !important;
}

select option:hover,
select option:checked {
    background: rgba(255, 107, 53, 0.2) !important;
    color: #ff6b35 !important;
}

/* Fix for dropdown arrow on Chrome/Safari */
select::-webkit-scrollbar {
    width: 10px;
}

select::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.95);
}

select::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.5);
    border-radius: 5px;
}

select::-webkit-scrollbar-thumb:hover {
    background: #ff6b35;
}

/* ===================================
   SOCIAL MEDIA LINKS IN HEADER
   =================================== */
.header-container {
    flex-wrap: wrap !important;
}

.header-actions {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.header-social {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    justify-content: flex-end !important;
    padding-top: 10px !important;
}

.social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    background: rgba(255, 215, 0, 0.2) !important;
    border: 2px solid #ff6b35 !important;
}

.social-link:hover {
    transform: translateY(-2px) !important;
    background: rgba(255, 215, 0, 0.3) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

.social-link svg {
    width: 20px !important;
    height: 20px !important;
    color: #ff6b35 !important;
}

.social-link.social-custom {
    width: auto !important;
    padding: 0 12px !important;
    border-radius: 18px !important;
    gap: 6px !important;
}

.social-custom-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ff6b35 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .header-social {
        justify-content: center !important;
        padding-top: 15px !important;
    }
    
    .social-link {
        width: 32px !important;
        height: 32px !important;
    }
    
    .social-link svg {
        width: 18px !important;
        height: 18px !important;
    }
}

.site-footer {
    position: relative !important;
}

.footer-social {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    z-index: 10 !important;
}

.footer-social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    background: rgba(255, 215, 0, 0.15) !important;
    border: 2px solid rgba(221, 91, 5, 0.897) !important;
}

.footer-social-link:hover {
    transform: translateY(-3px) !important;
    background: rgba(221, 91, 5, 0.897) !important;
    box-shadow: 0 4px 15px rgba(221, 91, 5, 0.897) !important;
    border-color: #ff6b35 !important;
}

.footer-social-link svg {
    width: 18px !important;
    height: 18px !important;
    color: #ff6b35 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .footer-social {
        position: static !important;
        justify-content: center !important;
        margin-top: 20px !important;
        padding-bottom: 10px !important;
    }
    
    .footer-social-link {
        width: 28px !important;
        height: 28px !important;
    }
    
    .footer-social-link svg {
        width: 16px !important;
        height: 16px !important;
    }
}