/* ===== Custom Styles ===== */

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

.geo-circle--1 {
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255, 107, 74, 0.08);
    top: 15%;
    right: -100px;
}

.geo-circle--2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 107, 74, 0.05);
    bottom: 20%;
    left: -50px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 0 60px 35px;
    border-color: transparent transparent transparent rgba(255, 107, 74, 0.1);
    top: 30%;
    left: 5%;
    transform: rotate(-15deg);
}

.geo-triangle--1 {
    border-width: 40px 0 40px 23px;
    top: auto;
    bottom: 15%;
    left: auto;
    right: 8%;
    transform: rotate(25deg);
    border-color: transparent transparent transparent rgba(255, 107, 74, 0.06);
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255, 107, 74, 0.2) 1px, transparent 1px);
    background-size: 15px 15px;
    top: 60%;
    right: 5%;
}

.geo-square {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 107, 74, 0.15);
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 2s ease-in-out infinite;
}

.scroll-dot {
    width: 4px;
    height: 16px;
    background: rgba(255, 107, 74, 0.6);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

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

/* Buttons */
.btn-primary {
    background: #FF6B4A;
    color: #FFFFFF;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #FF6B4A;
}

.btn-primary:hover {
    background: #E03A18;
    border-color: #E03A18;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: #FF6B4A;
    color: #FF6B4A;
    transform: translateY(-2px);
}

/* Form Inputs */
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    border-color: #FF6B4A;
    background: rgba(255, 107, 74, 0.05);
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B4A;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #FF6B4A !important;
}

/* Mobile Nav */
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: #FF6B4A !important;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Service Card Hover */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    opacity: 0;
    transform: translateY(20px);
}

/* Navbar Scroll State */
.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .service-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .scroll-dot {
        animation: none;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

/* Mobile Menu */
#mobileMenu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

#mobileMenu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobileMenu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}
