@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary-color: #1a1a1a;
    --accent-color: #b4bf01;
    /* El color de tu logo */
    --accent-hover: #9ea701;
    --text-color: #333333;
    --light-gray: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header & Navigation */
header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.language-selector {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.flag-btn {
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
}

.flag-btn:hover,
.flag-btn.active {
    opacity: 1;
    transform: scale(1.1);
}

.flag-btn img {
    width: 24px;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: #1a1a1a linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../images/slider/1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: var(--header-height);
    /* Sticks directly to the navigation */
    transition: background-image 1s ease-in-out;
}

.hero-logo-large {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.hero-logo-large img {
    width: 350px;
    height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(180, 191, 1, 0.4));
    /* Glow sutil color logo */
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    font-weight: 300;
}

/* Cards & Content */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(180, 191, 1, 0.15);
    /* Sombra con tono del logo */
    border-bottom-color: var(--accent-color);
    background: #fff;
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.pricing-item {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
}

.pricing-item h3 {
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    /* Toque de color en precios */
    margin-bottom: 10px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

input,
textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

button.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

button.btn-submit:hover {
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-info h3 {
    margin-bottom: 20px;
}

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

.social-links a img {
    width: 30px;
    filter: invert(1);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

/* Gallery */
.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Google Translate Hide Original */
#google_translate_element,
.skiptranslate,
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu needed */
    }

    section {
        padding: 60px 0;
    }
}