/* Custom CSS for Trash My Party */

:root {
    --primary-green: #198754;
    --secondary-green: #20c997;
    --warning-yellow: #ffc107;
    --dark-bg: #212529;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

.floating-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    animation: orbit 8s linear infinite;
}

.floating-icons i:nth-child(1) {
    animation-delay: 0s;
    transform: rotate(0deg) translateX(100px) rotate(0deg);
}

.floating-icons i:nth-child(2) {
    animation-delay: -2.67s;
    transform: rotate(120deg) translateX(100px) rotate(-120deg);
}

.floating-icons i:nth-child(3) {
    animation-delay: -5.33s;
    transform: rotate(240deg) translateX(100px) rotate(-240deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.service-card.featured {
    border: 3px solid var(--warning-yellow);
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.service-icon i {
    font-size: 3rem;
    display: block;
}

.price-range {
    border-top: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;
    padding: 15px 0;
    margin: 20px 0;
}

/* Feature Boxes */
.feature-box i {
    font-size: 3rem;
    display: block;
}

.feature-box h5 {
    margin: 20px 0 15px 0;
    font-weight: 600;
}

/* About Section */
.about-icon {
    font-size: 8rem;
    opacity: 0.1;
}

.stat-box {
    padding: 20px;
    border-radius: 10px;
    background: rgba(25, 135, 84, 0.1);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Contact Items */
.contact-item i {
    font-size: 2.5rem;
    display: block;
}

.contact-item h5 {
    margin: 15px 0 10px 0;
    font-weight: 600;
}

/* Form Styling */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

.btn-warning {
    background-color: var(--warning-yellow);
    border-color: var(--warning-yellow);
    color: #000;
}

.btn-warning:hover {
    background-color: #ffca2c;
    border-color: #ffc720;
    color: #000;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 5px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Padding */
section {
    padding-top: 80px;
}

section:first-of-type {
    padding-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-icon {
        font-size: 4rem;
    }
    
    .floating-icons i {
        font-size: 1.5rem;
    }
    
    .floating-icons i:nth-child(1),
    .floating-icons i:nth-child(2),
    .floating-icons i:nth-child(3) {
        transform: rotate(0deg) translateX(60px) rotate(0deg);
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .hero-section {
        text-align: center;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .floating-icons {
        display: none;
    }
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--primary-green);
    border-left: 4px solid var(--primary-green);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

/* Social Links */
.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-green) !important;
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #157347;
}