/* Custom Styles for Plumbing Website */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--dark-color);
    color: white;
    font-size: 0.9rem;
}

.top-bar i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-brand i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/hero.jpg') center/cover;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

/* Feature Cards */
.feature-card {
    padding: 2rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

/* Service Cards */
.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-card img {
    height: 200px;
    object-fit: cover;
}

.service-card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Review Cards */
.review-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* Footer */
.footer-section a:hover {
    color: var(--accent-color) !important;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .top-bar .text-end {
        text-align: left !important;
        margin-top: 5px;
    }
    
    .top-bar span {
        display: block;
        margin: 5px 0;
    }
    
    .navbar .btn {
        margin: 10px 0;
    }
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 1s ease-out;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13,110,253,0.3);
}

/* Utility Classes */
.min-vh-75 {
    min-height: 75vh;
}