/* Custom Styles for Sipes Fence */

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

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.1;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FCD34D, #D97706);
    top: 20%;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F9A8D4, #F472B6);
    bottom: 10%;
    right: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #FCD34D;
    top: 60%;
    left: 5%;
    opacity: 0.05;
    animation: rotate 20s linear infinite;
}

.geo-diamond {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #F9A8D4, #F472B6);
    top: 30%;
    right: 10%;
    transform: rotate(45deg);
    opacity: 0.08;
    animation: float 12s ease-in-out infinite;
}

.geo-arc {
    width: 500px;
    height: 250px;
    border-radius: 250px 250px 0 0;
    background: linear-gradient(180deg, #FCD34D, transparent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.05;
}

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

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

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

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up-delayed {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.animate-fade-in-up-delay {
    animation: fade-in-up 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-up-delayed {
    animation: fade-in-up 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* Service Cards */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Gallery Items */
.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Mobile Menu */
.mobile-nav-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-nav-link.show {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(26, 13, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #1A0D17;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FCD34D, #D97706);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FDE68A, #F59E0B);
}

/* Selection Color */
::selection {
    background: #FCD34D;
    color: #1A0D17;
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #FCD34D !important;
    box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-triangle {
        border-left-width: 75px;
        border-right-width: 75px;
        border-bottom-width: 130px;
    }
    
    .geo-diamond {
        width: 100px;
        height: 100px;
    }
}

/* Print Styles */
@media print {
    .geo-shape,
    .animate-float,
    .animate-float-delayed {
        display: none;
    }
}
