/* 
 * Centro Deportivo UABC - "Orgullo Cimarrón" Design System
 * --------------------------------------------------------
 * Colors:
 * - Green (Primary): #00723F (Pantone 356)
 * - Gold (Accent): #DD971A (Pantone 131)
 * - Blue (Contrast): #20419A (Pantone Reflex Blue)
 */

:root {
    --uabc-green: #00723F;
    --uabc-gold: #DD971A;
    --uabc-blue: #20419A;
    --uabc-dark: #1a1a1a;
    --uabc-light: #f8f9fa;
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--uabc-dark);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Utilities */
.text-uabc-green { color: var(--uabc-green) !important; }
.text-uabc-gold { color: var(--uabc-gold) !important; }
.text-uabc-blue { color: var(--uabc-blue) !important; }
.bg-uabc-green { background-color: var(--uabc-green) !important; }
.bg-uabc-gold { background-color: var(--uabc-gold) !important; }
.bg-uabc-blue { background-color: var(--uabc-blue) !important; }

/* Buttons */
.btn-cimarron {
    background-color: var(--uabc-gold);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    padding: 12px 30px;
    transition: all 0.3s ease;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

.btn-cimarron:hover {
    background-color: #b57b15; /* Darker gold */
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(221, 151, 26, 0.4);
}

.btn-outline-cimarron {
    border: 2px solid var(--uabc-gold);
    color: var(--uabc-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 28px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-cimarron:hover,
.btn-outline-cimarron.active {
    background-color: var(--uabc-gold);
    color: white;
}

/* Navbar */
.navbar-cimarron {
    background-color: rgba(0, 114, 63, 0.95); /* UABC Green transparent */
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-cimarron .nav-link {
    color: white !important;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-left: 15px;
    position: relative;
}

.navbar-cimarron .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--uabc-gold);
    transition: width 0.3s ease;
}

.navbar-cimarron .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 114, 63, 0.7), rgba(32, 65, 154, 0.5));
    z-index: -1;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 0.9;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Service Cards */
.card-service {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    cursor: pointer;
    position: relative;
}

.card-service:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-service .card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-service img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-service:hover img {
    transform: scale(1.1);
}

.card-badge-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--uabc-gold);
    color: white;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card-service .card-body {
    padding: 1.5rem;
    background: white;
    position: relative;
    z-index: 2;
}

.card-service .card-title {
    color: var(--uabc-green);
    border-bottom: 2px solid var(--uabc-light);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Hover Overlay for Schedule */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 114, 63, 0.95);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.card-service:hover .card-overlay {
    opacity: 1;
}

/* Steps Process */
.step-card {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--uabc-gold);
    background-color: #fffcf5;
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--uabc-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

/* Stats / Features Strip */
.stats-strip {
    background-color: var(--uabc-blue);
    color: white;
    padding: 60px 0;
}

/* Footer */
footer {
    background-color: #111;
    color: #aaa;
    padding-top: 60px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--uabc-gold);
}

.footer-bottom {
    background-color: black;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid #222;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}
