/* styles.css - VERSIÓN CON AZUL */

:root {
    --primary-dark: #2c3e50;
    --primary-light: #f5f5f5;
    --gold: #d4af37;
    --accent-brown: #8b7355;
    --dark-blue: #2c3e50;
    --light-blue: #3d5a80;
    --text-gray: #333;
    --light-gray: #666;
    --border-gray: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 6px 20px rgba(212, 175, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--primary-light);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.logo-btn:hover {
    opacity: 0.8;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
    height: 85px;
}

/* Desktop Navigation */
.nav-links-desktop {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--gold);
}

/* Auth Buttons Desktop */
.auth-buttons-desktop {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    background: none;
    border: 1px solid rgba(26, 26, 26, 0.3);
    color: var(--text-gray);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-login:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-register {
    background: var(--gold);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-register:hover {
    background: #c49a27;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-gray);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.mobile-menu-header h3 {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    background: none;
    border: none;
    padding: 1rem;
    text-align: left;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.mobile-nav-link:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-gray);
}

.mobile-auth .btn-login,
.mobile-auth .btn-register {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--light-blue) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    opacity: 0.15;
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-label {
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-motto {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-style: italic;
    letter-spacing: 2px;
    color: rgba(212, 175, 55, 0.9);
    margin-top: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: rgba(212, 175, 55, 0.7);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--gold);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===== GENERAL SECTIONS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--accent-brown);
    margin-top: 0.5rem;
    font-style: italic;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin: 1rem auto;
}

/* ===== NOSOTROS SECTION ===== */
.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}

.nosotros-image {
    display: flex;
    justify-content: center;
}

.float-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.nosotros-text {
    text-align: justify;
    line-height: 1.8;
}

.nosotros-text p {
    margin-bottom: 1.2rem;
    color: var(--light-gray);
}

.principles-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem 0;
    font-weight: bold;
}

.principles-list {
    list-style: none;
    margin: 1.5rem 0;
}

.principles-list li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    color: var(--light-gray);
    text-align: justify;
}

.principles-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ===== VALORES SECTION ===== */
.valores-section {
    background-color: #f9f9f9;
}

.valores-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.valores-grid-large {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.valores-grid-small {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.valor-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.valor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--gold);
}

.valor-card-large {
    padding: 2.5rem;
}

.valor-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.valor-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.valor-card p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.valores-separator {
    width: 80px;
    height: 2px;
    background-color: rgba(212, 175, 55, 0.4);
    margin: 2rem auto;
}

/* ===== CARTA PATENTE SECTION ===== */
.carta-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.05), rgba(212, 175, 55, 0.05));
    border-radius: 12px;
}

.carta-image {
    max-width: 100%;
    height: auto;
    max-height: 700px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* ===== DMA SECTION ===== */
.dma-content {
    text-align: center;
}

.dma-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.dma-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.dma-link:hover {
    transform: scale(1.05);
}

.logo-image {
    max-width: 180px;
    height: auto;
    border-radius: 8px;
}

.dma-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

.dma-text p {
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

/* ===== PALABRAS SECTION ===== */
.palabras-content {
    max-width: 900px;
    margin: 0 auto;
}

.palabras-text {
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
    color: var(--light-gray);
}

.palabras-text p {
    margin-bottom: 1.5rem;
}

.palabras-highlight {
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: block;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--gold);
}

.palabras-firma {
    text-align: right;
    margin-top: 3rem;
    max-width: 500px;
    margin-left: auto;
}

.firma-line {
    width: 150px;
    height: 1px;
    background-color: var(--text-gray);
    margin-bottom: 1rem;
    margin-left: auto;
}

.firma-nombre {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.firma-titulo {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.firma-detalle {
    font-size: 0.85rem;
    color: var(--light-gray);
    margin-bottom: 0.3rem;
    font-style: italic;
}

/* ===== SERENISSIMA SECTION ===== */
.serenissima-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.serenissima-logo {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.serenissima-logo:hover {
    transform: scale(1.05);
}

.serenissima-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

.serenissima-text p {
    margin-bottom: 1.5rem;
    color: var(--light-gray);
}

/* ===== CONTACTO SECTION ===== */
.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-title {
    font-size: 1.3rem;
    color: var(--primary-dark);
    font-weight: bold;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
    font-weight: bold;
}

.info-item a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.info-item a:hover {
    color: #c49a27;
}

.info-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--light-blue) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.info-box p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.confidentiality {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Formulario */
.contacto-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, #c49a27 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.form-note {
    font-size: 0.8rem;
    color: var(--light-gray);
    text-align: center;
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--light-blue) 100%);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.footer-logo-section {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

.footer-logo-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.footer-logo-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact {
    font-size: 0.95rem;
}

.contact-icon {
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0.5rem 1rem;
    }

    .nav-links-desktop,
    .auth-buttons-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nosotros-content {
        grid-template-columns: 1fr;
    }

    .contacto-content {
        grid-template-columns: 1fr;
    }

    .serenissima-logos {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2rem 0;
    }

    .hero {
        padding-top: 70px;
    }

    main {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .palabras-firma {
        margin-left: 0;
        text-align: center;
    }

    .firma-line {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.5rem 0.8rem;
    }

    .logo-img {
        height: 50px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-motto {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .valores-grid-large,
    .valores-grid-small {
        grid-template-columns: 1fr;
    }

    .contacto-form {
        padding: 1.5rem;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section {
        padding: 1.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }
}
/* ===== ICONOS SVG PARA CONTACTO ===== */
.info-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.info-icon-svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
    font-weight: bold;
}

.info-item a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    word-break: break-all;
}

.info-item a:hover {
    color: #c49a27;
}
/* ===== FOOTER - ESTILOS MEJORADOS ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--light-blue) 100%);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.footer-logo-section {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    flex-shrink: 0;
}

.footer-logo-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.footer-logo-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0;
    text-align: left;
    font-family: inherit;
}

.footer-link:hover {
    color: var(--gold);
}

/* Iconos del footer */
.footer-icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact {
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 0.9rem;
    }

    .footer-links li,
    .footer-contact li {
        margin-bottom: 0.6rem;
    }

    .footer-link,
    .footer-contact a {
        font-size: 0.9rem;
    }
}
