/**
 * Unity AI Lab
 * Creators: Hackall360, Sponge, GFourteen
 * https://www.unityailab.com
 * unityailabcontact@gmail.com
 * Version: v2.1.5
 */

/* ===================================
   Gothic Theme - Dark with Red Accents
   =================================== */

/* trajan pro font - classy as fuck */
@font-face {
    font-family: 'Trajan Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Trajan Pro Regular'), url('fonts/trajan-pro/TrajanPro-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Trajan Pro';
    font-style: normal;
    font-weight: 700;
    src: local('Trajan Pro Bold'), url('fonts/trajan-pro/TrajanPro-Bold.woff') format('woff');
}

/* root variables - color scheme bullshit */
:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --dark-grey: #2a2a2a;
    --crimson-red: #dc143c;
    --blood-red: #8b0000;
    --accent-red: #ff0033;
    --light-grey: #cccccc;
    --white: #ffffff;
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    --gradient-red: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff0033 100%);
}

/* global reset - everything starts from zero */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Trajan Pro', serif;
    background: var(--primary-black);
    background: #0a0a0a; /* Fallback for older browsers */
    color: var(--light-grey);
    color: #cccccc; /* Fallback */
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* mobile safe areas - notches are annoying */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* background effects - subtle atmosphere shit */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* vendor prefixes - because browsers are inconsistent */
    background: -webkit-radial-gradient(center, ellipse, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 1) 100%);
    background: -moz-radial-gradient(center, ellipse, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 1) 100%);
    background: -o-radial-gradient(center, ellipse, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 1) 100%);
    background: radial-gradient(ellipse at center, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 1) 100%);
    z-index: -2;
}

.red-streaks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* more vendor prefix hell */
    background:
        -webkit-linear-gradient(0deg, transparent 0%, transparent 48%, rgba(220, 20, 60, 0.03) 50%, transparent 52%, transparent 100%),
        -webkit-linear-gradient(90deg, transparent 0%, transparent 48%, rgba(220, 20, 60, 0.02) 50%, transparent 52%, transparent 100%);
    background:
        -moz-linear-gradient(0deg, transparent 0%, transparent 48%, rgba(220, 20, 60, 0.03) 50%, transparent 52%, transparent 100%),
        -moz-linear-gradient(90deg, transparent 0%, transparent 48%, rgba(220, 20, 60, 0.02) 50%, transparent 52%, transparent 100%);
    background:
        linear-gradient(90deg, transparent 0%, transparent 48%, rgba(220, 20, 60, 0.03) 50%, transparent 52%, transparent 100%),
        linear-gradient(180deg, transparent 0%, transparent 48%, rgba(220, 20, 60, 0.02) 50%, transparent 52%, transparent 100%);
    background-size: 80px 80px;
    z-index: -1;
    -webkit-animation: streaksMove 20s linear infinite;
    -moz-animation: streaksMove 20s linear infinite;
    -o-animation: streaksMove 20s linear infinite;
    animation: streaksMove 20s linear infinite;
}

/* Keyframes with vendor prefixes */
@-webkit-keyframes streaksMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 80px 80px;
    }
}

@-moz-keyframes streaksMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 80px 80px;
    }
}

@-o-keyframes streaksMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 80px 80px;
    }
}

@keyframes streaksMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 80px 80px;
    }
}

/* Typography */
.gothic-title {
    font-family: 'Trajan Pro', serif;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.5),
                 0 0 40px rgba(220, 20, 60, 0.3);
    letter-spacing: 3px;
}

.gothic-subtitle {
    font-family: 'Trajan Pro', serif;
    color: var(--light-grey);
    font-weight: 400;
}

.section-title {
    font-family: 'Trajan Pro', serif;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.decorative-text {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.decorative-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-red);
}

.section-subtitle {
    color: var(--light-grey);
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    /* Vendor prefixes for backdrop-filter */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 20, 60, 0.2);
    padding: 1rem 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    /* Mobile safe area insets for navigation */
    padding-top: calc(1rem + env(safe-area-inset-top));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.navbar.scrolled {
    -webkit-box-shadow: 0 5px 30px rgba(220, 20, 60, 0.3);
    -moz-box-shadow: 0 5px 30px rgba(220, 20, 60, 0.3);
    box-shadow: 0 5px 30px rgba(220, 20, 60, 0.3);
}

.gothic-logo {
    font-family: 'Trajan Pro', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    color: #ffffff !important; /* Fallback */
    text-transform: uppercase;
    letter-spacing: 2px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 10px;
}

