/* CSS Design System for Dr. Ignacio Alberto González Borrero */

:root {
    /* Color Palette */
    --primary: #181b36;    /* Navy - Deep & Trustworthy */
    --secondary: #194a6b;  /* Deep Blue - Professional */
    --accent: #4c869e;     /* Steel Blue - Modern */
    --light: #f3f4f6;      /* Light Gray - Clean */
    --white: #ffffff;
    --text: #333333;
    --text-muted: #666666;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing & Effects */
    --section-padding: 120px 0;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    --container-width: 1200px;
    --radius: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light);
}

.text-center {
    text-align: center;
}

/* Typography Helpers */
.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 74, 107, 0.3);
}

.btn-outline {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    transition: var(--transition);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.header.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

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

.logo {
    height: 60px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background-color: var(--primary);
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 20%, rgba(24, 27, 54, 0.4) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-bg-accent {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(76, 134, 158, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 2;
}

.hero-content {
    max-width: 750px;
}

.hero .title {
    color: var(--white);
}

.hero .hero-text {
    color: rgba(255, 255, 255, 0.8);
}

.subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.specialty {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 30px;
    font-weight: 400;
    font-family: var(--font-body);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 134, 158, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

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

.about-visual {
    position: relative;
}

.about-image-wrapper {
    background-color: var(--primary);
    border-radius: var(--radius);
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-visual::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--accent) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    right: -40px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 20px 40px rgba(25, 74, 107, 0.4);
    z-index: 10;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-highlights {
    margin-top: 30px;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-highlights svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

/* Stats Bar */
.stats-bar {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    z-index: 5;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 5px;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
}
.services {
    position: relative;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(25, 74, 107, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.services-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(76, 134, 158, 0.2);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--secondary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--secondary);
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Features Section */
.features-container {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 80px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.features-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.features-container .section-title {
    color: var(--white);
}

.features-list {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    color: var(--accent);
}

.feature-title {
    color: var(--white);
    font-size: 1.3rem;
    font-family: var(--font-body);
}

.feature-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-card {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px;
    border-radius: 20px;
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-btn {
    background-color: var(--white);
    color: var(--primary);
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-list {
    margin-top: 40px;
}

.contact-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background-color: #0d0f1a;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 30px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .title {
        font-size: 3.5rem;
    }
    .about-container, .contact-grid {
        gap: 60px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .header {
        background-color: var(--white);
        padding: 15px 0;
    }
    .header-btn {
        display: none;
    }
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        padding: 50px;
        transition: var(--transition);
    }
    .nav.active {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .nav-link {
        font-size: 1.5rem;
    }
    .menu-toggle {
        display: flex;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .title {
        font-size: 2.8rem;
    }
    .hero {
        text-align: center;
        height: auto;
        padding: 150px 0 100px;
    }
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }
    .about-container, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .about-image-wrapper {
        height: 450px;
    }
    .experience-badge {
        right: 0;
        bottom: -20px;
        padding: 25px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .cta-card {
        padding: 40px 20px;
    }
    .cta-title {
        font-size: 2rem;
    }
}
