/*
Theme Name: Diario de Abordo Godly
Theme URI: https://diariodeabordo.es
Description: Un tema minimalista de alta gama (Godly Edition) diseñado para liderazgo y sistemas.
Author: Jose Maria Galarza & AntiGravity
Author URI: https://diariodeabordo.es
Version: 41.0.1
License: GNU General Public License v3 or later
Text Domain: antigravity
*/

/* ── 0. VARIABLES & BASE ── */
:root {
  --bg: #000;
  --fg: #fff;
  --fg-dim: #666;
  --accent: #c9a84c;
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'Space Grotesk', sans-serif;
  --line: rgba(255,255,255,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { padding: 0 40px; }

.technical-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fg-dim);
}

/* ── 1. NAVIGATION ── */
#da-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

#da-nav a {
    color: var(--fg) !important;
    text-decoration: none !important;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

#da-nav a:hover { color: var(--accent) !important; }

.nav-left, .nav-right, .nav-right .links, #nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

#nav-links { list-style: none !important; }

.nav-tech-data {
    display: flex;
    gap: 20px;
    border-left: 1px solid var(--line);
    padding-left: 20px;
}

/* ── 2. MARQUEE SÉNECA ── */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: #000;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  animation: scroll-left 60s linear infinite;
  gap: 40px;
}

.marquee-item { font-size: 20px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── 3. HERO SECTION ── */
.hero-stage { min-height: 100vh; padding: 140px 8% 80px; display: flex; align-items: center; }

@media (min-width: 1025px) {
    .hero-content {
        display: grid !important;
        grid-template-columns: 1.2fr 1fr !important;
        align-items: center !important;
        text-align: left !important;
        gap: 6vw !important;
    }
}

.manifesto-text { font-size: clamp(24px, 3vw, 40px); line-height: 1.2; margin-bottom: 30px; }
.hero-title { font-size: clamp(40px, 6vw, 90px); margin-top: -15px; }

.hero-right { display: flex !important; flex-direction: column !important; align-items: center !important; }

.hero-image-wrap {
    width: 100% !important;
    max-width: 450px !important;
    margin-bottom: 25px !important;
    overflow: hidden;
}

.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: 0.4s ease; }
.hero-image-wrap:hover img { filter: grayscale(0); }

.hero-buttons { display: flex !important; gap: 15px !important; justify-content: center !important; width: 100% !important; margin-top: 20px; }

/* ── 4. BUTTONS ── */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 0.1em; 
    text-decoration: none;
    font-size: 11px;
    transition: 0.3s ease;
}
.btn-primary { background: #fff !important; color: #000 !important; border: 1px solid #fff; }
.btn-primary:hover { background: var(--accent) !important; color: #fff !important; border-color: var(--accent); }
.btn-secondary { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.2); }

/* ── 5. SLICED GALLERY (ACCORDION) ── */
.sliced-gallery { display: flex !important; width: 90%; margin: 0 auto; height: 70vh; gap: 2px; }
.gallery-slice { flex: 1; height: 100%; background-size: cover; background-position: center !important; filter: grayscale(1); transition: all 0.4s ease !important; cursor: pointer; }
.gallery-slice:hover { flex: 5; filter: grayscale(0); }

/* ── 6. FOOTER GODLY (REVISADO) ── */
#da-footer { padding: 100px 8% 40px; background: #000; border-top: 1px solid var(--line); font-family: var(--font-mono); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 80px; }
.footer-block.logo-block { align-items: center; text-align: center; }
.footer-block.legals-block { align-items: flex-end; text-align: right; }

/* Logo Footer: 40px + B&W Effect */
.footer-logo-wrap img {
    height: 40px !important;
    width: auto !important;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.4s ease !important;
    opacity: 0.7;
    display: block;
    margin: 0 auto;
}
.footer-logo-wrap:hover img { filter: grayscale(0%) contrast(1); opacity: 1; transform: scale(1.1); }

/* Enlaces Footer (Arreglados) */
.footer-nav, .social-links { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.social-links { flex-direction: row; gap: 15px; }

.footer-nav a, .social-links a, .footer-link {
    color: var(--fg-dim) !important;
    text-decoration: none !important;
    font-size: 11px;
    transition: color 0.3s;
}
.footer-nav a:hover, .social-links a:hover, .footer-link:hover { color: var(--fg) !important; }

.footer-bottom { border-top: 1px solid var(--line); padding-top: 40px; text-align: center; font-size: 10px; color: var(--fg-dim); }

/* ── 7. RESPONSIVE ── */
@media (max-width: 1024px) {
    .nav-tech-data { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-block { align-items: center !important; text-align: center !important; }
    .hero-content { display: flex !important; flex-direction: column !important; text-align: center !important; }
    .hero-buttons { flex-direction: column !important; align-items: center !important; }
    .sliced-gallery { flex-direction: column; height: 100vh !important; }
}
