/* Base styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Explicit Font Families */
.font-anton {
    font-family: 'Anton', sans-serif !important;
}

.font-bebas {
    font-family: 'Bebas Neue', sans-serif !important;
}

/* Navigation Link Color Override (Prevent purple visited links) */
nav a {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #D82121 !important;
}

/* Mobile Menu Link Color Override */
#mobile-menu a {
    color: #FFFFFF !important;
}

#mobile-menu a:hover {
    color: #D82121 !important;
}

/* Footer Link Color Override */
footer a {
    color: #9CA3AF !important;
    /* gray-400 */
    text-decoration: none;
}

footer a:visited {
    color: #9CA3AF !important;
}

footer a:hover {
    color: #D82121 !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D82121;
}

/* Header Styles */
/* Header Styles */
.site-header {
    background-color: #121212;
    border-bottom: 1px solid transparent;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-header.scrolled {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(4px);
    border-color: #2A2A2A;
}

/* Typography Utilities matched to dist/index.html */
.tracking-tight-custom {
    letter-spacing: -0.01em;
}

.tracking-wide-custom {
    letter-spacing: 0.02em;
}

.text-shadow-sm {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Button Styles */
.btn-core {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: skewX(-10deg);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: 'Anton', sans-serif;
}

.btn-core span {
    display: block;
    transform: skewX(10deg);
}

.btn-primary {
    background: linear-gradient(135deg, #D82121 0%, #991b1b 100%);
    color: white;
    box-shadow: 4px 4px 0px 0px rgba(255, 255, 255, 0.1), 0 10px 20px -5px rgba(216, 33, 33, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: skewX(-10deg) translateY(-2px);
    box-shadow: 2px 2px 0px 0px rgba(255, 255, 255, 0.2), 0 15px 30px -5px rgba(216, 33, 33, 0.6);
    filter: brightness(1.1);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: #D82121;
    color: #D82121;
    background: rgba(216, 33, 33, 0.05);
    transform: skewX(-10deg) translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Modern Premium Hero Buttons - UI/UX Optimized
   Unified size, no skew for better readability, high contrast colors */
.btn-modern-base {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 3rem;
    min-width: 200px;
    font-size: 1.125rem;
    /* 18px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    /* Using Inter for better readability than Anton */
    border-radius: 4px;
    /* Slight rounding for friendly UI */
    line-height: 1.5;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Primary: Theme Red Background, White Text */
.btn-modern-primary {
    background-color: #D82121;
    color: #FFFFFF !important;
    border: 2px solid #D82121;
    box-shadow: 0 4px 15px rgba(216, 33, 33, 0.4);
}

.btn-modern-primary:visited {
    color: #FFFFFF !important;
}

.btn-modern-primary:hover {
    background-color: #b91c1c;
    /* Darker red */
    border-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(216, 33, 33, 0.6);
    color: #FFFFFF !important;
}

/* Secondary: Transparent/Glass Background, White Border/Text */
.btn-modern-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

.btn-modern-secondary:visited {
    color: #FFFFFF !important;
}

.btn-modern-secondary:hover {
    background-color: #FFFFFF;
    color: #000000 !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Outline: Red Border/Text, Transparent Background */
.btn-modern-outline {
    background-color: transparent;
    color: #D82121 !important;
    border: 2px solid #D82121;
}

.btn-modern-outline:visited {
    color: #D82121 !important;
}

.btn-modern-outline:hover {
    background-color: #D82121;
    color: #FFFFFF !important;
    border-color: #D82121;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(216, 33, 33, 0.4);
}

/* Utility Classes for Inline Style Replacement */
.bg-theme-black {
    background-color: #121212;
}

.bg-theme-dark {
    background-color: #1A1A1A;
}

.bg-theme-surface {
    background-color: #1E1E1E;
}

.border-theme-red {
    border-color: #D82121;
}

.border-theme-border {
    border-color: #2A2A2A;
}

.text-theme-red {
    color: #D82121;
}

.mix-blend-screen {
    mix-blend-mode: screen;
}

.opacity-10 {
    opacity: 0.12;
}

.glow-red {
    filter: drop-shadow(0 0 20px rgba(216, 33, 33, 0.3));
}

.bg-overlay-gradient {
    background: linear-gradient(135deg, rgba(216, 33, 33, 0.2) 0%, transparent 100%);
}

.bg-red-Badge {
    background-color: rgba(216, 33, 33, 0.15);
    border: 1px solid #D82121;
}

.bg-green-Badge {
    background-color: rgba(101, 208, 151, 0.15);
    border: 1px solid #65D097;
}

/* =============================================
   Top Page - Fixed Left/Right Red Border Lines
   ============================================= */

.page-border-lines {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    border-left: 4px solid #D82121;
    border-right: 4px solid #D82121;
    pointer-events: none;
    z-index: 20;
}

@media (min-width: 768px) {
    .page-border-lines {
        left: 2rem;
        right: 2rem;
    }
}

/* =============================================
   Contact Form 7 - Custom Dark Theme Styles
   ============================================= */

/* Remove default CF7 wrapper border */
.wpcf7 {
    width: 100%;
}

/* Input & Tel fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
    width: 100%;
    background-color: #1E1E1E !important;
    border: 2px solid #3A3A3A;
    color: #FFFFFF !important;
    border-radius: 0.5rem;
    padding: 1.5rem 1rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    -webkit-text-fill-color: #FFFFFF !important;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus {
    border-color: #D82121;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Browser autofill override */
.wpcf7 input[type="text"]:-webkit-autofill,
.wpcf7 input[type="email"]:-webkit-autofill,
.wpcf7 input[type="tel"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #1E1E1E inset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    caret-color: #FFFFFF;
}

/* Textarea */
.wpcf7 textarea {
    width: 100%;
    background-color: #1E1E1E !important;
    border: 2px solid #3A3A3A;
    color: #FFFFFF !important;
    border-radius: 0.5rem;
    padding: 1rem;
    min-height: 180px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    -webkit-text-fill-color: #FFFFFF !important;
}

.wpcf7 textarea:focus {
    border-color: #D82121;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

.wpcf7 textarea:focus {
    border-color: #D82121;
}

/* Placeholder color */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #6B7280;
}

/* Submit button */
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 1.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #D82121;
    color: #FFFFFF;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 30px rgba(216, 33, 33, 0.3);
}

.wpcf7 input[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(216, 33, 33, 0.5);
}

/* Label spacing */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-top: 0.75rem;
}

/* Validation error message */
.wpcf7 .wpcf7-not-valid-tip {
    color: #D82121;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Invalid field highlight */
.wpcf7 .wpcf7-not-valid {
    border-color: #D82121 !important;
}

/* Response output (success / error banner) */
.wpcf7 .wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background-color: rgba(101, 208, 151, 0.1);
    border-color: #65D097 !important;
    color: #65D097;
}

.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-spam-blocked {
    background-color: rgba(216, 33, 33, 0.1);
    border-color: #D82121 !important;
    color: #D82121;
}