/* ═══════════════════════════════════════════════════════════════
   RAVENCRAFT.DK — Design System
   Dark industrial aesthetic with amber accents
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    /* Colors — Dark Industrial */
    --rc-black: #0a0a0a;
    --rc-bg: #111111;
    --rc-surface: #1a1a1a;
    --rc-card: #222222;
    --rc-border: #2a2a2a;
    --rc-border-light: #333333;
    --rc-text: #f5f5f5;
    --rc-text-secondary: #cccccc;
    --rc-text-muted: #888888;
    --rc-accent: #f59e0b;
    --rc-accent-hover: #d97706;
    --rc-accent-light: #fbbf24;
    --rc-accent-glow: rgba(245, 158, 11, 0.15);
    --rc-accent-glow-strong: rgba(245, 158, 11, 0.3);
    --rc-danger: #ef4444;
    --rc-success: #22c55e;

    /* Typography */
    --rc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --rc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --rc-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --rc-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --rc-radius: 12px;
    --rc-radius-sm: 8px;
    --rc-radius-lg: 16px;
    --rc-radius-xl: 24px;

    /* Shadows */
    --rc-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --rc-shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.4);
    --rc-shadow-accent: 0 4px 32px rgba(245, 158, 11, 0.15);

    /* Spacing */
    --rc-section-py: clamp(80px, 10vw, 140px);

    /* Navbar */
    --rc-nav-height: 72px;
}


/* ─── Global Reset & Base ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--rc-nav-height);
}

body {
    font-family: var(--rc-font);
    background-color: var(--rc-bg);
    color: var(--rc-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--rc-accent);
    color: var(--rc-black);
}

::-moz-selection {
    background: var(--rc-accent);
    color: var(--rc-black);
}


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

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

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

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

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--rc-border-light) var(--rc-bg);
}


/* ─── Grain / Texture Overlay ─── */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}


/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--rc-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

a {
    color: var(--rc-accent);
    text-decoration: none;
    transition: var(--rc-transition-fast);
}

a:hover {
    color: var(--rc-accent-light);
}

p {
    color: var(--rc-text-secondary);
}


/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn-accent {
    background: linear-gradient(135deg, var(--rc-accent) 0%, var(--rc-accent-hover) 100%);
    color: var(--rc-black);
    border: none;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--rc-radius-sm);
    transition: var(--rc-transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: var(--rc-transition);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--rc-accent-light) 0%, var(--rc-accent) 100%);
    color: var(--rc-black);
    transform: translateY(-2px);
    box-shadow: var(--rc-shadow-accent);
}

.btn-accent:hover::before {
    opacity: 1;
}

.btn-accent:active {
    transform: translateY(0);
}

.btn-outline-light {
    border: 1px solid var(--rc-border-light);
    color: var(--rc-text);
    padding: 12px 32px;
    border-radius: var(--rc-radius-sm);
    background: transparent;
    font-weight: 500;
    transition: var(--rc-transition);
}

.btn-outline-light:hover {
    border-color: var(--rc-accent);
    color: var(--rc-accent);
    background: var(--rc-accent-glow);
}


/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
#mainNav {
    padding: 16px 0;
    background: transparent;
    backdrop-filter: none;
    transition: var(--rc-transition-slow);
    border-bottom: 1px solid transparent;
    z-index: 1040;
}

#mainNav.scrolled {
    padding: 10px 0;
    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--rc-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--rc-text) !important;
    transition: var(--rc-transition);
}

.navbar-brand:hover {
    color: var(--rc-accent) !important;
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    color: var(--rc-accent);
    font-size: 1.3rem;
}

.navbar-logo {
    transition: var(--rc-transition);
}

.nav-link {
    color: var(--rc-text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: var(--rc-radius-sm);
    transition: var(--rc-transition);
    position: relative;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--rc-accent);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--rc-accent-glow);
    color: var(--rc-accent) !important;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.nav-cta:hover {
    background: var(--rc-accent);
    color: var(--rc-black) !important;
    border-color: var(--rc-accent);
}

