/* Variables de Color */
:root {
    --primary-color: #0f172a; /* Azul noche muy oscuro */
    --accent-color: #d4af37;  /* Dorado elegante */
    --text-color: #334155;    /* Gris oscuro para texto */
    --light-bg: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--primary-color);
    font-size: 24px;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-color);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header nav a {
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    background: url('https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7); /* Capa oscura para resaltar el texto */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    color: var(--primary-color);
    background: var(--accent-color);
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Titles */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto 0;
}

.text-light {
    color: var(--white);
}

/* Services */
.services {
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--accent-color);
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 30px 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Contact */
.contact {
    background: var(--primary-color);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.contact-subtitle {
    margin-bottom: 50px;
    font-weight: 300;
    font-size: 1.1rem;
    opacity: 0.8;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    text-align: left;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: 2px solid var(--accent-color);
}

.btn-submit {
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 5px;
    flex: 1;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item strong {
    display: block;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item span, 
.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 300;
}

.contact-item a:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 30px;
    background-color: #080c17; /* Más oscuro que el primary */
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media(max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}
