/* style.css - GFL Property Ltd */

/* Global Styles */
:root {
    --primary-red: #dc3545;
    --primary-green: #28a745;
    --dark-bg: #343a40;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navigation */
.navbar.bg-gradient-red-green {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 90vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background-color: var(--primary-red);
}

/* Feature Icons */
.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.hover-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Service Cards */
.service-card-img .card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card-img .card img {
    transition: transform 0.5s ease;
}

.service-card-img:hover .card img {
    transform: scale(1.05);
}

.service-card-img:hover .card {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Gradient Backgrounds */
.bg-gradient-red-green {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%) !important;
}

.bg-gradient-danger-green {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-green) 100%) !important;
}

/* Stats Counter */
.counter-box {
    padding: 20px;
    position: relative;
}

.counter-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.counter-box:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .counter-box::after {
        display: none;
    }
}

/* FAQ Accordion */
.accordion-button {
    background-color: white;
    color: var(--dark-bg);
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-green);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* Footer */
footer {
    background: var(--dark-bg) !important;
}

footer a.text-muted:hover {
    color: white !important;
}

.social-links a {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Badge Customization */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-lg {
    padding: 1rem 3rem;
}

.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-outline-light:hover {
    color: var(--dark-bg);
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* Animation Delays */
.animate__animated {
    animation-duration: 1s;
}

.animate__fadeInDown {
    animation-delay: 0.3s;
}

.animate__fadeInUp {
    animation-delay: 0.6s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slide {
        min-height: 70vh;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .display-2 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        align-items: center;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-slider,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}