.nav-cta::after {
    display: none;
}

/* Hamburger customization */
.navbar-toggler {
    border: 1px solid var(--rc-border-light);
    padding: 6px 10px;
    border-radius: var(--rc-radius-sm);
    transition: var(--rc-transition);
}

.navbar-toggler:hover {
    border-color: var(--rc-accent);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--rc-accent-glow);
}

.navbar-toggler-icon {
    filter: invert(1);
}


/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--rc-nav-height);
}

/* Animated gradient background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--rc-bg) 0%, var(--rc-black) 100%);
    animation: heroGradientShift 12s ease-in-out infinite alternate;
}

@keyframes heroGradientShift {
    0% {
        opacity: 1;
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
        filter: hue-rotate(5deg);
    }
}

/* Subtle grid lines */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

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

/* Availability badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--rc-accent-glow);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--rc-accent);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--rc-accent);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--rc-text) 0%, var(--rc-text-secondary) 50%, var(--rc-accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 6s ease-in-out infinite alternate;
}

@keyframes titleShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--rc-text-muted);
    font-weight: 400;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--rc-accent), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(12px); }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION COMMON STYLES
   ═══════════════════════════════════════════════════════════════ */
.section {
    padding: var(--rc-section-py) 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rc-accent);
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--rc-accent-glow);
}

.section-title {
    font-weight: 800;
    margin-bottom: 16px;
}

.section-divider {
    display: flex;
    justify-content: center;
}

.section-header:not(.text-center) .section-divider {
    justify-content: flex-start;
}

.section-divider span {
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--rc-accent), var(--rc-accent-hover));
    border-radius: 2px;
}


/* ═══════════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-services {
    background: var(--rc-bg);
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--rc-transition);
    overflow: hidden;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(245, 158, 11, 0.08);
}

.service-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover .service-glow {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rc-accent-glow);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--rc-radius);
    margin-bottom: 24px;
    font-size: 1.4rem;
    color: var(--rc-accent);
    transition: var(--rc-transition);
}

.service-card:hover .service-icon {
    background: var(--rc-accent);
    color: var(--rc-black);
    border-color: var(--rc-accent);
    transform: scale(1.05);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--rc-text);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--rc-text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-portfolio {
    background: var(--rc-black);
}

/* Filter buttons */
.portfolio-filters {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--rc-border);
    color: var(--rc-text-muted);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--rc-transition);
    font-family: var(--rc-font);
    letter-spacing: 0.02em;
}

.filter-btn:hover {
    border-color: var(--rc-accent);
    color: var(--rc-accent);
}

.filter-btn.active {
    background: var(--rc-accent);
    border-color: var(--rc-accent);
    color: var(--rc-black);
    font-weight: 600;
}

/* Portfolio cards */
.portfolio-card {
    position: relative;
    border-radius: var(--rc-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--rc-transition);
    aspect-ratio: 4 / 3;
    background: var(--rc-surface);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rc-shadow-lg);
}

.portfolio-img-wrap {
    width: 100%;
    height: 100%;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rc-card);
    color: var(--rc-border-light);
    font-size: 3rem;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--rc-transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--rc-text);
}

.portfolio-category {
    font-size: 0.8rem;
    color: var(--rc-accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.portfolio-view {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rc-accent);
    color: var(--rc-black);
    border-radius: 50%;
    font-size: 1.1rem;
    transform: scale(0) rotate(-90deg);
    transition: var(--rc-transition);
}

.portfolio-card:hover .portfolio-view {
    transform: scale(1) rotate(0);
}

/* Portfolio item visibility during filtering */
.portfolio-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* Empty state */
.portfolio-empty {
    padding: 80px 0;
}

.empty-icon {
    font-size: 4rem;
    color: var(--rc-accent);
    margin-bottom: 24px;
    animation: floatUp 3s ease-in-out infinite;
}

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

/* Modal styling */
.modal-content.bg-dark {
    background: var(--rc-surface) !important;
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius-lg);
}

.badge.bg-accent {
    background-color: var(--rc-accent) !important;
    color: var(--rc-black);
}


