/* 
   Impresos Camaleón - Main Stylesheet
   Colors: Dark Blue (#1e3a8a), Light Blue (#0ea5e9), Orange (#f97316)
*/

:root {
    --primary-blue: #0f172a;
    /* Darker Navy for better contrast */
    --primary-light: #1e293b;
    --secondary-cyan: #38bdf8;
    /* Brighter Cyan from logo */
    --accent-orange: #fb923c;
    /* Softer, brighter Orange */
    --accent-orange-hover: #f97316;
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --text-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-light: #f1f5f9;
    --navbar-height: 80px;
    /* Slightly taller for logo */
    --transition-speed: 0.3s;
}

* {
    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-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-blue);
}

.text-accent {
    color: var(--accent-orange-hover);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-cyan);
    transform: translateY(-2px);
    color: var(--primary-blue);
}

.btn-accent {
    background-color: var(--accent-orange);
    color: var(--primary-blue);
    /* Text color for contrast on orange */
}

.btn-accent:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    color: white;
}

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--navbar-height);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    column-gap: 10px;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on logo aspect ratio */
    width: auto;
}

.logo span {
    color: var(--secondary-cyan);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-cyan);
    transition: width var(--transition-speed);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Main Content Padding for Fixed Header */
main {
    margin-top: var(--navbar-height);
    min-height: calc(100vh - var(--navbar-height) - 300px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0f172a 100%);
    color: var(--text-light);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-pattern.svg') repeat;
    /* Placeholder for pattern */
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Services / Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform var(--transition-speed);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent-orange);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-cyan);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-cyan);
}

.footer-col p {
    margin-bottom: 10px;
    color: #cbd5e1;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: left var(--transition-speed);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}