/* === CUSTOM STYLES === */

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

/* Custom animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-3deg); }
}

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

@keyframes dash {
    to { stroke-dashoffset: 0; }
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a017, #e6b422);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #0f2140;
    bottom: 10%;
    left: 5%;
    animation: floatReverse 10s ease-in-out infinite;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #d4a017;
    top: 30%;
    right: 45%;
    transform: rotate(45deg);
    animation: float 12s ease-in-out infinite;
    opacity: 0.06;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #d4a017;
    top: 60%;
    left: 8%;
    animation: floatReverse 9s ease-in-out infinite;
    opacity: 0.06;
}

.shape-dots {
    background-image: radial-gradient(circle, #0f2140 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 10%;
    opacity: 0.1;
}

/* Dark section shapes */
.shape-circle-3 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a017, #e6b422);
    bottom: -80px;
    left: -80px;
    animation: float 11s ease-in-out infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: #d4a017;
    top: 15%;
    right: 10%;
    transform: rotate(30deg);
    animation: spin-slow 20s linear infinite;
    opacity: 0.05;
}

.shape-dots-reverse {
    background-image: radial-gradient(circle, rgba(255,255,255,0.3) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    width: 180px;
    height: 180px;
    top: 20%;
    right: 5%;
}

.shape-circle-4 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #d4a017;
    top: -60px;
    right: -60px;
    opacity: 0.05;
    animation: floatReverse 8s ease-in-out infinite;
}

.shape-square-3 {
    width: 100px;
    height: 100px;
    background: #0f2140;
    bottom: 10%;
    left: 5%;
    transform: rotate(45deg);
    opacity: 0.03;
}

.shape-circle-5 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: #0f2140;
    top: -100px;
    right: -100px;
    opacity: 0.08;
    animation: float 10s ease-in-out infinite;
}

.shape-square-4 {
    width: 60px;
    height: 60px;
    background: #0f2140;
    bottom: 10%;
    left: 15%;
    transform: rotate(20deg);
    opacity: 0.06;
}

.shape-circle-6 {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #d4a017;
    bottom: -80px;
    right: -80px;
    opacity: 0.05;
    animation: floatReverse 9s ease-in-out infinite;
}

.shape-square-5 {
    width: 90px;
    height: 90px;
    background: #d4a017;
    top: 10%;
    left: 5%;
    transform: rotate(45deg);
    opacity: 0.04;
}

/* Scroll indicator */
.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #d4a017, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

/* Service card hover */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(212, 160, 23, 0.15);
}

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

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

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

/* Mobile menu */
.mobile-link {
    position: relative;
}

/* Back to top */
#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* Fade-in animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .shape-circle-1,
    .shape-circle-3,
    .shape-circle-5,
    .shape-circle-6 {
        width: 200px;
        height: 200px;
    }

    .shape-square-1,
    .shape-square-2,
    .shape-square-4,
    .shape-square-5 {
        width: 50px;
        height: 50px;
    }

    .shape-dots,
    .shape-dots-reverse {
        width: 100px;
        height: 100px;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}