.gothic-logo i {
    color: var(--crimson-red);
    font-size: 1.8rem;
}

.nav-link {
    font-family: 'Trajan Pro', serif;
    color: var(--light-grey) !important;
    font-weight: 600;
    margin: 0 15px;
    padding: 8px 15px !important;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-red);
    background: -webkit-linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff0033 100%);
    background: -moz-linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff0033 100%);
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff0033 100%);
    -webkit-transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--crimson-red) !important;
}

.nav-link:hover::before {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height - excludes browser UI on mobile */
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: var(--gradient-dark);
    background: -webkit-linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    background: -moz-linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    overflow: hidden;
    /* Mobile safe area insets for hero section */
    padding-top: max(80px, env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        -webkit-radial-gradient(20% 50%, circle, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
        -webkit-radial-gradient(80% 50%, circle, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    background:
        -moz-radial-gradient(20% 50%, circle, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
        -moz-radial-gradient(80% 50%, circle, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    background:
        radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    -webkit-animation: pulseGlow 8s ease-in-out infinite;
    -moz-animation: pulseGlow 8s ease-in-out infinite;
    -o-animation: pulseGlow 8s ease-in-out infinite;
    animation: pulseGlow 8s ease-in-out infinite;
}

@-webkit-keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@-moz-keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@-o-keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

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

.decorative-line {
    width: 200px;
    height: 3px;
    background: var(--gradient-red);
    margin: 0 auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--crimson-red);
    background: #dc143c; /* Fallback */
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.decorative-line::before {
    left: -20px;
}

.decorative-line::after {
    right: -20px;
}

/* Buttons */
.btn-gothic-primary,
.btn-gothic-secondary {
    font-family: 'Trajan Pro', serif;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-gothic-primary {
    background: var(--gradient-red);
    background: -webkit-linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff0033 100%);
    background: -moz-linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff0033 100%);
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff0033 100%);
    border-color: var(--crimson-red);
    border-color: #dc143c; /* Fallback */
    color: var(--white);
    color: #ffffff; /* Fallback */
}

.btn-gothic-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background: -moz-linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    -webkit-transition: left 0.5s ease;
    -moz-transition: left 0.5s ease;
    -o-transition: left 0.5s ease;
    transition: left 0.5s ease;
}

.btn-gothic-primary:hover::before {
    left: 100%;
}

.btn-gothic-primary:hover {
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
    -moz-box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
    border-color: var(--accent-red);
    border-color: #ff0033; /* Fallback */
    color: var(--white);
    color: #ffffff; /* Fallback */
}

.btn-gothic-secondary {
    background: transparent;
    border-color: var(--crimson-red);
    border-color: #dc143c; /* Fallback */
    color: var(--crimson-red);
    color: #dc143c; /* Fallback */
}

.btn-gothic-secondary:hover {
    background: var(--crimson-red);
    background: #dc143c; /* Fallback */
    color: var(--white);
    color: #ffffff; /* Fallback */
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
    -moz-box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    color: var(--crimson-red);
    color: #dc143c; /* Fallback */
    font-size: 2rem;
    -webkit-animation: bounce 2s infinite;
    -moz-animation: bounce 2s infinite;
    -o-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateX(-50%) translateY(0);
        transform: translateX(-50%) translateY(0);
    }
    40% {
        -webkit-transform: translateX(-50%) translateY(-20px);
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        -webkit-transform: translateX(-50%) translateY(-10px);
        transform: translateX(-50%) translateY(-10px);
    }
}

@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -moz-transform: translateX(-50%) translateY(0);
        transform: translateX(-50%) translateY(0);
    }
    40% {
        -moz-transform: translateX(-50%) translateY(-20px);
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        -moz-transform: translateX(-50%) translateY(-10px);
        transform: translateX(-50%) translateY(-10px);
    }
}

@-o-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -o-transform: translateX(-50%) translateY(0);
        transform: translateX(-50%) translateY(0);
    }
    40% {
        -o-transform: translateX(-50%) translateY(-20px);
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        -o-transform: translateX(-50%) translateY(-10px);
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Feature Cards */
.features-section,
.services-section {
    background: var(--secondary-black);
    position: relative;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(42, 42, 42, 0.9) 100%);
    padding: 40px 30px;
    border: 1px solid rgba(220, 20, 60, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--crimson-red);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--crimson-red);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
}

.feature-card h3 {
    font-family: 'Trajan Pro', serif;
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--light-grey);
    line-height: 1.8;
    margin-bottom: 15px;
}

