:root {
    --primary-color: #4a040e;
    --primary-light: #6b0f1a;
    --accent-color: #d4af37;
    --text-color: #333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-dark: #121212;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(74, 4, 14, 0.95);
    padding: 10px 10%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo img {
    height: 80px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(74, 4, 14, 0.7), rgba(0,0,0,0.5)), url('assets/hero.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: white;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-style: italic;
    animation: fadeInUp 1.2s ease;
}

.btn {
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: var(--transition);
    animation: fadeInUp 1.4s ease;
    border: 2px solid var(--accent-color);
}

.btn:hover {
    background: transparent;
    color: var(--accent-color);
}

/* About Section */
.section {
    padding: 100px 10%;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--primary-color);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

/* Practice Areas */
.areas {
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

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

.card {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--primary-color);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

/* Team Section */
.team {
    background: var(--primary-color);
    color: white;
}

.team .section-title h2 {
    color: white;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.team-member {
    position: relative;
    width: 280px;
    text-align: center;
    margin-bottom: 60px;
}

.team-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 5px solid rgba(255,255,255,0.1);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-img img.facundo-img {
    object-position: center 80%;
}

.team-card {
    background: #1e293b; /* Dark Blue from reference */
    padding: 20px;
    border-radius: 5px;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.team-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.team-card p {
    color: #cbd5e1;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ubicación & Contacto */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.info-box {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: var(--transition);
}

.contact-form button:hover {
    background: var(--primary-light);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 10% 20px;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.copy {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #888;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    header {
        padding: 20px 5%;
    }
    nav ul {
        display: none; /* simple design for now */
    }
}
