/* SkillBoost Academy - BUNKR Inspired Luxury Design */

/* Base Styles */
* {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0c0a09;
    color: #e7e5e4;
    overflow-x: hidden;
}

/* Typography */
.font-serif-3f9e2 {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
}

/* Smooth Transitions */
a, button, input, textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus Styles */
input:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 1px solid rgba(217, 119, 6, 0.5);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1c1917;
}

::-webkit-scrollbar-thumb {
    background: #57534e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #78716c;
}

/* Flip Card Effect */
.flip-card-3f9e2 {
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner-3f9e2 {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card-3f9e2.flipped-3f9e2 .flip-card-inner-3f9e2 {
    transform: rotateY(180deg);
}

.flip-card-front-3f9e2,
.flip-card-back-3f9e2 {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-card-back-3f9e2 {
    transform: rotateY(180deg);
}

/* Expandable Cards */
.expandable-card-3f9e2 {
    transition: all 0.3s ease;
}

.expandable-card-3f9e2:hover {
    border-color: rgba(217, 119, 6, 0.5);
}

.expandable-content-3f9e2 {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-icon-3f9e2 {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Grayscale to Color Effect */
.grayscale-3f9e2 {
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.group-3f9e2:hover .grayscale-3f9e2 {
    filter: grayscale(0%);
}

/* Image Overlay Effects */
img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Hover Effects */
button, .button-3f9e2 {
    position: relative;
    overflow: hidden;
}

button::before, .button-3f9e2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

button:hover::before, .button-3f9e2:hover::before {
    left: 100%;
}

/* Border Animations */
.border-animate-3f9e2 {
    position: relative;
}

.border-animate-3f9e2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d97706, transparent);
    transition: width 0.4s ease;
}

.border-animate-3f9e2:hover::after {
    width: 100%;
}

/* Form Input Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #57534e;
    color: #e7e5e4;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-bottom-color: #d97706;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: #57534e;
}

/* Checkbox Custom Style */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #57534e;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
    background: transparent;
    border-color: #d97706;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #d97706;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Cookie Popup Animation */
#cookiePopup {
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading States */
.loading-3f9e2 {
    position: relative;
    overflow: hidden;
}

.loading-3f9e2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 2s infinite;
}

/* Mobile Menu Transitions */
#mobileMenu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Selection */
::selection {
    background: rgba(217, 119, 6, 0.3);
    color: #e7e5e4;
}

::-moz-selection {
    background: rgba(217, 119, 6, 0.3);
    color: #e7e5e4;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 1.875rem;
    }
    
    .font-serif-3f9e2 {
        letter-spacing: -0.01em;
    }
}

/* Accessibility */
.sr-only-3f9e2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        background: #000;
        color: #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print Styles */
@media print {
    header, footer, #cookiePopup, .no-print-3f9e2 {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
}

/* Utility Classes */
.text-balance-3f9e2 {
    text-wrap: balance;
}

.leading-relaxed-3f9e2 {
    line-height: 1.75;
}

.tracking-wide-3f9e2 {
    letter-spacing: 0.025em;
}

.tracking-wider-3f9e2 {
    letter-spacing: 0.05em;
}

/* Border Validation States */
.border-red-600-3f9e2 {
    border-color: #dc2626 !important;
}

/* Glass Morphism Effect (subtle) */
.glass-3f9e2 {
    background: rgba(28, 25, 23, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hover Lift Effect */
.hover-lift-3f9e2 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift-3f9e2:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Content Visibility for Performance */
section {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* Grid Pattern Background */
.grid-pattern-3f9e2 {
    background-image: 
        linear-gradient(rgba(217, 119, 6, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 119, 6, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}