.feature-link {
    color: var(--crimson-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--accent-red);
    gap: 12px;
}

/* Gallery Section */
.gallery-section {
    background: var(--primary-black);
}

.gallery-item {
    position: relative;
    padding-top: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 1px solid rgba(220, 20, 60, 0.3);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220, 20, 60, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--crimson-red);
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.5);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(42, 42, 42, 0.9) 100%);
    padding: 50px 40px;
    border: 2px solid rgba(220, 20, 60, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
}

.service-card:hover::before {
    top: -100%;
    right: -100%;
}

.service-card:hover {
    border-color: var(--crimson-red);
    transform: translateX(10px);
    box-shadow: -10px 10px 40px rgba(220, 20, 60, 0.3);
}

.service-icon {
    font-size: 4rem;
    color: var(--crimson-red);
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-family: 'Trajan Pro', serif;
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-card p {
    color: var(--light-grey);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Coming Soon Teaser Section */
.coming-soon-section {
    background: linear-gradient(180deg, var(--primary-black) 0%, var(--secondary-black) 50%, var(--primary-black) 100%);
    position: relative;
    overflow: hidden;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--crimson-red), transparent);
}

.coming-soon-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--crimson-red), transparent);
}

.teaser-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.95) 100%);
    padding: 40px 30px;
    border: 1px solid rgba(220, 20, 60, 0.3);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.teaser-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(220, 20, 60, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.teaser-card:hover::before {
    opacity: 1;
}

.teaser-card:hover {
    transform: translateY(-10px);
    border-color: var(--crimson-red);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.25);
}

.teaser-icon {
    font-size: 3.5rem;
    color: var(--crimson-red);
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(220, 20, 60, 0.6);
    position: relative;
}

.teaser-icon i {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(220, 20, 60, 0.4);
    }
    50% {
        text-shadow: 0 0 40px rgba(220, 20, 60, 0.8), 0 0 60px rgba(220, 20, 60, 0.4);
    }
}

.teaser-card h3 {
    font-family: 'Trajan Pro', serif;
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.teaser-card p {
    color: var(--light-grey);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--crimson-red) 100%);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.coming-soon-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.teaser-cta {
    color: var(--light-grey);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Responsive adjustments for teaser section */
@media (max-width: 767.98px) {
    .teaser-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .teaser-icon {
        font-size: 2.5rem;
    }

    .teaser-card h3 {
        font-size: 1.3rem;
    }

    .teaser-card p {
        font-size: 0.95rem;
    }
}

/* Contact Section */
.contact-section {
    background: var(--secondary-black);
}

.gothic-input {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(220, 20, 60, 0.3);
    color: var(--light-grey);
    padding: 15px 20px;
    border-radius: 0;
    font-family: 'Trajan Pro', serif;
    transition: all 0.3s ease;
}

.gothic-input:focus {
    background: rgba(26, 26, 26, 1);
    border-color: var(--crimson-red);
    color: var(--white);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
    outline: none;
}

.gothic-input::placeholder {
    color: rgba(204, 204, 204, 0.5);
}

/* Footer */
.footer-section {
    background: var(--primary-black);
    border-top: 1px solid rgba(220, 20, 60, 0.3);
    color: var(--light-grey);
    /* Mobile safe area insets for footer */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

.footer-title {
    font-family: 'Trajan Pro', serif;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-text {
    color: var(--light-grey);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: var(--light-grey);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--crimson-red);
    transform: translateX(3px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.3);
    color: var(--light-grey);
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--crimson-red);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.5);
}

