﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1c759b;
    --accent: #AE1C28;
    --dark: #0b1120;
    --light: #FFFFFF;
    --gray: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-dark: rgba(11, 17, 32, 0.85);
    --radius: 24px;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 6.5vw, 5.2rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: 1.8rem;
}

p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 60ch;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-white .text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-red .text-gradient,
.bg-blue .text-gradient,
#dalsie-projekty .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.bg-red {
    background-color: var(--accent);
    color: var(--light);
}

.bg-white {
    background-color: var(--light);
    color: var(--dark);
}

.bg-blue {
    background-color: var(--primary);
    color: var(--light);
}

.bg-white p {
    color: #475569;
}

.bg-red p,
.bg-blue p,
#dalsie-projekty p {
    color: rgba(255, 255, 255, 0.8);
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* Header & Nav */
header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 95%;
    z-index: 1000;
    padding: 6px;
    background: #1a1a1a;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

header .container {
    padding: 0 !important;
    max-width: none;
    width: 100%;
}

header.scrolled {
    top: 15px;
    background: #111111;
}

.fixed-logo-box {
    position: fixed;
    top: 25px;
    left: 40px;
    width: 120px;
    height: 120px;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    box-shadow: none;
    transition: var(--transition);
}

.fixed-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.scrolled .fixed-logo-box {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateX(-50px);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 5px;
    list-style: none;
}

.nav-links li {
    opacity: 1;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.2rem;
    border-radius: 50px;
    /* PerfektnĂ© zaoblenie ako pri ikone telefĂłnu */
    transition: var(--transition);
    opacity: 0.85;
    white-space: nowrap;
}

.nav-links a:hover {
    background: #AE1C28;
    color: white !important;
    opacity: 1;
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 1.2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-actions-wrapper {
    display: none;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #222;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 0.5rem;
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    min-width: 80px;
    background: #1a1a1a;
    border-radius: 15px;
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1500;
    display: flex;
    flex-direction: column;
}

.lang-selector:hover .lang-dropdown,
.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lang-dropdown a.active {
    color: #AE1C28;
}

.nav-cta {
    background: #AE1C28;
    color: white;
    text-decoration: none;
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 1.8rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.95rem;
    /* ZachovanĂ© prianie usera */
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    background: #c31f2d;
}

/* Bez scale */

.nav-phone {
    width: 46px;
    height: 46px;
    background: #AE1C28;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-phone:hover {
    background: #c31f2d;
}

/* Bez scale */

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 46px;
    height: 46px;
    padding: 13px;
    background: #AE1C28;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1100;
    transition: var(--transition);
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Section Specifics */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Vycentrovanie horizontĂˇlne */
    position: relative;
    overflow: hidden;
    text-align: center;
    /* Vycentrovanie textu */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-content {
    z-index: 1;
    width: 100%;
}

.hero-content .reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ZarovnĂˇ tlaÄŤidlo na stred */
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: var(--transition);
}

.cta-button:hover {
    background: #c31f2d;
}

/* Bento Grid Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-card:hover::before {
    transform: scale(1.05);
}

.card-1 {
    grid-column: span 2;
}

.card-1::before {
    background-image: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.1) 80%), url('assets/img/montazne_prace_bg.png');
}

.card-2::before {
    background-image: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.1) 80%), url('assets/img/stavebne_projekty_bg.png');
}

.card-3::before {
    background-image: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.1) 80%), url('assets/img/lesenarske_sluzby_bg.png');
}

.card-4 {
    grid-column: span 2;
}

.card-4::before {
    background-image: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.1) 80%), url('assets/img/lokalita_posobenie_bg.png');
}

/* Gallery */
#galeria .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
    /* Reduced space */
}

.gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.gallery-stream {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.gallery-stream::-webkit-scrollbar {
    display: none;
}

@keyframes skeleton-pulse {
    0% {
        background-color: rgba(255, 255, 255, 0.05);
    }

    50% {
        background-color: rgba(255, 255, 255, 0.1);
    }

    100% {
        background-color: rgba(255, 255, 255, 0.05);
    }
}

.gallery-item {
    flex: 0 0 calc(25% - 1.5rem);
    /* 4 items visibly perfectly */
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    animation: skeleton-pulse 2s infinite ease-in-out;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

.gallery-item img.loaded {
    opacity: 1;
    animation: none;
    /* Stop pulse when loaded */
}

.gallery-item.loaded {
    animation: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    /* Starte invisible for lazy load fade-in */
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.gallery-item img.loaded {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-dark);
    color: white;
    border: 1px solid var(--glass-border);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.gallery-nav:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(15px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    cursor: pointer;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.contact-form {
    padding: 3rem;
    background: rgba(15, 23, 42, 0.6);
    /* TmavĹˇĂ­ podklad pre formulĂˇr */
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 20px rgba(174, 28, 40, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Button override pre formulĂˇr */
.contact-form .cta-button {
    margin-top: 1rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-1,
    .card-2,
    .card-3,
    .card-4 {
        grid-column: span 1;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .nav-actions,
    .nav-divider {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #111111;
        flex-direction: column;
        justify-content: flex-start;
        /* Changed from center to move items up */
        padding-top: 120px;
        /* Added padding to position items higher */
        align-items: center;
        gap: 1.5rem;
        z-index: 1050;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-actions-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .mobile-actions-wrapper .lang-selector {
        margin-right: 0;
    }

    .mobile-actions-wrapper .nav-cta {
        min-width: 200px;
        justify-content: center;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.6s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-nav:hover {
    background: var(--accent);
    color: white;
}

.l-prev {
    left: 40px;
}

.l-next {
    right: 40px;
}

#lightboxCaption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ccc;
    text-align: center;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    width: auto;
    min-width: 300px;
}

@keyframes zoom {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@media (max-width:768px) {
    .lightbox-nav {
        font-size: 2rem;
        width: 45px;
        height: 45px;
        padding: 0.5rem;
    }

    .l-prev {
        left: 15px;
    }

    .l-next {
        right: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }

    #lightboxCaption {
        bottom: 80px;
        width: 90%;
        font-size: 1rem;
    }
}

/* Mobile Fixes */
@media (max-width: 968px) {

    /* Header Bar & Burger Alignment */
    header {
        top: 0;
        left: 0;
        right: auto;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        padding: 10px 20px;
        transform: none;
    }

    header.scrolled {
        top: 0 !important;
    }

    header .container,
    nav {
        width: 100%;
        justify-content: flex-end;
    }

    /* Ensure Burger is clickable above menu */
    .mobile-toggle {
        position: relative;
        z-index: 2000;
    }

    /* Logo Position */
    .fixed-logo-box {
        left: 20px;
        top: 10px;
        width: 60px;
        height: 60px;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Gallery Mobile */


    /* Form Inputs Stack */
    .input-row {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }
}

/* Mobile Adjustments Phase 2 */
@media (max-width: 968px) {

    /* Hide Header Background (Keep Burger) */
    header {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        backdrop-filter: none !important;
        pointer-events: none;
        /* Allow clicks through transparent header */
    }

    /* Ensure Burger and Logo are clickable */
    .mobile-toggle,
    .fixed-logo-box {
        pointer-events: auto;
    }

    /* Make Burger clearly visible if background is removed? 
       Adding a small backing to ensuring visibility on all sections if needed, 
       but user asked 'iba burger', so keeping it simple first. */

    /* Larger Logo */
    .fixed-logo-box {
        width: 100px !important;
        height: 100px !important;
        top: 20px !important;
        left: 20px !important;
    }

    /* Larger Phone Icon in Mobile Menu */
    .mobile-actions-wrapper .nav-phone svg {
        width: 36px !important;
        height: 36px !important;
        stroke-width: 2 !important;
    }

    /* Add some spacing/style to the phone link container in menu */
    .mobile-actions-wrapper .nav-phone {
        margin-top: 1rem;
        padding: 10px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        display: inline-flex;
    }
}

/* Ensure logo hides on scroll on mobile */
@media (max-width: 968px) {
    body.scrolled .fixed-logo-box {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-20px) !important;
        transition: all 0.3s ease !important;
    }
}

/* Mobile Gallery Fixes Phase 3 */
@media (max-width: 968px) {
    .gallery-container {
        padding: 0 !important;
        /* Remove huge padding */
        max-width: 100vw;
        overflow: visible !important;
        /* Allow stream to be full width */
    }

    .gallery-stream {
        padding: 1rem 1rem;
        /* Balanced padding */
        gap: 1rem;
        width: 100%;
        scroll-snap-type: x proximity;
        /* Relaxed snapping to allow easier vertical scroll escape */
        touch-action: pan-x pan-y;
    }

    .gallery-item {
        flex: 0 0 calc(100vw - 2rem) !important;
        /* Full width minus padding */
        width: calc(100vw - 2rem) !important;
        min-width: calc(100vw - 2rem) !important;
        scroll-snap-align: center;
        /* Snap to center */
        margin-left: 0 !important;
        /* Remove offset */
        height: auto !important;
        aspect-ratio: 3/4;
    }

    .gallery-stream::after {
        content: '';
        padding-right: 1rem;
        /* Maintain end spacing */
    }
}

/* Mobile Form Fixes Phase 4 */
@media (max-width: 968px) {
    .contact-form {
        padding: 1.5rem 1rem !important;
        /* Reduce padding significantly */
        width: 100% !important;
    }

    .contact-container {
        padding: 0 !important;
        /* Remove any container padding if specific */
    }

    /* Ensure inputs are full width and easy to tap */
    .form-group input,
    .form-group textarea {
        font-size: 16px !important;
        /* Prevent zoom */
        padding: 1rem !important;
        width: 100% !important;
    }

    /* Global container adjustment for mobile to give more space? 
       Be careful not to break other sections. 
       Targeting specific section? */
    #kontakt .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Footer 2026 Modern Style */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-branding {
    padding-right: 1.5rem;
}

.footer-branding p {
    margin-top: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-branding {
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .footer-branding img {
        margin: 0 auto;
    }

    .footer-bottom-bar {
        flex-direction: column-reverse;
        gap: 1.5rem;
        text-align: center;
    }

    .socials {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
        margin-top: 1rem;
    }
}

/* Video Gallery Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    width: 100%;
}

.video-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16/9;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-item:hover video {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid white;
    margin-left: 3px;
}

.video-item:hover .play-icon {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: var(--accent);
}

@media (max-width: 968px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(37, 211, 102, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsapp-pulse 2s infinite;
}

.floating-whatsapp:hover {
    animation: none;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
    }

    .floating-whatsapp svg {
        width: 26px;
        height: 26px;
    }
}

#galeria {
    padding-bottom: 1rem !important;
}