/* Main stylesheet for AMICOR website css/style.css*/
:root {
    --primary-color: #2c6ea3;
    --primary-dark: #1d5380;
    --primary-light: #4086bd;
    --secondary-color: #e74c3c;
    --accent-color: #2ecc71;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    width: 100%;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #c0392b;
    color: var(--white);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #27ae60;
    color: var(--white);
}

.btn-cta {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo img:hover {
    opacity: 0.9;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 15px !important;
    border-radius: var(--border-radius);
}

.btn-contact:hover {
    background-color: var(--primary-dark);
}

.btn-contact:after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    right: 10px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    bottom: -8px;
}

/* Hero section przygotowana pod JavaScript parallax */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    /* Usuwamy background, bo będzie dodawany przez JavaScript */
}

/* 
   Uwaga: Nie używamy tu ::before, ponieważ
   element tła będzie dodawany przez JavaScript
*/

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .motto {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Zmieniamy na dokładnie 2 kolumny */
    gap: 30px;
}


.feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}
/* Hours Info Section */
.hours-info {
    padding: 80px 0;
    background-color: var(--background-light);
}

.hours-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    text-align: center;
}

.hours {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.contact-info, .emergency-info {
    margin-top: 30px;
}

.contact-info p, .emergency-info p {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-info i, .emergency-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* fenx section */
.fenx-section{
    background-color: var(--white);
}
.fenx-p{
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

/* IKP Section */
.ikp-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.ikp-card {
    text-align: center;
    padding: 20px;
}

.ikp-card h2 {
    color: var(--white);
}

.ikp-card .btn {
    margin-top: 20px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--white);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cta-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cta-card h3 {
    margin-bottom: 15px;
}

.cta-card .btn {
    margin-top: 20px;
}

/* Footer */
.main-footer {
    background-color: #1a1a1a;
    color: #f9f9f9;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-contact h4{
    color: #5d99c9;
}
.footer-hours h4{
    color: #5d99c9;
}
.footer-links h4{
    color: #5d99c9;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-contact p, .footer-hours p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i, .footer-hours i {
    margin-right: 10px;
    color: var(--primary-light);
}

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

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

.footer-links a {
    color: #f9f9f9;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background-color: #333;
    color: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Section Spacing */
section {
    padding: 60px 0;
}

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(44, 110, 163, 0.9), rgba(44, 110, 163, 0.9));
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child):after {
    content: '/';
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: var(--white);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}