/* Zemenpay Optimized Stylesheet 
   Clean, high-performance version for Zemenpay
*/

:root {
    --primary-color: #6366f1;    /* Signature Indigo */
    --heading-color: #1e293b;    /* Deeper Slate for better readability */
    --text-color: #4b5563;       /* Balanced Gray */
    --footer-bg: #111827;        /* Darker Footer for modern contrast */
    --white: #ffffff;
    --light-bg: #f8fafc;         /* Light Slate background */
    --accent-bg: #eff6ff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* Hero & Header Sections */
.hero {
    padding: 100px 8%;
    background: var(--light-bg);
    text-align: center;
}

.hero-alt {
    padding: 120px 8%;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--accent-bg) 100%);
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.hero h1, .hero-alt h1 {
    font-size: 3rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Layout & Grid */
.section {
    padding: 80px 8%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-8px);
}

.card-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Typography */
h2 {
    font-size: 2.25rem;
    color: var(--heading-color);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.25rem;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.btn-round {
    border-radius: 50px;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 4rem 8%;
    text-align: center;
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1, .hero-alt h1 { font-size: 2.2rem; }
    .section { padding: 60px 5%; }
    .navbar { padding: 1rem 5%; }
}
