:root {
    --primary-color: #F8BBD0; /* Soft Pink */
    --secondary-color: #F4F4F4; /* Light Grey */
    --text-color: #555;
    --dark-color: #333;
    --white-color: #FFFFFF;
    --font-family: 'Montserrat', sans-serif;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

/* Header & Navbar */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--secondary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.nav-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: all 0.3s ease-in-out;
}


/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    background-image: url('hero-background.png');
    background-size: cover;
    background-position: center;
    color: var(--dark-color);
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* General Section Styling */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 50px;
    font-weight: 600;
}

/* Sedes Section */
.sedes-section {
    background-color: var(--secondary-color);
}

.sedes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.sede-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sede-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sede-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.sede-card p {
    margin-bottom: 10px;
}

.sede-card i {
    color: var(--primary-color);
    margin-right: 8px;
}

.sede-card a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.sede-card a:hover {
    color: var(--primary-color);
}

.whatsapp-link, .online-store-link {
    font-weight: 600;
}


/* Contacto Section */
.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
}

.contacto-info .intro-text {
    font-style: italic;
    margin-bottom: 30px;
}

.contacto-info h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contacto-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contacto-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.contacto-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contacto-info a:hover {
    color: var(--primary-color);
}


.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(248, 187, 208, 0.5);
}

.submit-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #f4a5c0;
    transform: translateY(-2px);
}

#form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}

#form-message.success {
    background-color: #d4edda;
    color: #155724;
}

#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

.footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contacto-container {
        grid-template-columns: 1fr;
    }
}