/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-about {
    background: var(--rc-bg);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--rc-text-secondary);
}

.about-text p {
    margin-bottom: 16px;
}

.about-visual {
    position: relative;
}

.about-card {
    background: var(--rc-surface);
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rc-accent), transparent);
}

.about-icon {
    font-size: 3rem;
    color: var(--rc-accent);
    margin-bottom: 32px;
    opacity: 0.6;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--rc-card);
    border-radius: var(--rc-radius-sm);
    border: 1px solid var(--rc-border);
    transition: var(--rc-transition);
}

.stat-item:hover {
    border-color: var(--rc-accent);
    transform: translateX(4px);
}

.stat-icon {
    color: var(--rc-accent);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--rc-text-secondary);
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-contact {
    background: var(--rc-black);
}

.contact-intro {
    color: var(--rc-text-muted);
    font-size: 1.05rem;
}

/* Form styling */
.contact-form .form-control {
    background: var(--rc-surface);
    border: 1px solid var(--rc-border);
    color: var(--rc-text);
    border-radius: var(--rc-radius-sm);
    padding: 16px;
    font-size: 0.95rem;
    transition: var(--rc-transition);
}

.contact-form .form-control:focus {
    border-color: var(--rc-accent);
    box-shadow: 0 0 0 3px var(--rc-accent-glow);
    background: var(--rc-surface);
    color: var(--rc-text);
}

.contact-form .form-control::placeholder {
    color: var(--rc-text-muted);
}

/* Floating labels */
.contact-form .form-floating > label {
    color: var(--rc-text-muted);
    font-size: 0.9rem;
}

.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--rc-accent);
}

/* Contact sidebar */
.contact-sidebar {
    background: var(--rc-surface);
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius-lg);
    padding: 32px;
}

.contact-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rc-border);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rc-accent-glow);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--rc-radius-sm);
    color: var(--rc-accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--rc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span {
    font-size: 0.9rem;
    color: var(--rc-text-secondary);
    transition: var(--rc-transition-fast);
}

.contact-info-item a:hover {
    color: var(--rc-accent);
}

/* Availability badge */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--rc-success);
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: var(--rc-success);
    border-radius: 50%;
    animation: availPulse 2s ease-in-out infinite;
}

@keyframes availPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Alert styling */
.alert {
    border-radius: var(--rc-radius-sm);
    border: none;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--rc-success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--rc-danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--rc-black);
    border-top: 1px solid var(--rc-border);
    padding: 60px 0 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rc-text);
    margin-bottom: 8px;
    justify-content: center;
}

@media (min-width: 992px) {
    .footer-brand {
        justify-content: flex-start;
    }
}

.footer-brand .brand-icon {
    color: var(--rc-accent);
    font-size: 1.2rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--rc-text-muted);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--rc-border);
    color: var(--rc-text-muted);
    font-size: 1.1rem;
    transition: var(--rc-transition);
}

.social-link:hover {
    border-color: var(--rc-accent);
    color: var(--rc-accent);
    background: var(--rc-accent-glow);
    transform: translateY(-2px);
}

.footer-crafted {
    font-size: 0.85rem;
    color: var(--rc-text-muted);
    margin: 0;
}

.footer-crafted .heart {
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

.footer-divider {
    height: 1px;
    background: var(--rc-border);
    margin: 32px 0 20px;
}

.footer-bottom {
    font-size: 0.75rem;
}


/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Mobile */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn-lg {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .contact-sidebar {
        margin-top: 16px;
    }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section {
        padding: 80px 0;
    }
}

/* Large desktop */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 5.5rem;
    }
}

/* Navbar collapse on mobile */
@media (max-width: 991.98px) {
    #mainNav {
        background: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .navbar-collapse {
        padding: 20px 0;
        border-top: 1px solid var(--rc-border);
        margin-top: 16px;
    }

    .nav-link {
        padding: 12px 16px !important;
    }

    .nav-cta {
        display: inline-block;
        margin-top: 8px;
    }
}

/* Reduce animations for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
