/* 
  GC EVENTOS - STYLESHEET
  Premium, modern, luxury aesthetic.
  Color Palette: Steel Blue, Terracotta, Beige
*/

:root {
    /* Color Palette */
    --clr-steel-blue: #2c4a60;      /* Dark, premium steel blue */
    --clr-steel-blue-light: #4682b4; /* Lighter accent */
    --clr-terracotta: #c85a48;      /* Warm, energetic terracotta */
    --clr-terracotta-hover: #b04b3a; 
    --clr-beige: #f5f5dc;           /* Soft beige background */
    --clr-beige-dark: #e8e8ce;      
    --clr-dark: #1a1a1a;            /* Deep dark for text/backgrounds */
    --clr-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-dark);
    background-color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Globals */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--clr-beige);
}

/* Common Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--clr-steel-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title .underline {
    height: 3px;
    width: 60px;
    background-color: var(--clr-terracotta);
    margin: 15px auto;
}

.section-title p {
    font-size: 1.1rem;
    color: #555;
    margin-top: 10px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background-color: var(--clr-terracotta);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-terracotta-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 90, 72, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-white);
    border: 2px solid var(--clr-white);
}

.btn-secondary:hover {
    background-color: var(--clr-white);
    color: var(--clr-dark);
    transform: translateY(-3px);
}

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

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

/* --- NAVBAR --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-white);
    letter-spacing: 2px;
}

.logo span {
    font-weight: 500;
}

header.scrolled .logo {
    color: var(--clr-steel-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--clr-white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

header.scrolled .nav-link {
    color: var(--clr-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-terracotta);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-white);
    cursor: pointer;
}

header.scrolled .menu-toggle {
    color: var(--clr-steel-blue);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%; /* Extra height for parallax */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.1s ease-out; /* Parallax smooth */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 74, 96, 0.8) 0%, rgba(26, 26, 26, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--clr-white);
    max-width: 900px;
    padding-top: 80px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title span {
    color: var(--clr-beige);
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- QUIÉNES SOMOS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-steel-blue);
    margin-bottom: 20px;
}

.diferencial-list {
    margin-top: 30px;
}

.dif-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.dif-item i {
    color: var(--clr-terracotta);
    font-size: 1.2rem;
}

.value-card {
    background-color: var(--clr-steel-blue);
    color: var(--clr-white);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(44, 74, 96, 0.2);
}

.value-card i {
    font-size: 3rem;
    color: var(--clr-beige);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* --- SERVICIOS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--clr-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--clr-steel-blue);
    transition: var(--transition-slow);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 74, 96, 0.15);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover h3, 
.service-card:hover .service-list li, 
.service-card:hover .service-icon {
    color: var(--clr-white);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--clr-terracotta);
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--clr-steel-blue);
    transition: var(--transition-fast);
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 10px;
    color: #555;
    transition: var(--transition-fast);
}

/* --- PORTAFOLIO --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 350px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 74, 96, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-slow);
}

.portfolio-overlay h4 {
    color: var(--clr-white);
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay h4 {
    transform: translateY(0);
}

/* --- CLIENTES & REVIEWS --- */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    margin-bottom: 60px;
}

.marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 80px;
}

.client-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-steel-blue);
    opacity: 0.6;
    transition: var(--transition-fast);
}

.client-logo:hover {
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.review-card {
    background-color: var(--clr-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--clr-terracotta);
}

.stars {
    color: #ffd700;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.review-author {
    font-weight: 700;
    color: var(--clr-steel-blue);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--clr-dark);
    color: var(--clr-white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--clr-white);
}

.footer-brand h2 span {
    font-weight: 400;
}

.footer-brand p {
    color: #aaa;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: var(--clr-white);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--clr-terracotta);
    transform: translateY(-5px);
}

.footer-contact h3, .footer-form h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--clr-beige);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #aaa;
}

.contact-info i {
    color: var(--clr-terracotta);
    margin-top: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 12px 15px;
    border: none;
    background-color: rgba(255,255,255,0.05);
    color: var(--clr-white);
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: 1px solid var(--clr-terracotta);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #777;
    font-size: 0.9rem;
}

/* --- ANIMATIONS & UTILS --- */
.reveal {
    opacity: 0;
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.fade-bottom { transform: translateY(50px); }
.fade-left { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--clr-white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-fast);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--clr-dark);
    }
    
    header.scrolled .nav-link {
        color: var(--clr-dark);
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    header.scrolled .menu-toggle {
        color: var(--clr-dark);
    }
    
    .menu-toggle.active i::before {
        content: "\f00d"; /* FontAwesome times icon */
        color: var(--clr-dark);
    }

    .hero-title { font-size: 2.5rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .hero-buttons {
        flex-direction: column;
    }
}
