fix navbar
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Creator: CorelDRAW -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="24px" height="16px" version="1.1" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd"
|
||||
viewBox="0 0 2.43 1.63"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:xodm="http://www.corel.com/coreldraw/odm/2003">
|
||||
<g id="Capa_x0020_1">
|
||||
<metadata id="CorelCorpID_0Corel-Layer"/>
|
||||
<g id="_2056578419904">
|
||||
<path fill="#221728" d="M1.76 0.49c0,0.06 0.01,0.2 -0.02,0.25 -0.03,0.05 -0.12,0.07 -0.16,0 -0.01,-0.04 -0.02,-0.44 0,-0.49 0.02,-0.08 0.11,-0.07 0.19,-0.07 0.09,0 0.19,-0.01 0.21,0.05 0.03,0.05 0.02,0.19 -0.01,0.22 -0.04,0.05 -0.14,0.02 -0.21,0.04zm-1.45 0.04l0 0.13 0.17 0c0,-0.22 0.13,-0.43 0.39,-0.42 0.23,0.02 0.34,0.2 0.35,0.41 0.01,0.14 -0.01,0.37 0,0.44 -0.01,0.18 -0.01,0.36 -0.01,0.54 0.21,-0.01 0.95,0.02 1.04,-0.01 0.07,-0.02 0.14,-0.09 0.16,-0.17 0.03,-0.12 0.01,-0.54 0.01,-0.69 0,-0.18 -0.06,-0.46 -0.22,-0.57 -0.08,-0.05 -0.04,-0.1 -0.09,-0.15 -0.05,-0.04 -0.2,-0.04 -0.3,-0.04 -0.09,0 -0.28,0 -0.32,0.02 -0.06,0.03 -0.03,0.04 -0.13,0.04 -0.25,0 -0.61,-0.04 -0.78,0.07 -0.13,0.08 -0.25,0.2 -0.27,0.4z"/>
|
||||
<path fill="#221728" fill-opacity="0.501961" d="M0.3 0.66l0 0.01c-0.18,0 -0.29,0.01 -0.3,0.19 0.07,0.02 0.52,0.27 0.6,0.32 0.09,0.05 0.09,0.03 0.16,-0.01l0.44 -0.25 -0.01 0.21c-0.07,0.05 -0.19,0.11 -0.28,0.16 -0.09,0.05 -0.2,0.14 -0.33,0.09 -0.12,-0.05 -0.5,-0.3 -0.58,-0.31 0,0.49 -0.06,0.56 0.32,0.56l0.87 0 0.02 0c0,-0.18 0,-0.36 0.01,-0.54 0,-0.07 0.01,-0.29 0,-0.42l-0.02 0 -0.46 -0.01 -0.44 0z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Creator: CorelDRAW -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="18px" height="24px" version="1.1" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd"
|
||||
viewBox="0 0 4.29 5.61"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:xodm="http://www.corel.com/coreldraw/odm/2003">
|
||||
<g id="Capa_x0020_1">
|
||||
<metadata id="CorelCorpID_0Corel-Layer"/>
|
||||
<g id="_2056578411216">
|
||||
<path fill="#221728" d="M0.01 5.4c0.03,0.24 0.31,0.19 0.54,0.19 0.52,0 3.49,0.06 3.64,-0.04 0.28,-0.21 -0.1,-0.94 -0.23,-1.09 -0.6,-0.68 -1.36,-0.51 -2.46,-0.51 -0.98,0 -1.58,0.78 -1.49,1.45z"/>
|
||||
<path fill="#221728" d="M3.62 3.13c-1.03,0 -0.75,0.05 -0.87,-0.22 -0.14,-0.31 -0.52,-0.3 -0.82,-0.27 -0.45,0.04 -0.59,0.61 -0.28,0.87 0.23,0.19 1.53,0.11 2.03,0.11 0.29,0 0.42,0 0.43,-0.29 0.05,-0.9 0.08,-1.89 -0.37,-2.51 -0.35,-0.49 -1.1,-0.98 -2.02,-0.77 -1.19,0.26 -1.67,1.52 -1.54,2 0.06,0.21 0.35,0.23 0.45,0.04 0.07,-0.13 0,-0.64 0.38,-1.07 0.51,-0.56 1.31,-0.73 2.03,-0.22 0.68,0.5 0.58,1.29 0.58,2.33z"/>
|
||||
<path fill="#221728" fill-opacity="0.501961" d="M1.21 2.63c0.31,-0.27 0.32,-0.41 0.92,-0.41 0.72,0 0.67,0.21 0.96,0.41 0.55,-0.76 -0.05,-1.81 -0.96,-1.81 -0.47,0.01 -0.83,0.29 -0.99,0.59 -0.21,0.38 -0.2,0.94 0.07,1.22z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
+28
-9
@@ -10,8 +10,14 @@
|
||||
<img src="assets/iconos/moon.svg" alt="Modo oscuro" class="theme-icon icon-moon">
|
||||
<img src="assets/iconos/sun.svg" alt="Modo claro" class="theme-icon icon-sun">
|
||||
</button>
|
||||
|
||||
<button class="menu-toggle" aria-label="Abrir menú" aria-expanded="false">
|
||||
Menú
|
||||
<svg class="menu-icon" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<line x1="4" y1="7" x2="20" y2="7"></line>
|
||||
<line x1="4" y1="12" x2="20" y2="12"></line>
|
||||
<line x1="4" y1="17" x2="20" y2="17"></line>
|
||||
</svg>
|
||||
<span>Menú</span>
|
||||
</button>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -20,12 +26,12 @@
|
||||
<!-- Overlay para cerrar el menú -->
|
||||
<div class="menu-overlay" id="menu-overlay"></div>
|
||||
|
||||
<!-- Menú fullscreen -->
|
||||
<!-- Menú desplegable inferior -->
|
||||
<div class="fullscreen-menu" id="fullscreen-menu">
|
||||
<button class="menu-close" aria-label="Cerrar menú">✕</button>
|
||||
|
||||
<div class="menu-content">
|
||||
<!-- Columna 1: Navegación de inicio -->
|
||||
<!-- Columna 1: Inicio -->
|
||||
<div class="menu-column">
|
||||
<h3>Inicio</h3>
|
||||
<ul>
|
||||
@@ -39,7 +45,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Columna 2: Sitemap y políticas -->
|
||||
<!-- Columna 2: Navegación -->
|
||||
<div class="menu-column">
|
||||
<h3>Navegación</h3>
|
||||
<ul>
|
||||
@@ -57,13 +63,20 @@
|
||||
<div class="menu-column">
|
||||
<h3>Contacto</h3>
|
||||
<div class="menu-contact-info">
|
||||
<p>📧 info@agencia.com</p>
|
||||
<p>📞 +34 123 456 789</p>
|
||||
<p class="contact-item">
|
||||
<span class="contact-icon icon-email" aria-hidden="true"></span>
|
||||
<span>info@agencia.com</span>
|
||||
</p>
|
||||
|
||||
<p class="contact-item">
|
||||
<span class="contact-icon icon-phone" aria-hidden="true"></span>
|
||||
<span>+34 123 456 789</span>
|
||||
</p>
|
||||
|
||||
<div class="menu-social">
|
||||
<a href="https://instagram.com" target="_blank" rel="noopener">Instagram</a>
|
||||
<a href="https://facebook.com" target="_blank" rel="noopener">Facebook</a>
|
||||
<a href="https://linkedin.com" target="_blank" rel="noopener">LinkedIn</a>
|
||||
<a href="https://instagram.com" target="_blank" rel="noopener"><i class="fa-brands fa-instagram"></i> Instagram</a>
|
||||
<a href="https://facebook.com" target="_blank" rel="noopener"><i class="fa-brands fa-facebook"></i> Facebook</a>
|
||||
<a href="https://linkedin.com" target="_blank" rel="noopener"><i class="fa-brands fa-linkedin-in"></i> LinkedIn</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -71,6 +84,12 @@
|
||||
<a href="contacto.html" class="btn-menu btn-menu-primary">Hablemos</a>
|
||||
<a href="trabaja.html" class="btn-menu btn-menu-secondary">Trabaja con nosotros</a>
|
||||
</div>
|
||||
|
||||
<!-- Logo de marca integrado en el menú -->
|
||||
<div class="menu-brand">
|
||||
<img src="assets/logos/logo_ciruela.png" alt="Logo" class="logo-light">
|
||||
<img src="assets/logos/logo_frio.png" alt="Logo" class="logo-dark">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
+2
-1
@@ -4,7 +4,8 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<title>Inicio - [Nombre de la agencia]</title>
|
||||
<title>Inicio - A&R</title>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css">
|
||||
<link rel="stylesheet" href="style/main.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
+177
-37
@@ -1,3 +1,9 @@
|
||||
/* ============================================
|
||||
FUENTES DE MARCA
|
||||
============================================ */
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Literata:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:wght@400;500;600;700&family=Windsong&display=swap');
|
||||
|
||||
/* ============================================
|
||||
VARIABLES DE TEMA (modo claro por defecto)
|
||||
============================================ */
|
||||
@@ -31,8 +37,14 @@
|
||||
--shadow: 0 4px 20px -2px rgba(34, 23, 40, 0.08);
|
||||
--glow-animation: rgba(186, 18, 77, 0.25);
|
||||
|
||||
/* Tipografía - se completará */
|
||||
--font-family-base: sans-serif;
|
||||
/* Tipografía de Marca */
|
||||
--font-title: 'Literata', serif;
|
||||
--font-subtitle: 'Literata', serif;
|
||||
--font-body: 'Raleway', sans-serif;
|
||||
--font-small: 'Jost', sans-serif;
|
||||
--font-signature: 'Windsong', cursive;
|
||||
|
||||
--font-family-base: var(--font-body);
|
||||
--font-size-base: 16px;
|
||||
|
||||
/* Espaciados - se completarán */
|
||||
@@ -92,6 +104,42 @@ body {
|
||||
flex-direction: column;
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
/* Títulos principales */
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-family: var(--font-title);
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Subtítulos */
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-subtitle);
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Textos pequeños */
|
||||
small {
|
||||
font-family: var(--font-small);
|
||||
}
|
||||
|
||||
/* Botones */
|
||||
button,
|
||||
.btn,
|
||||
[class*="btn-"] {
|
||||
font-family: var(--font-small);
|
||||
}
|
||||
|
||||
/* Firmas / textos manuscritos */
|
||||
.signature,
|
||||
.firma {
|
||||
font-family: var(--font-signature);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
body.menu-open {
|
||||
overflow: hidden;
|
||||
@@ -177,7 +225,21 @@ ul {
|
||||
}
|
||||
|
||||
/* Base común para botones (menú y tema) */
|
||||
.menu-toggle,
|
||||
.menu-toggle {
|
||||
background: none;
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text-primary);
|
||||
padding: 0.45rem 1.1rem;
|
||||
cursor: pointer;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
border-radius: 24px; /* Bordes redondeados modernos */
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem; /* Separación entre el icono y el texto */
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.theme-toggle {
|
||||
background: none;
|
||||
border: 1px solid var(--border);
|
||||
@@ -189,12 +251,27 @@ ul {
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.menu-toggle:hover,
|
||||
.menu-toggle:hover {
|
||||
background-color: var(--bg-surface-elevated);
|
||||
border-color: var(--text-primary);
|
||||
}
|
||||
.theme-toggle:hover {
|
||||
background-color: var(--bg-surface-elevated);
|
||||
border-color: var(--text-primary);
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
display: block;
|
||||
flex-shrink: 0;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.menu-toggle:hover .menu-icon {
|
||||
transform: scale(1.08);
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
SWITCH DE TEMA (ESPECÍFICO CON ANIMACIÓN)
|
||||
============================================ */
|
||||
@@ -269,7 +346,8 @@ ul {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
background-color: rgba(34, 23, 40, 0.9);
|
||||
backdrop-filter: blur(4px);
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.3s ease, visibility 0.3s ease;
|
||||
@@ -286,14 +364,16 @@ ul {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 50vh; /* Mitad del alto en desktop */
|
||||
height: 52vh; /* Mitad del alto en desktop */
|
||||
background-color: var(--bg-surface);
|
||||
border-top-left-radius: 20px;
|
||||
border-top-right-radius: 20px;
|
||||
transform: translateY(100%);
|
||||
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
z-index: 999;
|
||||
overflow-y: auto;
|
||||
padding: var(--spacing-md) var(--spacing-lg);
|
||||
box-shadow: 0 -4px 20px -2px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: 0 -10px 40px -5px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.fullscreen-menu.is-open {
|
||||
@@ -307,66 +387,72 @@ ul {
|
||||
background: none;
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text-primary);
|
||||
font-size: 1.5rem;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
font-size: 1.1rem;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.3s ease;
|
||||
transition: all 0.25s ease;
|
||||
}
|
||||
|
||||
.menu-close:hover {
|
||||
background-color: var(--bg-surface-elevated);
|
||||
border-color: var(--text-primary);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.menu-content {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: var(--spacing-md);
|
||||
max-width: 1400px;
|
||||
gap: var(--spacing-lg);
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
align-content: start;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
.menu-column h3 {
|
||||
font-size: 1rem;
|
||||
font-family: var(--font-small);
|
||||
font-style: normal;
|
||||
font-size: 0.85rem;
|
||||
letter-spacing: 1.2px;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: var(--spacing-sm);
|
||||
color: var(--text-secondary);
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
font-weight: 700;
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.menu-column ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-xs);
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.menu-column a {
|
||||
color: var(--text-primary);
|
||||
font-size: 0.95rem;
|
||||
transition: color 0.3s ease;
|
||||
display: block;
|
||||
padding: 0.2rem 0;
|
||||
padding: 0.25rem 0;
|
||||
display: inline-block;
|
||||
transition: transform 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
|
||||
.menu-column a:hover {
|
||||
color: var(--btn-primary-bg);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
/* Columna 3 - Contacto y botones */
|
||||
.menu-contact-info {
|
||||
margin-bottom: var(--spacing-sm);
|
||||
|
||||
}
|
||||
|
||||
.menu-contact-info p {
|
||||
margin-bottom: 0.25rem;
|
||||
margin-bottom: 0.35rem;
|
||||
color: var(--text-muted);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
@@ -374,54 +460,108 @@ ul {
|
||||
.menu-social {
|
||||
display: flex;
|
||||
gap: var(--spacing-sm);
|
||||
margin-top: var(--spacing-xs);
|
||||
margin: var(--spacing-xs) 0 var(--spacing-sm);
|
||||
}
|
||||
|
||||
.menu-social a {
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.menu-buttons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-xs);
|
||||
margin-top: var(--spacing-sm);
|
||||
gap: 0.65rem;
|
||||
}
|
||||
|
||||
.btn-menu {
|
||||
display: block;
|
||||
padding: 0.6rem 1.2rem;
|
||||
padding: 0.65rem 1.2rem;
|
||||
text-align: center;
|
||||
border-radius: 4px;
|
||||
border-radius: 999px;
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
transition: all 0.3s ease;
|
||||
transition: all 0.25s ease;
|
||||
}
|
||||
|
||||
.btn-menu-primary {
|
||||
background-color: var(--btn-primary-bg);
|
||||
color: var(--text-on-accent);
|
||||
color: var(--text-on-accent) !important;
|
||||
border: 1.5px solid var(--btn-primary-bg);
|
||||
box-shadow: 0 4px 14px -3px rgba(186, 18, 77, 0.35);
|
||||
}
|
||||
|
||||
.btn-menu-primary:hover {
|
||||
background-color: var(--btn-primary-hover);
|
||||
border-color: var(--btn-primary-hover);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.btn-menu-secondary {
|
||||
background-color: var(--btn-secondary-bg);
|
||||
color: var(--text-on-accent);
|
||||
background-color: transparent;
|
||||
border: 1.5px solid var(--text-secondary);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.btn-menu-secondary:hover {
|
||||
background-color: var(--btn-secondary-hover);
|
||||
background-color: var(--bg-surface-elevated);
|
||||
border-color: var(--btn-primary-bg);
|
||||
color: var(--btn-primary-bg);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
.menu-brand {
|
||||
margin-top: 1.75rem;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.menu-brand img {
|
||||
height: 36px;
|
||||
width: auto;
|
||||
opacity: 0.95;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.menu-brand img:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.contact-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.contact-icon {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
display: inline-block;
|
||||
background-color: currentColor;
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
mask-repeat: no-repeat;
|
||||
-webkit-mask-position: center;
|
||||
mask-position: center;
|
||||
-webkit-mask-size: contain;
|
||||
mask-size: contain;
|
||||
}
|
||||
|
||||
.icon-email {
|
||||
-webkit-mask-image: url("../assets/iconos/buzon.svg");
|
||||
mask-image: url("../assets/iconos/buzon.svg");
|
||||
}
|
||||
.icon-phone {
|
||||
-webkit-mask-image: url("../assets/iconos/contacto.svg");
|
||||
mask-image: url("../assets/iconos/contacto.svg");
|
||||
}
|
||||
/* Responsive - Mobile */
|
||||
@media (max-width: 768px) {
|
||||
.fullscreen-menu {
|
||||
height: 85vh; /* En mobile ocupa más espacio */
|
||||
padding: var(--spacing-md);
|
||||
padding-bottom: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.menu-content {
|
||||
|
||||
Reference in New Issue
Block a user