﻿/* Reset i bazowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: #fff;
    line-height: 1.6;
}

/* Ikony Font Awesome */
.fa {
    margin-right: 8px;
}

html {
    scroll-behavior: smooth;
}

.bg-hero {
    background: linear-gradient(to right, #3bb7ff, #00e6ff);
}

.shadow-lg-hover {
    transition: all 0.3s ease-in-out;
}

.shadow-lg-hover:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }


.logo-img {
  display: block;         /* odpowiada mx-auto */
  margin: 1.5rem auto;     /* mb-6 + centrowanie */
  width: 7rem;            /* odpowiada w-28 (7 * 16px = 112px) */
}

.logo-link {
  display: inline-block;
  transition: filter 0.3s ease;
}



.logo-link:hover {
  filter: brightness(1.3);
}



/* Pasek nawigacyjny */
.navbar {
    background: linear-gradient(to right, #007cf0, #00dfd8); /* NIEBIESKI GRADIENT */
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .navbar a {
        color: #ffffff;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .navbar a:hover {
            color: #00e0ff !important;
        }



.navbar .logo {
        display: flex;
        align-items: center;
    }

.navbar .logo img {
            height: 50px;
            margin-right: 10px;
        }

.navbar ul {
        display: flex;
        list-style: none;
    }

.navbar ul li {
            margin-left: 30px;
        }

.navbar ul li a {
                color: #fff;
                text-decoration: none;
                font-weight: 500;
                transition: color 0.3s;
            }

.navbar ul li a:hover {
                    color: #00e0ff;
                }

.text-4xl {
    font-size: 3.25rem;
}

.rotate-phone {
    transform: rotate(120deg);
}



#mobile-menu a {
    padding: 0.5rem 0;
    text-align: left;
}



@media (max-width: 640px) {
  .custom-title {
    font-size: 1.25rem;
  }
}



    /* Sekcje */
    section {
    padding: 70px 40px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transition: background 0.5s ease;
}

    section:nth-child(even) {
        background: #ffffff;
    }

h1, h2 {    
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;

}

p {
    max-width: 600px;
    margin: 0 auto; 
}
.btn-orange {
    background-color: #f97316; /* Tailwind's bg-orange-500 */
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

    .btn-orange:hover {
        background-color: #ea580c; /* Tailwind's bg-orange-600 */
    }

/* Przycisk przewijania */
.scroll-down {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00e0ff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s;
}

    .scroll-down:hover {
        background: #00c4d6;
    }

/* Stopka */
footer {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    padding: 60px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #fff;
}

    footer .footer-section {
        flex: 1 1 200px;
        margin-bottom: 30px;
    }

    footer h3 {
        margin-bottom: 20px;
    }

    footer ul {
        list-style: none;
    }

        footer ul li {
            margin-bottom: 10px;
        }

            footer ul li a {
                color: #fff;
                text-decoration: none;
                transition: color 0.3s;
            }

                footer ul li a:hover {
                    color: #00e0ff;
                }

    footer .copyright {
        width: 100%;
        text-align: center;
        margin-top: 30px;
        border-top: 1px solid #ffffff20;
        padding-top: 20px;
        font-size: 14px;
        color: #ccc;
    }

/* Responsive for mobile */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }


    .navbar .hidden.md\:flex {
        display: none;
    }
}

@media (max-width: 768px) {
  #mobile-menu {
    position: fixed;
    top: 1rem;
    left: 0;
    z-index: 50;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}
     

  #overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 40;
  }

 }



#projects-carousel {
  width: 300vw; /* 3 kafelki po 100vw każdy */
  display: flex;
  transition: transform 0.5s ease-in-out;
  transform: translateX(0); /* bardzo ważne */
}

.project-tile {
    flex-shrink: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 2rem;
  background-color: white;
  color: #1a202c;

  display: flex;
  flex-direction: column;
  align-items: center;     /* Wyśrodkowanie w poziomie */
  justify-content: center; /* Wyśrodkowanie w pionie */
  text-align: center;
}

.section-carousel {
  padding: 0 !important;
  display: block !important;
  text-align: initial !important;
  flex-direction: unset !important;
  align-items: unset !important;
  justify-content: unset !important;
}

.project-tile img {
  max-height: 7rem;
  object-fit: contain;
}

.project-tile .divider {
  height: 3rem;
  border-left: 2px solid #ccc;
}