/* Main Styles */
:root {
    --bg-color: #242434;
    --bg-color-light: #2f2f44;
    --highlight-color: #3B82F6;
    --highlight-hover: #2563eb;
    --text-color: #ffffff;
    --text-muted: #A6A6C4; /* Previously: #a0a0c0; */
    --border-color: #A6A6C4; /* Alternatively: (darker) #3a3a50 */
    --card-bg:  #3B3B55;/*  Alternatively: (darker) #3B3B55; (lighter) #44445c; */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.favicon {
    border-radius: 10px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.light-bg {
    background-color: var(--bg-color-light);
}

.dark-bg {
    background-color: var(--bg-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--highlight-color);
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--highlight-hover);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    border-color: var(--highlight-color);
    color: white;
    font-weight: 500;
    border-radius: 5px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #3B82F6, #1d4ed8);
    border-color: var(--highlight-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-navbar {
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    border-color: var(--highlight-color);
    color: white;
    font-weight: 500;
    border-radius: 5px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s;
}

.btn-navbar.active, .btn-navbar:hover {
    background: linear-gradient(90deg, #3B82F6, #1d4ed8);
    border-color: var(--highlight-hover);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Navbar */
.navbar {
    background-color: rgba(36, 36, 52, 0.95);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
}

.logo-img {
    height: 25px;
    width: auto;
}


.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 0.8rem;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--highlight-color);
}

.navbar-nav .nav-link.active {
    color: var(--highlight-color);
}

.navbar-nav .nav-link.btn {
    color: white;
    margin-left: 1rem;
    padding: 0.5rem 1.2rem;
}

.navbar-nav .nav-link.btn:hover {
    color: white;
    background-color: var(--highlight-hover);
}

.nav-link:focus-visible {
    outline: 2px solid #007bff; /* Kolor obramowania przy focusie */
    outline-offset: 2px; /* Odstęp między ikoną a obramowaniem */
    border-radius: 4px; /* Opcjonalnie — lekko zaokrąglone rogi */
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
#hero {
    background-color: var(--bg-color);
    min-height: 100vh;
    padding-top: 120px;
    background-image: 
        radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

#hero h1 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

#hero h2 {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease-out;
}

#hero h3 {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    animation: fadeInUp 2s ease-out;
}

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

/* Services Section */
#services {
    padding: 100px 0;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card .icon-container {
    font-size: 2rem;
    color: var(--highlight-color);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-card .btn {
    margin-top: auto;
}

/* Who This Is For Section */
#who-for {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.audience-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--highlight-color);
}

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

.audience-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.audience-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio Section */
#portfolio {
    padding: 100px 0;
}

.portfolio-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.portfolio-preview {
    padding: 1.5rem;
    padding-top: 0;
}

.browser-mockup {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #2f2f44;
}

.browser-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #1a1a24;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.browser-dots {
    display: flex;
    align-items: center;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.browser-dots span:nth-child(1) {
    background-color: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background-color: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background-color: #28ca41;
}

.browser-address {
    flex-grow: 1;
    margin-left: 15px;
    padding: 4px 10px;
    background-color: #111118;
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
}

.browser-content {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.website-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-color);
}

.website-preview:hover {
    transform: scale(1.02);
}

.preview-content {
    text-align: center;
    padding: 20px;
    max-width: 80%;
}

