/* 
 * EMPRENDER - Home Page Styles
 * Primary Color: #fb8637 (Orange/Corral)
 * Secondary Color: #212719 (Dark Green/Forest)
 */

/* ================================
   CSS Variables - Color Palette
   ================================ */
:root {
    /* Primary Colors */
    --primary-color: #fb8637;
    --primary-dark: #e67a30;
    --primary-light: #fc9560;
    --primary-bg-light: rgba(251, 134, 55, 0.1);
    --primary-border: #fb8637;
    --primary-rgb: 251, 134, 55;
    
    /* Secondary Colors */
    --secondary-color: #212719;
    --secondary-dark: #1a1f14;
    --secondary-light: #2d3424;
    --secondary-bg-light: rgba(33, 39, 25, 0.1);
    --secondary-border: #212719;
    --secondary-rgb: 33, 39, 25;
    
    /* Neutral Colors */
    --text-dark: #212719;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-light: #dee2e6;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 12px rgba(var(--primary-rgb), 0.3);
    --shadow-secondary: 0 4px 12px rgba(var(--secondary-rgb), 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ================================
   Topbar Navigation
   ================================ */
.topbar {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.topbar .navbar-brand {
    color: var(--text-light) !important;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar .navbar-brand:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.topbar .navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.topbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.topbar .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.topbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.topbar .navbar-nav .nav-link:hover::after {
    width: 80%;
}

.topbar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.topbar .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* ================================
   Main Container
   ================================ */
.main-container {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 40px 0;
}

.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--text-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-hero {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    margin: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-hero-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-hero-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-hero-outline:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ================================
   Features Section
   ================================ */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.feature-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-border);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-primary);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ================================
   Footer
   ================================ */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-brand:hover {
    color: var(--primary-color);
}

.footer-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-brand:hover .footer-logo {
    transform: scale(1.05);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.footer-links h5 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-social {
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 10px;
    transition: all 0.3s ease;
    color: var(--text-light);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

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

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn-hero {
        padding: 12px 25px;
        font-size: 1rem;
        margin: 5px;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
    
    .main-container {
        margin-top: 70px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .features-section {
        padding: 60px 0;
    }
}
