Files
getlostguatemala.com/static/css/style.css

479 lines
8.3 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');
:root {
--primary-color: #c59d53;
/* Gold/Tan */
--secondary-color: #ffffff;
/* Tropical Blue */
--dark-bg: #001938;
/* Dark Blue */
--light-bg: #EAF4F4;
--text-light: #F0F4F8;
--text-dark: #1A1A1A;
--glass-bg: rgba(255, 255, 255, 0.1);
--glass-border: rgba(255, 255, 255, 0.2);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Outfit', sans-serif;
}
body {
background: linear-gradient(135deg, var(--dark-bg), #000B1A);
color: var(--text-light);
min-height: 100vh;
overflow-x: hidden;
}
a {
text-decoration: none;
color: inherit;
}
/* Glassmorphism Classes */
.glass-panel {
background: var(--glass-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 16px;
padding: 2rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-panel:hover {
transform: translateY(-5px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
/* Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 5%;
background: rgba(0, 26, 51, 0.8);
backdrop-filter: blur(10px);
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.nav-brand {
display: flex;
align-items: center;
font-size: 1.8rem;
font-weight: 800;
color: var(--primary-color);
letter-spacing: 2px;
}
.nav-brand img {
height: 40px;
margin-right: 15px;
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 0.9rem;
transition: color 0.3s ease;
position: relative;
}
.nav-links a:hover {
color: var(--primary-color);
}
.nav-links a::after {
content: '';
position: absolute;
width: 0%;
height: 2px;
bottom: -5px;
left: 0;
background-color: var(--primary-color);
transition: width 0.3s ease;
}
.nav-links a:hover::after {
width: 100%;
}
.lang-switch {
background: var(--primary-color);
color: var(--dark-bg);
padding: 0.4rem 1rem;
border-radius: 20px;
font-weight: 800;
transition: all 0.3s ease;
}
.lang-switch:hover {
box-shadow: 0 0 15px var(--primary-color);
}
/* Hero Section */
.hero {
min-height: 80vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 2rem;
position: relative;
overflow: hidden;
}
.hero-video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
pointer-events: none;
flex-shrink: 0;
}
.hero-overlay {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0, 25, 56, 0.6), rgba(0, 25, 56, 0.85));
z-index: 1;
pointer-events: none;
flex-shrink: 0;
}
.hero-content {
position: relative;
z-index: 3;
width: 100%;
max-width: 800px;
margin: 0 auto;
}
.hero::before {
content: '';
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
pointer-events: none;
z-index: 2;
flex-shrink: 0;
}
.hero-content h1 {
font-size: 4.5rem;
font-weight: 800;
margin-bottom: 1rem;
background: linear-gradient(45deg, var(--primary-color), #FFF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: fadeInDown 1s ease;
}
.hero-content p {
font-size: 1.2rem;
line-height: 1.6;
max-width: 600px;
margin: 0 auto 2rem;
color: #CCC;
animation: fadeInUp 1s ease 0.3s backwards;
}
.btn {
display: inline-block;
padding: 1rem 2rem;
border-radius: 30px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s ease;
border: none;
}
.btn-primary {
background: var(--primary-color);
color: var(--dark-bg);
box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}
/* Sections Grid */
.section-title {
text-align: center;
font-size: 2.5rem;
margin: 4rem 0 2rem;
color: var(--primary-color);
text-transform: uppercase;
letter-spacing: 3px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
padding: 0 5%;
margin-bottom: 4rem;
}
.card {
border-radius: 16px;
overflow: hidden;
background: rgba(255, 255, 255, 0.05);
transition: transform 0.4s ease;
}
.card:hover {
transform: translateY(-10px) scale(1.02);
}
.card-img {
width: 100%;
height: 200px;
object-fit: cover;
border-bottom: 2px solid var(--primary-color);
}
.card-content {
padding: 1.5rem;
}
.card-content h3 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
color: var(--secondary-color);
}
.card-content p {
color: #BBB;
font-size: 0.95rem;
margin-bottom: 1rem;
}
.price {
font-weight: 800;
color: var(--primary-color);
font-size: 1.2rem;
display: block;
margin-top: 1rem;
}
/* Form Section */
.contact-section {
padding: 4rem 5%;
display: flex;
justify-content: center;
}
.contact-form {
max-width: 600px;
width: 100%;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: var(--primary-color);
}
.form-control {
width: 100%;
padding: 1rem;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
color: white;
font-family: 'Outfit', sans-serif;
transition: border-color 0.3s ease;
}
.form-control:focus {
outline: none;
border-color: var(--primary-color);
}
.checkbox-wrap {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 1rem;
}
.checkbox-wrap input[type="checkbox"] {
width: 20px;
height: 20px;
accent-color: var(--primary-color);
}
/* Dashboard specific */
.admin-container {
padding: 3rem 5%;
}
.admin-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
.admin-table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
}
.admin-table th,
.admin-table td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-table th {
color: var(--primary-color);
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Tabs */
.tabs-header {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--glass-border);
}
.tab-btn {
background: var(--glass-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
color: #CCC;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
padding: 0.8rem 1.5rem;
transition: all 0.3s ease;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.tab-btn:hover {
background: rgba(255, 255, 255, 0.15);
transform: translateY(-2px);
color: var(--text-light);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.tab-btn.active {
color: var(--dark-bg);
background: var(--primary-color);
border-color: var(--primary-color);
box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
/* Hamburger */
.hamburger {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
}
.hamburger div {
width: 25px;
height: 3px;
background-color: var(--primary-color);
border-radius: 3px;
transition: all 0.3s ease;
}
/* Responsive */
@media (max-width: 768px) {
.hero-content h1 {
font-size: 3rem;
}
.admin-grid {
grid-template-columns: 1fr;
}
.hamburger {
display: flex;
}
.nav-links {
display: none;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: rgba(0, 26, 51, 0.95);
backdrop-filter: blur(10px);
padding: 2rem;
gap: 1.5rem;
align-items: center;
border-bottom: 2px solid var(--primary-color);
}
.nav-links.mobile-active {
display: flex;
animation: fadeInDown 0.3s ease forwards;
}
.tabs-header {
flex-direction: column;
}
}