.preview-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.preview-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.preview-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.preview-btn {
    background-color: var(--highlight-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.preview-btn:hover {
    background-color: var(--highlight-hover);
    color: white;
}

.preview-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.preview-categories span {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--highlight-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.preview-gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.preview-thumbnail {
    width: 50px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.preview-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.preview-service {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--highlight-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* FAQ Section */
#faq {
    padding: 100px 0;
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    /* In case there is a need for border top in every element: border-top: 1px solid var(--border-color) !important; */
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--card-bg);
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--card-bg);
    color: var(--highlight-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233B82F6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: var(--card-bg);
    color: var(--text-muted);
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact Section */
#contact {
    padding: 100px 0;
}

.contact-form-container {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    padding: 0.8rem 1.2rem;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    background-color: var(--bg-color);
    border-color: var(--highlight-color);
    color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Phone fields alignment */
.country-code-container {
    flex: 0 0 80px;
    margin-right: 12px;
}

.phone-number-container {
    flex: 1;
}

@media (max-width: 767.98px) {
    .phone-fields-container {
        flex-direction: column;
    }
    
    .country-code-container {
        flex: 1 1 auto;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Footer */
footer {
    background-color: #1a1a24;
    color: var(--text-muted);
    padding: 20px 0;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--highlight-color);
    transform: translateY(-3px);
}

#privacy-policy-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#privacy-policy-link:hover {
  color: var(--highlight-hover);
}

.privacy-policy-container {
  position: relative;
  align-items: center;
  margin: 150px 50px 50px 50px;
  }

#privacy-policy-header {
  color: var(--);
  font-size: 30px;
  margin-bottom: 30px;
}

.privacy-policy-container h2 {
  font-size: 24px;
  }

#blog-link {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Video Container */
.video-container {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-embed {
    width: 100%;
    height: 100%;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-play-button {
    all: unset; /* Reset all styles */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    width: fit-content;
    height: fit-content;
}

.video-play-button:focus {
    outline: 2px solid #007bff; /* Kolor obramowania przy focusie */
    outline-offset: 2px; /* Odstęp między ikoną a obramowaniem */
    border-radius: 4px; /* Opcjonalnie — lekko zaokrąglone rogi */
}


.video-placeholder i {
    font-size: 3.5rem;
    color: var(--highlight-color);
    display: block;
}

.video-placeholder span {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 10px;
}

/* About Section */
#about {
    padding: 100px 0;
    position: relative;
}

.section-title-underline {
    width: 50px;
    height: 3px;
    background-color: var(--highlight-color);
    border-radius: 3px;
}

.section-title.text-start:after {
    left: 0;
    transform: translateX(0);
}

.about-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-h5 {
    font-weight: 500;
}

.about-image-container {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 350px;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    background-image: 
        radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.about-image-content {
    text-align: center;
}

.about-image-content i {
    font-size: 5rem;
    color: var(--highlight-color);
}

.about-stats {
    margin-top: 30px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--highlight-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Portfolio Card */
.portfolio-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-card-image {
    height: 250px;
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: auto;
    display: block;
}


.portfolio-card-body {
    padding: 1.5rem;
}

.portfolio-card-body h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.portfolio-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.portfolio-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-card-tags span {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--highlight-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.portfolio-card a {
    margin-left: 24px;
}

/* Testimonials */
.testimonial-container {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-item {
    text-align: center;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-content p::before {
    content: """;
    font-size: 3rem;
    color: var(--highlight-color);
    position: absolute;
    top: 1rem;
    left: 2rem;
    opacity: 0.2;
}

.testimonial-content p::after {
    content: """;
    font-size: 3rem;
    color: var(--highlight-color);
    position: absolute;
    bottom: 3rem;
    right: 2rem;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author-avatar {
    margin-right: 15px;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--highlight-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.testimonial-author-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author-info p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Coming Soon */
#coming-soon {
    background-color: var(--bg-color);
    padding-top: 6rem;
}

.coming-soon-content {
    background-color: var(--card-bg);
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.coming-soon-icon {
    font-size: 4rem;
    color: var(--highlight-color);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Form Controls and Alerts */
.form-control:focus {
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.alert {
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.alert-error, .alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--error-color);
}

.btn-outline-primary {
    color: var(--highlight-color);
    border-color: var(--highlight-color);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    color: white;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    border-color: var(--highlight-color);
    transform: translateY(-2px);
}

/* Media Queries */
@media (max-width: 991px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-nav .nav-link.btn {
        margin-left: 0;
        margin-top: 10px;
    }
    
    #hero .btn-primary {
        margin-bottom: 100px;
    }

    #hero .home-page-btn {
        margin-bottom: 10px;
    }
    
    #hero {
        padding-top: 200px;
        min-height: auto;
    }
    
    #hero h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    #hero h2 {
        font-size: 1.3rem;
    }
    
    #hero h3 {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card, .audience-card, .portfolio-item, .portfolio-card {
        margin-bottom: 20px;
    }
    
    .contact-form-container, .testimonial-container {
        padding: 2rem;
    }
    
    .video-container {
        height: 250px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .about-image-container {
        height: 250px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero h2 {
        font-size: 1.2rem;
    }
    
    #hero h3 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card, .audience-card, .portfolio-card {
        padding: 1.5rem;
    }

    .portfolio-card-container {
        margin-bottom: 1rem;
    }
    
    .contact-form-container, .testimonial-container {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .video-container {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    #hero {
        text-align: center;
    }
    
    #hero h1 {
        font-size: 1.9rem;
    }
    
    #hero h2 {
        font-size: 1.2rem;
    }
    
    #hero h3 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card, .audience-card, .portfolio-card {
        padding: 1.2rem;
    }
    
    .contact-form-container, .testimonial-container {
        padding: 1.2rem;
    }
    
    .video-container {
        height: 200px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
