/* Interactive Styles */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ffa502;
    --accent-color: #ff4757;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.2);
}

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

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    background: white;
    box-shadow: var(--shadow-hover);
    padding: 10px 0;
}

.nav-link {
    position: relative;
    transition: var(--transition);
    font-weight: 500;
    padding: 8px 15px;
    margin: 0 5px;
    color: var(--dark-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: var(--primary-color);
}

/* Button Styles */
.custom-btn {
    padding: 12px 25px;
    border-radius: 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.custom-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2));
    transition: var(--transition);
}

.custom-btn:hover::before {
    left: 100%;
}

.custom-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Card Hover Effects */
.card {
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow);
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Image Hover Effects */
.img-hover {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.img-hover img {
    transition: var(--transition);
}

.img-hover:hover img {
    transform: scale(1.1);
}

.img-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
    opacity: 0;
    transition: var(--transition);
}

.img-hover:hover::after {
    opacity: 1;
}

/* Form Styles */
.form-control {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 12px;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
    transform: translateY(-2px);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

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

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: var(--transition);
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px) rotate(360deg);
    box-shadow: var(--shadow-hover);
}

/* Service Box Hover Effects */
.service_section .box {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service_section .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,107,107,0.1), rgba(255,165,2,0.1));
    opacity: 0;
    transition: var(--transition);
}

.service_section .box:hover::before {
    opacity: 1;
}

.service_section .img-box {
    transition: var(--transition);
}

.service_section .box:hover .img-box {
    transform: translateX(-50%) scale(1.1) rotate(5deg);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
    transform: translateX(120%);
    transition: var(--transition);
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #2ecc71;
}

.notification.error {
    border-left: 4px solid #e74c3c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        background: white;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .custom-btn {
        width: 100%;
        margin: 10px 0;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Additional Interactive Elements */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: var(--transition);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Text Gradient Effect */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Transitions */
.section-transition {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.section-transition.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
} 