/* =========================
   VARIABLES
========================= */
:root {
    --bg-main: #0b0f14;
    --bg-secondary: #111827;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --accent: #22c55e;
}

/* =========================
   BASE / RESET
========================= */
body {
    margin: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
}

img {
    display: block;
    max-width: 100%;
}

a {
    transition: color 0.2s ease;
}

/* =========================
   TIPOGRAFÍA
========================= */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

h2 {
    font-family: 'Playfair Display', serif;
}

p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 24px;
    background-color: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
}

.nav-links a:hover,
.language-switch a:hover {
    color: var(--accent);
}

.language-switch {
    font-size: 0.85rem;
    opacity: 0.8;
}

.language-switch a {
    color: var(--text-main);
    text-decoration: none;
}

/* =========================
   LAYOUT GENERAL
========================= */
main {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px 40px;
}

/* =========================
   HERO (HOME)
========================= */
.hero {
    text-align: center;
    padding: 100px 20px;
}

/* =========================
   GALERÍAS
========================= */
.gallery-grid,
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.photo-grid {
    gap: 20px;
}

.gallery-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img,
.photo-grid img {
    border-radius: 12px;
}

.photo-grid img {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* =========================
   PHOTO DETAIL PAGE
========================= */
.photo-page {
    display: grid;
    gap: 40px;
}

.photo-wrapper {
    background: radial-gradient(circle, var(--bg-secondary) 0%, var(--bg-main) 70%);
    padding: 20px;
    border-radius: 16px;
}

.photo-wrapper img {
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

.photo-info {
    text-align: center;
}

.photo-meta {
    margin: 12px 0 24px;
    font-size: 0.85rem;
    opacity: 0.75;
}

.photo-caption {
    margin-bottom: 30px;
}

.photo-note {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* =========================
   BREADCRUMB
========================= */
.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 30px;
    opacity: 0.75;
}

.breadcrumb a {
    color: var(--text-main);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    margin: 0 6px;
}

.breadcrumb .current {
    opacity: 0.6;
}

/* =========================
   RELATED PHOTOS
========================= */
.related-section h2 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 60px 0;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-page {
    max-width: 600px;
    margin: auto;
}

.contact-intro,
.contact-success {
    margin-bottom: 30px;
}

.contact-success {
    color: var(--accent);
    font-weight: 500;
}

.photo-reference {
    background-color: var(--bg-secondary);
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-top: 20px;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: none;
    background-color: var(--bg-secondary);
    color: var(--text-main);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent);
}

/* =========================
   BOTONES / CTA
========================= */
.cta {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: var(--accent);
    color: var(--bg-main);
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
}

.cta:hover {
    opacity: 0.85;
}

/* =========================
   RESPONSIVE (MOBILE)
========================= */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-links a {
        margin-left: 0;
    }

    .hero {
        padding: 60px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    main {
        padding: 40px 16px;
    }

    .gallery-grid,
    .photo-grid {
        gap: 16px;
    }

    .photo-wrapper img {
        max-height: 60vh;
    }

    .cta {
        width: 100%;
        text-align: center;
    }
}
/* =========================
   ABOUT PAGE
========================= */
.about-page {
    max-width: 800px;
    margin: auto;
}

.about-intro {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-highlight {
    margin: 50px 0;
    padding: 30px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
}

.about-highlight h2 {
    margin-bottom: 16px;
}

.about-highlight ul {
    list-style: none;
    padding: 0;
}

.about-highlight li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.about-cta {
    margin-top: 60px;
    text-align: center;
}
/* =========================
   LICENSING PAGE
========================= */
.licensing-page {
    max-width: 800px;
    margin: auto;
}

.licensing-intro {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.licensing-types,
.licensing-process {
    margin: 50px 0;
}

.licensing-types ul,
.licensing-process ol {
    margin-top: 20px;
    padding-left: 20px;
}

.licensing-types li,
.licensing-process li {
    margin-bottom: 12px;
}

.licensing-cta {
    margin-top: 60px;
    text-align: center;
}
