/* ===== Custom Styles for Mark Kopp Kustoms ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ===== Geometric Background Shapes ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(128, 0, 32, 0.04) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 218, 185, 0.3) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 100px 60px;
    border-color: transparent transparent rgba(128, 0, 32, 0.06) transparent;
    top: 30%;
    right: 5%;
    animation: rotate-slow 25s linear infinite;
}

.geo-triangle--1 {
    border-width: 0 40px 70px 40px;
    top: 60%;
    right: 8%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.geo-square {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(128, 0, 32, 0.08);
    border-radius: 12px;
    top: 45%;
    left: 3%;
    animation: rotate-slow 20s linear infinite;
}

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

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Service Cards ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #800020, #FFDAB9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
    display: block;
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Header Scroll State ===== */
header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

header.scrolled .logo-text {
    color: #800020;
}

/* ===== Button Hover Effects ===== */
a:hover {
    transition: all 0.2s ease;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #800020;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5c0017;
}

/* ===== Active nav link ===== */
.nav-link-active {
    color: #800020 !important;
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #800020;
    border-radius: 1px;
}

/* ===== Input focus animations ===== */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

/* ===== Responsive adjustments ===== */
@media (max-width: 640px) {
    .geo-circle--1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle--2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-square {
        width: 40px;
        height: 40px;
    }
}
