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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    max-height: 80px;
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

/* About Section */
.about-section {
    padding: 2rem 0;
}

.about-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-card .icon-wrapper {
    margin: 0 auto 1.5rem;
}

.about-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-card .description {
    font-size: 1.25rem;
}

/* Info Section */
.info-section {
    padding: 2rem 0 3rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.info-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.address,
.description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item {
    margin: 0.75rem 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Map Section */
.map-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.8s ease-out 0.3s backwards;
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid #e5e7eb;
    margin-top: 4rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-card h2 {
        font-size: 1.5rem;
    }

    .about-card .description {
        font-size: 1.125rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 2rem;
    }

    .map-container iframe {
        height: 350px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .map-container iframe {
        display: none;
    }

    .map-container::after {
        content: "Vodovodna cesta 99a, 1000 Ljubljana";
        display: block;
        padding: 2rem;
        text-align: center;
        font-size: 1.125rem;
    }
}
