/* ============================================
   TORITO PATAGÓN - UNIFIED STYLES
   ============================================ */

/* Font Families */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;700;800&display=swap');

/* Root Variables */
:root {
    --primary-dark: #2d3e50;
    --accent-green: #4caf50;
    --card-bg: #e9f5e9;
    --orange-accent: #ff8c42;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #fff;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0.5rem);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1e293b;
}

.logo-container img {
    height: 2.5rem;
    width: 2.5rem;
    object-fit: contain;
}

.logo-text span:first-child {
    font-weight: bold;
    font-size: 1.25rem;
    display: block;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: #1e293b;
}

.logo-text span:last-child {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #ea580c;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: #1f2937;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #16a34a;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #16a34a;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

#menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1f2937;
}

#mobile-menu {
    display: none;
}

/* Mobile Menu */
@media (max-width: 768px) {
    #menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
    }

    #mobile-menu {
        display: none;
        background-color: #fff;
        border-top: 1px solid #e5e7eb;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    #mobile-menu.show {
        display: flex;
    }

    #mobile-menu a {
        text-decoration: none;
        color: #1f2937;
        font-weight: 500;
    }
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-btn {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 50;
    background-color: #22c55e;
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #16a34a;
}

/* ============================================
   BODY PADDING
   ============================================ */

body {
    padding-top: 6rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
}

.hero-section {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.75rem;
    }
}

.hero-content p {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .hero-content p {
        font-size: 1.25rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #16a34a;
    color: white;
}

.btn-primary:hover {
    background-color: #15803d;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid #1e293b;
    color: #1e293b;
}

.btn-secondary:hover {
    background-color: #1e293b;
    color: white;
}

.btn-submit {
    background-color: #43a047;
    color: white;
}

.btn-submit:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
}

.btn-black {
    background-color: #000;
    color: white;
}

.btn-black:hover {
    background-color: #333;
}

/* ============================================
   TRANSITIONS & ANIMATIONS
   ============================================ */

.transition-soft {
    transition: all 0.3s ease;
}

.service-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mission-image-offset {
    transform: translate(40px, -40px);
}

@media (max-width: 768px) {
    .mission-image-offset {
        transform: none;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

/* ============================================
   IMAGES & MEDIA
   ============================================ */

.wp-post-content img {
    max-width: 100%;
    height: auto;
}

.gallery-grid img {
    transition: transform 0.3s ease, filter 0.3s ease;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* ============================================
   FORMS
   ============================================ */

input, textarea {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #000;
    background-color: #fff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.footer-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: #1e293b;
    color: white;
    padding: 2.5rem 1rem;
    margin-top: 4rem;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer img {
    height: 3rem;
    margin: 0 auto;
}

footer p {
    font-size: 0.875rem;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.875rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #16a34a;
}

footer .copyright {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    body {
        padding-top: 5rem;
    }

    .hero-content h1 {
        font-size: 1.875rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ============================================
   ADDITIONAL CUSTOM STYLES
   ============================================ */

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.brand-logo-container {
    transition: transform 0.3s ease;
}

.brand-logo-container:hover {
    transform: scale(1.1);
}

.premium-shadow {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rounded-custom {
    border-radius: 2rem;
}

.bg-custom-dark {
    background-color: #0f172a;
}

.bg-footer {
    background-color: #2c3e50;
}

.footer-bg {
    background-color: #334155;
}

/* Grid Utilities */
.grid {
    display: grid;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:col-span-4 {
        grid-column: span 4 / span 4;
    }

    .lg\:col-span-8 {
        grid-column: span 8 / span 8;
    }

    .lg\:col-span-12 {
        grid-column: span 12 / span 12;
    }
}

/* ============================================
   GALLERY STYLES
   ============================================ */

.gallery-item {
    cursor: zoom-in;
}

.cursor-zoom-in {
    cursor: zoom-in;
}

/* Lightbox Styles */
#lightbox {
    animation: fadeIn 0.3s ease-out;
}

#lightbox.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#lightbox-close,
#lightbox-prev,
#lightbox-next {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    user-select: none;
}

#lightbox-close:hover,
#lightbox-prev:hover,
#lightbox-next:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
