/* Custom styles to complement Bootstrap */

/* Hero section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg-min.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 100, 0, 0.3);
    pointer-events: none;
}

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

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.hero-section .lead {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-section .btn {
    font-size: 1.2rem;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Custom colors */
:root {
    --gold: #f2e205;
    --success: #198754;
}

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

.bg-success {
    background-color: var(--success) !important;
}

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

/* Button styles */
.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

.btn-outline-gold {
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-gold:hover {
    color: #000;
    background-color: var(--gold);
    border-color: var(--gold);
}

/* Gallery styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-card {
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.02);
}

.gallery-img {
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Testimonial styles */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    position: relative;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--gold);
}

.testimonial-author {
    border-top: 2px solid var(--gold);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Modal styles */
.modal-dialog.modal-lg {
    max-width: 90%;
}

#imageModal .modal-content {
    background: transparent;
    border: none;
}

#imageModal .btn-close {
    background-color: white;
    opacity: 0.8;
    border-radius: 50%;
    padding: 0.5rem;
}

#imageModal .btn-close:hover {
    opacity: 1;
}

/* Accent elements */
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    margin: 1rem auto;
}

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

.card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Improved spacing for mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Social media icons */
.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Form styling */
.form-control:focus {
    border-color: var(--success);
    box-shadow: 0 0 0 0.2rem rgba(0, 100, 0, 0.25);
}

/* Custom button styles */
.btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* Navbar customization */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}

.navbar-brand img {
    height: 100px;
    width: auto;
    transition: transform 0.2s ease;
}

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

/* Navigation hover effects */
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}
