﻿/*------------------------------------------------------------------
Project:Team layout
Author: The_Krishna        
-------------------------------------------------------------------*/
/*----------------Table of contents Start---------------------------
1.Default css
2.layout-1 section
---------Table of contents End-----------------------------------*/
/*------------------------ [Color codes] ------------------------                     
Background:#9B2541
Content: #9B2541
Accent: #B12B30
-------------------------------------------------------------------*/
:root {
    --primary: #9B2541;
    --primary-dark: #7A1D34;
    --accent: #B12B30;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    height: 100%;
}
*, ::after, ::before {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
a:focus, a {
    outline: none;
    text-decoration: none;
    cursor: pointer;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
}
svg {
    vertical-align: middle;
}
input {
    outline-width: 0;
    outline-offset: 0;
    outline: 0;
    border: none;
    outline: none;
    width: 100%;
}
textarea {
    outline-width: 0;
    outline-offset: 0;
    outline: 0;
}
ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
body {
    font-family: "Jost", sans-serif;
    position: relative;
    isolation: isolate;
    background-color: transparent;
    min-height: 100%;
}
body::before {
    content: "";
    position: fixed;
    inset: -8px;
    z-index: 0;
    background-image: url("../images/background-rocio2025.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    transform: scale(1.03);
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background-color: rgba(90, 90, 95, 0.42);
    pointer-events: none;
}
.row {
    --bs-gutter-x: 30px;
}
/* ------------- 1. layout-1 section ------------- */
.team-section-1 {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.heading-title {
    text-align: center;
    margin-bottom: 40px;
}
.heading-title p {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1;
    color: #fff;
}
.heading-title h1 {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    line-height: 38px;
    color: #fff;
    display: block;
}
.team-card {
    position: relative;
    overflow: hidden;
    text-align: center;
}
.team-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}
.team-image img {
    transition: all 0.5s ease-in-out;
    width: 100%;
    height: auto;
    display: block;
}
.team-image:after {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255, 255, 255, .3);
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
    pointer-events: none;
}
.team-image:hover:after {
    height: 250%;
    transition: all 600ms linear;
    background-color: transparent;
}
.team-image .team-social-list {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    opacity: 0;
    transition: all 0.3s ease-out;
    z-index: 2;
    padding: 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(50px);
    gap: 0px;
}
.team-social-list a {
    text-decoration: none;
    color: #FFF;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #9B2541;
    border-radius: 50%;
}
.team-card:hover .team-image .team-social-list {
    opacity: 1;
    gap: 20px;
    transform: translateY(-20px);
}
.team-social-list a:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease-out;
    background-color: #B12B30;
    color: #fff;
}
.team-card:hover .team-image img {
    transform: scale(1.05);
}
.team-contact {
    text-align: center;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
}
.team-contact a {
    font-size: 24px;
    font-weight: 600;
    text-transform: capitalize;
    display: block;
    margin: 0;
    color: #772530;
    transition: all .35s ease-in;
}
.team-social-list {
    pointer-events: auto;
}
.team-contact span {
    font-size: 16px;
    font-weight: 400;
    color: #772530;
}
/* === Playas de Rosarito — solo colores === */
html, body {
    background-color: transparent !important;
}
.team-section-1 {
    background-color: transparent !important;
}
.heading-title h1, .heading-title h2, .heading-title h3, .heading-title p {
    color: #fff !important;
}
.team-image img {
    filter: none !important;
}