.copyright {
    color: rgba(204, 204, 204, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

/* ===================================
   RESPONSIVE DESIGN - Multi-Device Support
   =================================== */

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    .gothic-title {
        font-size: 1.75rem !important;
        letter-spacing: 1px;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .gothic-subtitle {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Navigation */
    .navbar {
        padding: 0.5rem 0;
    }

    .gothic-logo {
        font-size: 1.2rem;
    }

    .gothic-logo i {
        font-size: 1.4rem;
    }

    .nav-link {
        margin: 8px 0;
        padding: 10px 15px !important;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(220, 20, 60, 0.1);
    }

    .navbar-collapse {
        margin-top: 15px;
        background: rgba(26, 26, 26, 0.98);
        padding: 15px;
        border: 1px solid rgba(220, 20, 60, 0.2);
    }

    /* Hero Section */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height - excludes browser UI on mobile */
        padding: 80px 0 40px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn-gothic-primary,
    .hero-buttons .btn-gothic-secondary {
        width: 100%;
        margin: 0 !important;
        padding: 15px 25px;
        font-size: 0.9rem;
    }

    .decorative-line {
        width: 150px;
    }

    .scroll-indicator {
        font-size: 1.5rem;
        bottom: 20px;
    }

    /* Feature Cards */
    .feature-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    /* Gallery */
    .gallery-item {
        margin-bottom: 15px;
    }

    .gallery-overlay i {
        font-size: 2rem;
    }

    /* Service Cards */
    .service-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    /* Contact Form */
    .gothic-input {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-section {
        text-align: center;
    }

    .footer-links {
        margin-bottom: 20px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .social-links {
        justify-content: center;
        display: flex;
    }

    .social-links a {
        margin: 0 5px;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .gothic-title {
        font-size: 2.25rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-link {
        margin: 5px 0;
        font-size: 0.85rem;
    }

    .navbar-collapse {
        background: rgba(26, 26, 26, 0.95);
        padding: 15px;
        margin-top: 10px;
        border: 1px solid rgba(220, 20, 60, 0.2);
    }

    .hero-buttons .btn-gothic-primary,
    .hero-buttons .btn-gothic-secondary {
        width: 100%;
        margin-bottom: 15px;
    }

    .feature-card,
    .service-card {
        margin-bottom: 20px;
    }

    .service-card:hover {
        transform: translateY(-10px);
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .gothic-title {
        font-size: 2.75rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .nav-link {
        margin: 0 10px;
        font-size: 0.85rem;
        padding: 8px 12px !important;
    }

    .hero-buttons .btn-gothic-primary,
    .hero-buttons .btn-gothic-secondary {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .feature-card {
        padding: 35px 25px;
        margin-bottom: 25px;
    }

    .service-card {
        padding: 40px 30px;
        margin-bottom: 25px;
    }

    .service-card:hover {
        transform: translateY(-10px);
    }

    /* Gallery items - 2 columns on tablet */
    .gallery-item {
        margin-bottom: 20px;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .gothic-title {
        font-size: 3.25rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .nav-link {
        margin: 0 12px;
        font-size: 0.88rem;
    }

    .feature-card,
    .service-card {
        margin-bottom: 0;
    }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .container {
        max-width: 1140px;
    }

    .gothic-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* XXL Devices (Larger Desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .gothic-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .feature-card {
        padding: 50px 35px;
    }

    .service-card {
        padding: 60px 50px;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .gothic-title {
        font-size: 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .service-card:hover,
    .gallery-item:hover {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    /* Make touch targets larger */
    .nav-link {
        padding: 12px 15px !important;
    }

    .btn-gothic-primary,
    .btn-gothic-secondary {
        padding: 15px 40px;
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }

    /* Disable parallax on touch devices */
    .hero-content {
        -webkit-transform: none !important;
        -ms-transform: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Animations */
@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

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

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

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

/* Custom Scrollbar - WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
    background: #0a0a0a; /* Fallback */
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    background: -webkit-linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff0033 100%);
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #ff0033 100%);
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--crimson-red);
    background: #dc143c; /* Fallback */
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #dc143c #0a0a0a;
}

/* Selection */
::selection {
    background: var(--crimson-red);
    color: var(--white);
}

::-moz-selection {
    background: var(--crimson-red);
    color: var(--white);
}

/* ===================================
   About Page Styles
   =================================== */

/* Page Header */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    background: var(--gradient-dark);
    background: -webkit-linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    /* Mobile safe area insets for page header */
    padding-top: max(150px, calc(150px + env(safe-area-inset-top)));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* Stats Section */
.stats-section {
    background: var(--secondary-black);
    background: #1a1a1a;
    padding: 60px 0;
}

.stat-card {
    background: rgba(42, 42, 42, 0.6);
    padding: 40px 30px;
    border-radius: 15px;
    border: 2px solid rgba(220, 20, 60, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.2), transparent);
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.2), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    border-color: var(--crimson-red);
    border-color: #dc143c;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.stat-icon {
    font-size: 3rem;
    color: var(--crimson-red);
    color: #dc143c;
    margin-bottom: 20px;
}

.stat-number {
    font-family: 'Trajan Pro', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    color: #ffffff;
    margin: 15px 0;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--light-grey);
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Section Styles */
.section-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--light-grey);
    color: #cccccc;
    margin-bottom: 20px;
}

/* Expertise Cards */
.expertise-card {
    background: rgba(42, 42, 42, 0.5);
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid rgba(220, 20, 60, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.expertise-card:hover {
    border-color: var(--crimson-red);
    border-color: #dc143c;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.2);
}

.expertise-card i {
    font-size: 2.5rem;
    color: var(--crimson-red);
    color: #dc143c;
    margin-bottom: 20px;
    display: block;
}

.expertise-card h4 {
    font-family: 'Trajan Pro', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    color: #ffffff;
    margin-bottom: 15px;
}

.expertise-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light-grey);
    color: #cccccc;
    margin: 0;
}

/* Mission Section */
.mission-section {
    background: var(--gradient-dark);
    background: -webkit-linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding: 80px 0;
}

.mission-card {
    background: rgba(42, 42, 42, 0.7);
    padding: 60px 50px;
    border-radius: 20px;
    border: 2px solid var(--crimson-red);
    border: 2px solid #dc143c;
    box-shadow: 0 15px 50px rgba(220, 20, 60, 0.3);
    text-align: center;
}

.mission-icon {
    font-size: 4rem;
    color: var(--crimson-red);
    color: #dc143c;
    margin-bottom: 30px;
}

.mission-icon i {
    filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.5));
}

.mission-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--light-grey);
    color: #cccccc;
    margin-bottom: 25px;
}

.mission-text:last-child {
    margin-bottom: 0;
}

/* Origin Story Section */
.origin-section {
    background: var(--secondary-black);
    background: #1a1a1a;
    padding: 80px 0;
}

.origin-story p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--light-grey);
    color: #cccccc;
    margin-bottom: 25px;
}

.origin-story p:last-child {
    margin-bottom: 0;
}

/* Timeline Section */
.timeline-section {
    background: var(--primary-black);
    background: #0a0a0a;
    padding: 80px 0;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--crimson-red);
    background: #dc143c;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 0;
    padding-right: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    padding-right: calc(50% + 40px);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    padding-left: calc(50% + 40px);
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--crimson-red);
    background: #dc143c;
    border: 4px solid var(--primary-black);
    border: 4px solid #0a0a0a;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6);
}

.timeline-content {
    background: rgba(42, 42, 42, 0.6);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--crimson-red);
    border-color: #dc143c;
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.3);
}

.timeline-date {
    font-family: 'Trajan Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--crimson-red);
    color: #dc143c;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.timeline-content h4 {
    font-family: 'Trajan Pro', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    color: #ffffff;
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-grey);
    color: #cccccc;
    margin: 0;
}

