/* Custom Styles for Blue Steel Welding & Fabrication */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

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

.circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
    top: 20%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(254, 249, 195, 0.3) 0%, rgba(254, 239, 138, 0.1) 100%);
    bottom: 10%;
    left: 5%;
    animation: floatReverse 6s ease-in-out infinite;
}

.geo-square {
    position: absolute;
    pointer-events: none;
}

.square-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(4, 120, 87, 0.08) 0%, rgba(6, 78, 59, 0.04) 100%);
    top: 40%;
    left: 10%;
    transform: rotate(45deg);
    animation: float 10s ease-in-out infinite;
}

.square-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.08) 100%);
    top: 15%;
    left: 30%;
    transform: rotate(20deg);
    animation: floatReverse 7s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid rgba(254, 252, 232, 0.2);
    top: 60%;
    right: 15%;
    animation: float 9s ease-in-out infinite;
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gallery Item Hover */
.gallery-item {
    cursor: pointer;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 3px solid #10b981;
    outline-offset: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .square-1 {
        width: 100px;
        height: 100px;
    }
    
    .triangle-1 {
        border-left-width: 50px;
        border-right-width: 50px;
        border-bottom-width: 87px;
    }
}

/* Print Styles */
@media print {
    .geo-circle,
    .geo-square,
    .geo-triangle {
        display: none;
    }
}
