/* VistaEdge Sport & Media - Custom CSS
   Inspired by axiasports.com styling
-------------------------------------------------- */

/* Custom Color Variables */
:root {
    --navy-900: #0a1f44;
    --navy-800: #112a5e;
    --navy-700: #1a3a7e;
    --navy-600: #234a9e;
    --navy-500: #2c5abe;
    --navy-400: #4675d5;
    --navy-300: #6690e0;
    --navy-200: #a3bbee;
    --navy-100: #d1def7;

    --gold-900: #8a6700;
    --gold-800: #a67c00;
    --gold-700: #c29100;
    --gold-600: #dea600;
    --gold-500: #fabb00;
    --gold-400: #ffc726;
    --gold-300: #ffd34d;
    --gold-200: #ffe073;
    --gold-100: #ffecb3;
}

/* Utility Classes for Custom Colors */
.bg-navy-900 { background-color: var(--navy-900); }
.bg-navy-800 { background-color: var(--navy-800); }
.bg-navy-700 { background-color: var(--navy-700); }
.bg-navy-600 { background-color: var(--navy-600); }
.bg-navy-500 { background-color: var(--navy-500); }
.bg-navy-400 { background-color: var(--navy-400); }
.bg-navy-300 { background-color: var(--navy-300); }
.bg-navy-200 { background-color: var(--navy-200); }
.bg-navy-100 { background-color: var(--navy-100); }

.bg-gold-900 { background-color: var(--gold-900); }
.bg-gold-800 { background-color: var(--gold-800); }
.bg-gold-700 { background-color: var(--gold-700); }
.bg-gold-600 { background-color: var(--gold-600); }
.bg-gold-500 { background-color: var(--gold-500); }
.bg-gold-400 { background-color: var(--gold-400); }
.bg-gold-300 { background-color: var(--gold-300); }
.bg-gold-200 { background-color: var(--gold-200); }
.bg-gold-100 { background-color: var(--gold-100); }

.text-navy-900 { color: var(--navy-900); }
.text-navy-800 { color: var(--navy-800); }
.text-navy-700 { color: var(--navy-700); }
.text-navy-600 { color: var(--navy-600); }
.text-navy-500 { color: var(--navy-500); }
.text-navy-400 { color: var(--navy-400); }
.text-navy-300 { color: var(--navy-300); }
.text-navy-200 { color: var(--navy-200); }
.text-navy-100 { color: var(--navy-100); }

.text-gold-900 { color: var(--gold-900); }
.text-gold-800 { color: var(--gold-800); }
.text-gold-700 { color: var(--gold-700); }
.text-gold-600 { color: var(--gold-600); }
.text-gold-500 { color: var(--gold-500); }
.text-gold-400 { color: var(--gold-400); }
.text-gold-300 { color: var(--gold-300); }
.text-gold-200 { color: var(--gold-200); }
.text-gold-100 { color: var(--gold-100); }

.border-navy-900 { border-color: var(--navy-900); }
.border-navy-800 { border-color: var(--navy-800); }
.border-navy-700 { border-color: var(--navy-700); }
.border-navy-600 { border-color: var(--navy-600); }
.border-navy-500 { border-color: var(--navy-500); }
.border-navy-400 { border-color: var(--navy-400); }
.border-navy-300 { border-color: var(--navy-300); }
.border-navy-200 { border-color: var(--navy-200); }
.border-navy-100 { border-color: var(--navy-100); }

.border-gold-900 { border-color: var(--gold-900); }
.border-gold-800 { border-color: var(--gold-800); }
.border-gold-700 { border-color: var(--gold-700); }
.border-gold-600 { border-color: var(--gold-600); }
.border-gold-500 { border-color: var(--gold-500); }
.border-gold-400 { border-color: var(--gold-400); }
.border-gold-300 { border-color: var(--gold-300); }
.border-gold-200 { border-color: var(--gold-200); }
.border-gold-100 { border-color: var(--gold-100); }

/* General Styling */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Button Styling */
.btn-primary {
    background-color: var(--gold-500);
    color: var(--navy-900);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--gold-600);
}

.btn-secondary {
    background-color: var(--navy-700);
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--navy-800);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy-700);
    border: 2px solid var(--navy-700);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--navy-700);
    color: white;
}

/* Section Styling */
.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    font-size: 2.25rem;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 5rem;
    height: 0.25rem;
    background-color: var(--gold-500);
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section */
/* Hero Section with Carousel */
.hero-section {
    position: relative;
    background-color: var(--navy-900);
    color: white;
    padding: 0 !important;
    overflow: hidden;
}

/* Swiper Custom Styles */
.hero-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
}

.hero-swiper .swiper-slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-swiper .swiper-slide > *:not(img):not(.swiper-slide-bg) {
    position: relative;
    z-index: 2;
}

/* Navigation buttons */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--gold-500);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -25px;
}

.hero-swiper .swiper-button-next:after,
.hero-swiper .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--gold-500);
    color: var(--navy-900);
    transform: scale(1.1);
}

/* Pagination */
.hero-swiper .swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 4px !important;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold-500);
    transform: scale(1.2);
}

.hero-swiper .swiper-button-next {
    right: 30px;
}

.hero-swiper .swiper-button-prev {
    left: 30px;
}

/* Pagination */
.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold-500);
    transform: scale(1.2);
}

.hero-swiper .swiper-slide > * {
    position: relative;
    z-index: 2;
}

/* Navigation Buttons */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--gold-500);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Pagination */
.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold-500);
    opacity: 1;
    transform: scale(1.2);
}

/* Hero Content */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }

    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 1rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10,31,68,0.9) 0%, rgba(10,31,68,0.7) 100%);
    z-index: 1;
    opacity: 0;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Card Styling */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Blog Styling */
.blog-post {
    margin-bottom: 2rem;
}

.blog-post-image {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.blog-post-meta span {
    margin-right: 1rem;
}

.blog-post-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-post-excerpt {
    margin-bottom: 1rem;
}

/* Gallery Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,31,68,0.9) 0%, rgba(10,31,68,0) 100%);
    padding: 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Service Box Styling */
.service-box {
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--navy-100);
    color: var(--navy-700);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Team Member Styling */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--navy-100);
}

.team-member-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-member-position {
    color: var(--navy-500);
    margin-bottom: 1rem;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--navy-100);
    color: var(--navy-700);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-member-social a:hover {
    background-color: var(--navy-700);
    color: white;
}

/* Contact Form Styling */
.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-control:focus {
    border-color: var(--navy-500);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 190, 0.25);
}

.contact-info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--navy-100);
    color: var(--navy-700);
    border-radius: 50%;
    margin-right: 1rem;
}

/* Testimonial Styling */
.testimonial {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-author-name {
    font-weight: 700;
}

.testimonial-author-title {
    font-size: 0.875rem;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 0.8s ease-in-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
