/* 
   Gas de Oaxaca - Modern Styles 
*/

:root {
    --primary-blue: #004B9B;
    --primary-dark: #003672;
    --accent-blue: #009FE3;
    --accent-light: #4DC0F0;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 75, 155, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-blue);
}

.highlight-alt {
    color: var(--accent-blue);
}

/* --- Header / Navbar (Glassmorphism) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

header.scrolled {
    padding: 0.2rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-grow: 1;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform var(--transition-fast);
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 auto;
    padding-right: 20px; /* Un pequeño ajuste visual para equilibrar visualmente con el logo */
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-blue);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding-top: 100px; /* Offset for navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdfdfd 0%, #ebf4f8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,159,227,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 600px;
    padding: 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 75, 155, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 75, 155, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

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

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 1;
    padding: 2rem;
}

.hero-banner {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Promo / Ticket Section --- */
.promo-section {
    padding: 5rem 0;
    background-color: white;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.promo-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.promo-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.promo-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ticket-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

/* --- Info Section --- */
.info-section {
    padding: 5rem 0 7rem;
    background-color: var(--bg-light);
}

.info-header {
    text-align: center;
    margin-bottom: 4rem;
}

.info-header h2 {
    font-size: 2.5rem;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent-blue);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 159, 227, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* --- WhatsApp Section --- */
.whatsapp-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    text-align: center;
}

.whatsapp-title {
    color: #166534;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.whatsapp-logo {
    width: 50px;
    height: 50px;
}

.whatsapp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.whatsapp-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(22, 101, 52, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #25D366;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main);
}

.whatsapp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(22, 101, 52, 0.15);
}

.whatsapp-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.whatsapp-card h3 {
    font-size: 1.5rem;
    color: #166534;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.whatsapp-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
    margin-top: auto;
}

.whatsapp-card:hover .whatsapp-btn {
    background: #128C7E;
}

@media (max-width: 768px) {
    .whatsapp-title {
        font-size: 2rem;
    }
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 2rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
}

.footer-links h3, .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.social-btn:hover {
    background: var(--accent-blue);
}

.social-btn .icon {
    width: 20px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0,0,0,0.2);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* --- Privacy Content --- */
.privacy-content-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
    color: var(--text-muted);
}

.privacy-content-box p {
    margin-bottom: 1rem;
    text-align: justify;
}

.privacy-content-box h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-sm);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s ease-in-out;
        z-index: -1;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* --- Services & Contact Info --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-top: 4rem;
    border-top: 4px solid var(--accent-blue);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.sucursales-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
