/* Custom CSS for Ftf Projects */

/* Google Fonts */
* {
    font-family: 'Poppins', sans-serif;
}

/* Variables */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #2c3e50;
    --accent-color: #27ae60;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gold-color: #f39c12;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-secondary: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-gold: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255,107,53,0.9) 0%, rgba(44,62,80,0.9) 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(255,107,53,0.3);
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(15px);
    transition: var(--transition);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98) !important;
    padding: 0.7rem 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-logo {
    height: 85px;
    width: auto;
    transition: var(--transition);
    max-width: 250px;
    background: transparent !important;
    border: none;
    box-shadow: none;
    outline: none;
}

.navbar.scrolled .navbar-logo {
    height: 65px;
}

.navbar-brand {
    padding: 0;
    margin-right: auto;
    margin-left: -15px;
    position: relative;
    background: transparent !important;
}

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

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    margin: 0 0.7rem;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(255,107,53,0.5);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 50%;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
    box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('9dbe1a28-12ce-4881-b1cc-b9c64caeb396.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.85;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,107,53,0.3) 0%, transparent 50%);
    z-index: 1;
}

.hero-location {
    background: rgba(255,255,255,0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-block;
    font-size: 1.1rem;
}

.hero-location i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.6);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.5);
    color: #fff;
}

/* Service Cards */
.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid rgba(255,107,53,0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(255,107,53,0.2);
    border-color: var(--primary-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 5px 20px rgba(255,107,53,0.3);
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s infinite;
}

.service-icon i {
    font-size: 2.2rem;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.service-card ul li {
    padding: 0.5rem 0;
    font-weight: 500;
    transition: var(--transition);
}

.service-card ul li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.08) rotateZ(1deg);
    box-shadow: 0 15px 35px rgba(255,107,53,0.3);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
    filter: brightness(1) saturate(1);
}

.gallery-item:hover img {
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: zoomPulse 1.5s infinite;
}

@keyframes zoomPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* About Section */
.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    right: -25px;
    bottom: -25px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.8;
}

.about-image img {
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-image:hover img {
    transform: translateY(-5px) rotateZ(-1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    transition: var(--transition);
}

.feature-icon:hover {
    transform: scale(1.1) rotateZ(5deg);
    box-shadow: 0 6px 20px rgba(255,107,53,0.5);
}

.feature-icon i {
    color: #fff;
    font-size: 1.4rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Contact Section */
.contact-form {
    background: rgba(255, 255, 255, 0.15);
    padding: 3rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.contact-form:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 10px;
    padding: 12px 15px;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    color: #fff;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #fff;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .navbar-logo {
        height: 70px;
        max-width: 180px;
    }
    
    .navbar.scrolled .navbar-logo {
        height: 55px;
    }
    
    .footer-logo {
        height: 130px;
        max-width: 320px;
    }
    
    .footer-brand-info h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .navbar-logo {
        height: 60px;
        max-width: 160px;
    }
    
    .navbar.scrolled .navbar-logo {
        height: 45px;
    }
    
    .footer-logo {
        height: 100px;
        max-width: 250px;
        margin: 0 auto 1rem;
    }
    
    .footer-brand-info {
        text-align: center;
    }
    
    .footer-brand-info h4 {
        font-size: 1.1rem;
    }
    
    footer .col-lg-5 {
        text-align: center !important;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.scroll-to-top:hover {
    transform: translateY(-3px);
    color: #fff;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Padding */
section {
    padding: 100px 0;
    position: relative;
}

/* Section Backgrounds */
#services {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,107,53,0.05) 0%, transparent 50%);
    pointer-events: none;
}

#gallery {
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    position: relative;
}

#gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(44,62,80,0.05) 0%, transparent 50%);
    pointer-events: none;
}

#about {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(39,174,96,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,107,53,0.2);
    z-index: 9999;
}

.scroll-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s ease;
}

/* Enhanced Shadows */
.shadow-primary {
    box-shadow: 0 10px 25px rgba(255,107,53,0.2) !important;
}

.shadow-hover:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px);
}

/* Utility Classes */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Enhancements */
@media (min-width: 768px) {
    .parallax-element {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* Section Divider */
.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 2rem;
    border-radius: 2px;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255,107,53,0.5);
}

.section-divider.bg-white {
    background: rgba(255,255,255,0.8);
}

.section-divider.bg-white::after {
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Footer Styling */
.footer-logo {
    height: 160px;
    width: auto;
    max-width: 400px;
    transition: var(--transition);
    background: transparent !important;
    border: none;
    box-shadow: none;
    outline: none;
    filter: brightness(1.1) contrast(1.1);
    display: block;
    margin-bottom: 1rem;
}

.footer-logo:hover {
    transform: scale(1.03);
    filter: brightness(1.3) contrast(1.2);
}

.footer-brand-info {
    padding-left: 0;
    max-width: 450px;
}

.footer-brand-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%) !important;
    border-top: 4px solid var(--primary-color);
    padding: 3rem 0 2rem;
}

footer h5 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

footer .fas {
    color: var(--primary-color);
    width: 20px;
}

footer p {
    font-size: 0.95rem;
    line-height: 1.5;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
