/* Azerbaijan Visa Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Colors */
:root {
    --primary-color: #1CA9C9;
    --secondary-color: #0F2B46;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 1.6;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Header Styles */
.top-bar {
    background-color: var(--light-gray);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info {
    text-align: right;
    font-size: 14px;
    color: var(--text-color);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Logo Section */
.logo-section {
    padding: 20px 0;
    background-color: var(--white);
}

.logo {
    max-width: 300px;
    height: auto;
    max-height: 120px;
}

/* Navigation Menu */
.main-nav {
    background-color: var(--secondary-color);
    min-height: 60px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 15px 20px !important;
    transition: background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.navbar-toggler {
    border-color: var(--white);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: var(--secondary-color);
    border: none;
}

.dropdown-item {
    color: var(--white) !important;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Hero Section */
.hero-section {
    position: relative !important;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-section h1 {
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.hero-section .lead {
    color: var(--white) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-section .text-white {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Application Button - Pulsing Effect */
.btn-application {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    padding: 15px 35px;
    font-size: 18px;
    border-radius: 5px;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.btn-application:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    animation: none;
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(28, 169, 201, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(28, 169, 201, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(28, 169, 201, 0);
    }
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--light-gray);
}

.section-dark {
    background-color: var(--secondary-color);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--white);
}

/* Parallax Section */
.parallax-section {
    position: relative;
    min-height: 400px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 43, 70, 0.8);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.parallax-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-header {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 10px 10px 0 0 !important;
}

/* Icons */
.icon-large {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    display: block;
}

.icon-medium {
    font-size: 2em;
    color: var(--primary-color);
    margin-right: 10px;
}

.icon-small {
    font-size: 1em;
    color: var(--primary-color);
    margin-right: 5px;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table th {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.table td {
    border-color: var(--border-color);
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(28, 169, 201, 0.05);
}

/* Breadcrumbs */
.breadcrumb {
    background-color: var(--light-gray);
    border-radius: 0;
    margin-bottom: 0;
    padding: 15px 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.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.7);
}

/* Accordion */
.accordion-button {
    background-color: var(--light-gray);
    color: var(--text-color);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(28, 169, 201, 0.25);
}

/* Lists */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

.list-check li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.list-check li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

.img-responsive {
    width: 100%;
    height: auto;
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

/* Strong and Mark Tags */
strong {
    font-weight: 700;
    color: var(--secondary-color);
}

mark {
    background-color: rgba(28, 169, 201, 0.2);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .parallax-content h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .btn-application {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .parallax-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}
/* Napraw z-index dla hero sekcji - zapewnij że tekst jest nad overlay */
.hero-section .container {
    position: relative;
    z-index: 5;
}

.hero-section .row {
    position: relative;
    z-index: 5;
}

.hero-section .col-lg-8 {
    position: relative;
    z-index: 5;
}

.hero-section .text-center {
    position: relative;
    z-index: 5;
}

/* Dodatkowe zabezpieczenie dla wszystkich elementów tekstowych w hero */
.hero-section * {
    position: relative;
    z-index: 5;
}