/*
Theme Name: Magdalena Capital
Theme URI: https://magdalenacapital.com
Author: Magdalena Capital
Author URI: https://magdalenacapital.com
Description: Strategic consulting, venture investment, and AI solutions for B2B enterprises and tech startups
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: magdalena-capital
Tags: business, consulting, portfolio, one-column, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsl(0 0% 90%);
}

:root {
    --background: 0 0% 100%;
    --foreground: 216 100% 5%;
    --charcoal: 216 16% 6%;
    --deep-navy: 215 63% 13%;
    --electric-blue: 213 100% 58%;
    --silver: 0 0% 85%;
    --card: 0 0% 100%;
    --card-foreground: 216 100% 5%;
    --primary: 213 100% 58%;
    --primary-foreground: 0 0% 100%;
    --secondary: 215 63% 13%;
    --secondary-foreground: 0 0% 100%;
    --muted: 0 0% 96%;
    --muted-foreground: 0 0% 45%;
    --border: 0 0% 90%;
    --radius: 0.75rem;
    --gradient-primary: linear-gradient(135deg, hsl(215 63% 13%), hsl(213 100% 58%));
    --gradient-hero: linear-gradient(180deg, hsl(0 0% 100%), hsl(213 100% 98%));
    --gradient-dark: linear-gradient(135deg, hsl(216 16% 6%), hsl(215 63% 13%));
    --shadow-elegant: 0 20px 60px -15px hsl(213 100% 58% / 0.2);
    --shadow-glow: 0 0 80px hsl(213 100% 58% / 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background-color: hsl(var(--background) / 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


.nav-links li {
	list-style:none !important;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.05em;
    text-decoration: none;
    color: hsl(var(--foreground));
}

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

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground) / 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: hsl(var(--primary));
}

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: block;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-elegant);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 70px -15px hsl(var(--primary) / 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background-color: hsl(var(--muted));
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    animation: fadeIn 0.3s ease-out;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground) / 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.mobile-menu a:hover {
    color: hsl(var(--primary));
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    background-image: 
        linear-gradient(to right, hsl(213 100% 58% / 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, hsl(213 100% 58% / 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
	padding-bottom:1rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, hsl(var(--background) / 0.5), hsl(var(--background)));
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    animation: fadeIn 0.6s ease-out;
}

.hero-text > * + * {
    margin-top: 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
}

.hero-accent {
    color: hsl(var(--primary));
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

.hero-description {
    max-width: 42rem;
}

.hero-description p {
    font-size: 1.125rem;
    color: hsl(var(--foreground) / 0.7);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-visual {
    position: relative;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--background) / 0.5), transparent);
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
    animation: fadeIn 0.6s ease-out;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.text-accent {
    color: hsl(var(--primary));
}

.section-bg-muted {
    background-color: hsl(var(--muted) / 0.3);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-cols-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cards */
.card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    transition: var(--transition-smooth);
    animation: fadeIn 0.6s ease-out;
}

.card:hover {
    border-color: hsl(var(--primary) / 0.5);
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px);
}

.card-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.card:hover .card-icon {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-description {
    color: hsl(var(--foreground) / 0.7);
    line-height: 1.7;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-primary {
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.badge-secondary {
    background-color: hsl(var(--secondary) / 0.9);
    color: hsl(var(--secondary-foreground));
}

/* Services Section */
.services-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.services-content > * + * {
    margin-top: 1.5rem;
}

.services-title {
    font-size: 2.25rem;
    font-weight: 700;
}

.services-list {
    list-style: none;
}

.services-list li {
    display: flex;
    gap: 0.75rem;
    color: hsl(var(--foreground) / 0.8);
    margin-bottom: 1rem;
}

.check-icon {
    color: hsl(var(--primary));
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Contact Section */
.contact {
    background: var(--gradient-dark);
    color: white;
}

.contact-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
    animation: fadeIn 0.6s ease-out;
}

.contact-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-header h2 {
        font-size: 3rem;
    }
}

.contact-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
    display: grid;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-form {
    padding: 2rem;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.6s ease-out;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: hsl(var(--charcoal));
    color: white;
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-small {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-subtitle {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: hsl(var(--primary));
}

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

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Utilities */
.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}
