/* CSS Variables - Tetrad Color Scheme */
:root {
    /* Primary Colors - Tetrad */
    --primary-color: #ff6b35;
    --secondary-color: #35a7ff;
    --tertiary-color: #a735ff;
    --quaternary-color: #7fff35;
    
    /* Dark Theme Colors */
    --bg-dark: #0a0a0a;
    --bg-dark-secondary: #1a1a1a;
    --bg-dark-tertiary: #2a2a2a;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-dark: #333333;
    
    /* Additional Colors */
    --accent-orange: #ff8c42;
    --accent-blue: #42a7ff;
    --accent-purple: #b342ff;
    --accent-green: #8cff42;
    
    /* Brutalist Shadows */
    --shadow-brutal: 8px 8px 0px rgba(0, 0, 0, 0.8);
    --shadow-brutal-hover: 12px 12px 0px rgba(0, 0, 0, 0.9);
    --shadow-card: 4px 4px 0px rgba(0, 0, 0, 0.6);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --font-size-h1: clamp(2.5rem, 5vw, 4rem);
    --font-size-h2: clamp(2rem, 4vw, 3rem);
    --font-size-h3: clamp(1.5rem, 3vw, 2rem);
    --font-size-body: clamp(1rem, 2vw, 1.125rem);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-elastic: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-elastic);
}

a:hover {
    color: var(--accent-orange);
    transform: translateY(-2px);
}

/* Brutalist Components */
.brutalist-title {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    text-shadow: 3px 3px 0px var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.brutalist-subtitle {
    font-size: var(--font-size-h3);
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.brutalist-card {
    background: var(--bg-dark-secondary);
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition-elastic);
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brutalist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-brutal);
    border-color: var(--accent-orange);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 3px solid;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-elastic);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    margin: var(--spacing-xs);
}

.btn-primary, .brutalist-btn {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-card);
}

.btn-primary:hover, .brutalist-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-brutal);
    color: var(--text-light);
}

.btn-outline-primary, .brutalist-btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover, .brutalist-btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Header */
.header-brutalist {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-dark);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 var(--spacing-xs);
    transition: var(--transition-elastic);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 2px solid var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff6b35' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(255, 107, 53, 0.3));
}

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

.hero-title {
    font-size: var(--font-size-h1);
    font-weight: 900;
    color: var(--text-light);
    text-shadow: 3px 3px 0px var(--primary-color);
    margin-bottom: var(--spacing-sm);
    animation: slideInLeft 1s ease;
}

.hero-subtitle {
    font-size: var(--font-size-h2);
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    animation: slideInRight 1s ease 0.3s both;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    animation: slideInUp 1s ease 0.6s both;
}

.hero-buttons {
    animation: slideInUp 1s ease 0.9s both;
}

.hero-image-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-brutal);
    animation: float 3s ease-in-out infinite;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    background: var(--bg-dark-secondary);
    padding: var(--spacing-xl) 0;
}

.about-content {
    padding: var(--spacing-md);
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-gray);
}

.about-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image-container {
    text-align: center;
}

.about-image {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--secondary-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition-elastic);
}

.about-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-brutal);
}

/* Methodology Section */
.methodology-section {
    background: var(--bg-dark);
    padding: var(--spacing-xl) 0;
}

.methodology-card {
    height: 100%;
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-dark-secondary);
    padding: var(--spacing-xl) 0;
}

.pricing-card {
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--quaternary-color);
    transform: scale(1.05);
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.brutalist-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    font-family: var(--font-heading);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.menu-items li {
    padding: var(--spacing-xs) 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--bg-dark-tertiary);
}

.menu-items li:before {
    content: "✓";
    color: var(--quaternary-color);
    font-weight: bold;
    margin-right: var(--spacing-xs);
}

/* Workshops Section */
.workshops-section {
    background: var(--bg-dark);
    padding: var(--spacing-xl) 0;
}

.workshop-card {
    height: 100%;
}

.workshop-info {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--primary-color);
}

.workshop-duration,
.workshop-price {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Resources Section */
.resources-section {
    background: var(--bg-dark-secondary);
    padding: var(--spacing-xl) 0;
}

.resource-card {
    height: 100%;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-dark);
    padding: var(--spacing-xl) 0;
}