/* Team Section */
.team-section {
    background: var(--secondary-black);
    background: #1a1a1a;
    padding: 80px 0;
}

.team-card {
    background: rgba(42, 42, 42, 0.6);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid rgba(220, 20, 60, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.team-card:hover {
    border-color: var(--crimson-red);
    border-color: #dc143c;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
}

.team-image-wrapper {
    margin-bottom: 30px;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--crimson-red);
    border: 4px solid #dc143c;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.4);
    transition: all 0.3s ease;
    object-fit: cover;
}

.team-card:hover .team-image {
    box-shadow: 0 0 50px rgba(220, 20, 60, 0.7);
    transform: scale(1.05);
}

.team-image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--crimson-red);
    border: 4px solid #dc143c;
    background: rgba(42, 42, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.4);
    transition: all 0.3s ease;
}

.team-card:hover .team-image-placeholder {
    box-shadow: 0 0 50px rgba(220, 20, 60, 0.7);
    transform: scale(1.05);
}

.team-image-placeholder i {
    font-size: 5rem;
    color: var(--crimson-red);
    color: #dc143c;
}

.team-name {
    font-family: 'Trajan Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.team-handle {
    font-size: 1.2rem;
    color: var(--crimson-red);
    color: #dc143c;
    margin-bottom: 20px;
    font-style: italic;
}

.team-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.role-badge {
    background: rgba(220, 20, 60, 0.2);
    color: var(--white);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--crimson-red);
    border: 1px solid #dc143c;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.role-badge:hover {
    background: var(--crimson-red);
    background: #dc143c;
    transform: scale(1.05);
}

/* Mobile Responsive - Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-date {
        font-size: 1.4rem;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }
}

/* Mobile Responsive - Team Cards */
@media (max-width: 576px) {
    .team-image,
    .team-image-placeholder {
        width: 150px;
        height: 150px;
    }

    .team-image-placeholder i {
        font-size: 4rem;
    }

    .team-name {
        font-size: 1.5rem;
    }

    .team-handle {
        font-size: 1rem;
    }

    .role-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Mobile Responsive - Stats */
@media (max-width: 576px) {
    .stat-number {
        font-size: 2rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}