.testimonial-card {
    height: 100%;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin: 0 auto var(--spacing-md);
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    text-align: center;
    margin-top: var(--spacing-md);
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Customer Stories Section */
.customer-stories-section {
    background: var(--bg-dark-secondary);
    padding: var(--spacing-xl) 0;
}

.story-card {
    height: 100%;
}

/* Projects Section */
.projects-section {
    background: var(--bg-dark);
    padding: var(--spacing-xl) 0;
}

.project-card {
    height: 100%;
}

/* Careers Section */
.careers-section {
    background: var(--bg-dark-secondary);
    padding: var(--spacing-xl) 0;
}

.career-card {
    height: 100%;
}

.job-requirements {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--primary-color);
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding: var(--spacing-xs) 0;
    color: var(--text-gray);
}

.job-requirements li:before {
    content: "•";
    color: var(--primary-color);
    margin-right: var(--spacing-xs);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-dark);
    padding: var(--spacing-xl) 0;
}

.faq-item {
    border: 2px solid var(--primary-color);
    margin-bottom: var(--spacing-md);
    background: var(--bg-dark-secondary);
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: var(--bg-dark-tertiary);
}

.faq-question h5 {
    margin: 0;
    color: var(--text-light);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition-elastic);
}

.faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    margin: 0;
    color: var(--text-gray);
}

/* Contact Section */
.contact-section {
    background: var(--bg-dark-secondary);
    padding: var(--spacing-xl) 0;
}

.contact-info {
    padding: var(--spacing-md);
}

.contact-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--bg-dark-tertiary);
}

.contact-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.contact-item p {
    margin: 0;
    color: var(--text-gray);
}

.contact-form-container {
    background: var(--bg-dark);
    padding: var(--spacing-lg);
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-card);
}

.form-label {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.form-control, .brutalist-input {
    background: var(--bg-dark-tertiary);
    border: 2px solid var(--secondary-color);
    color: var(--text-light);
    padding: var(--spacing-sm);
    font-family: var(--font-body);
    transition: var(--transition-elastic);
}

.form-control:focus, .brutalist-input:focus {
    background: var(--bg-dark-secondary);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-control::placeholder, .brutalist-input::placeholder {
    color: var(--text-gray);
}

/* Footer */
.footer-section {
    background: var(--bg-dark);
    border-top: 3px solid var(--primary-color);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-title {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-text {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-gray);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition-elastic);
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-copyright {
    color: var(--text-gray);
    text-align: center;
    margin: 0;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--bg-dark-tertiary);
}

/* Success Page */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    padding: var(--spacing-lg);
}

.success-content {
    text-align: center;
    max-width: 600px;
    padding: var(--spacing-xl);
    background: var(--bg-dark-secondary);
    border: 3px solid var(--quaternary-color);
    box-shadow: var(--shadow-brutal);
}

.success-content h1 {
    color: var(--quaternary-color);
    margin-bottom: var(--spacing-md);
}

.success-content p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

/* Static Pages */
.static-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--bg-dark);
}

.static-content {
    padding: var(--spacing-xl) 0;
}

.static-content h1 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.static-content h2 {
    color: var(--secondary-color);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.static-content p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.static-content ul {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.static-content li {
    margin-bottom: var(--spacing-xs);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .workshop-info {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .navbar-nav {
        text-align: center;
        padding: var(--spacing-md) 0;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: var(--spacing-md);
    }
    
    .about-image,
    .hero-image {
        max-width: 100%;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.py-1 { padding: var(--spacing-xs) 0; }
.py-2 { padding: var(--spacing-sm) 0; }
.py-3 { padding: var(--spacing-md) 0; }
.py-4 { padding: var(--spacing-lg) 0; }
.py-5 { padding: var(--spacing-xl) 0; }

/* Read More Links */
.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary-color);
    transition: var(--transition-elastic);
    margin-top: var(--spacing-sm);
}

.read-more:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--bg-dark-tertiary);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header-brutalist,
    .footer-section {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .brutalist-card {
        border: 1px solid black;
        box-shadow: none;
    }
}