/*=================================================================
  GADU STYLE GARAGE - MAIN STYLESHEET
==================================================================*/

/*=== FONTS IMPORT ===*/
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700|Poppins:300,400,600,700);
@import url(https://fonts.googleapis.com/css?family=Hind:300,400,500,600,700);
@import url(https://fonts.googleapis.com/css?family=Playfair+Display:300,400,500,600,700);

/*=== VARIABLES (ZMIENNE KOLORYSTYCZNE) ===*/
:root {
  --primary-color: #f75757;
  --primary-hover: #dd0b0b;
  --dark-bg: #222328;
  --text-color: #555;
  --heading-color: #242424;
  --success-green: #25d366;
  --footer-dark: #111;
}

/*=== GLOBAL STYLES ===*/
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  line-height: 1.7;
  font-family: "Hind", sans-serif;
  font-size: 16px;
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--heading-color);
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; font-weight: 600; line-height: 42px; }
h3, .h3 { font-size: 1.5rem; }
h4, .h4 { font-size: 1.3rem; line-height: 30px; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

p { line-height: 30px; }

a { color: #242424; text-decoration: none; transition: all 0.3s ease; }
a:focus, a:hover { color: var(--primary-color); text-decoration: none; outline: none; }

ul { list-style: none; padding: 0; margin: 0; }

/*=== HELPER CLASSES ===*/
.text-color { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.mb-6 { margin-bottom: 4rem; }

/*=== BUTTONS ===*/
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 30px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn:focus { outline: 0px; box-shadow: none; }

.btn-main, .btn-transparent, .btn-small {
  background: var(--primary-color);
  color: #fff;
  border: none;
}

.btn-main:hover, .btn-transparent:hover, .btn-small:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-solid-border {
  border: 2px solid var(--primary-color);
  background: transparent;
  color: #242424;
}

.btn-solid-border:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-round-full { border-radius: 50px; }
.btn-circle { border-radius: 50%; width: 40px; height: 40px; padding: 0; line-height: 38px; text-align: center; }

/*=== HEADER & NAVIGATION (MODERN) ===*/

/* Nowoczesny Top Bar (zgodny z obrazkiem) */
.header-top-modern {
  background: #1a1a1a;
  color: #bbb;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-socials a {
  color: #888;
  margin-right: 15px;
  font-size: 16px;
  transition: color 0.3s;
}
.header-socials a:hover { color: var(--primary-color); }

.top-contact-link {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
}
.top-contact-link:hover { color: var(--primary-color); }

/* Sticky Navbar Styles */
#navbar {
  background: var(--dark-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  z-index: 1000;
  width: 100%;
}

.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

#navbar .nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #fff !important;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .5px;
  padding: 10px 15px;
  transition: all .25s ease;
}

#navbar .nav-link:hover, #navbar .nav-link:focus {
  color: var(--primary-color) !important;
}

.navbar-brand {
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
}

.navbar-toggler { color: #fff; border-color: rgba(255,255,255,0.1); }
.navbar-toggler .fa { font-size: 24px; }

/*=== SLIDER / HERO SECTION ===*/
.slider {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/bg/home-1.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  padding: 180px 0;
  position: relative;
  text-align: center;
}

.slider .block h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.slider .block p {
  color: #ddd;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 1px;
}

/*=== CTA BANNER (UMÓW SIĘ) ===*/
.cta-banner {
  box-shadow: 0 10px 30px rgba(247, 87, 87, 0.2);
  position: relative;
  z-index: 2;
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
}

/*=== B2B SECTION (RENT A PROFESSIONAL) ===*/
/* Styl inspirowany przesłanym zdjęciem */
.b2b-section {
  background-color: #fcfcfc;
  padding: 50px;
  border-left: 5px solid var(--heading-color); /* Ciemny pasek po lewej */
  border-radius: 4px;
}

.check-list {
    margin-top: 20px;
}

.check-list li {
  margin-bottom: 15px;
  list-style: none;
  position: relative;
  padding-left: 35px;
  font-size: 15px;
  color: #555;
}

.check-list li::before {
  content: '\f00c'; /* FontAwesome checkmark */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 18px;
}

.border-left-lg {
    border-left: 1px solid #eee;
}

/*=== CARDS & SERVICES ===*/
.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  height: 100%;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-bottom: 3px solid var(--primary-color);
}

.service-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

/*=== FOOTER (Biała główna + Ciemna dolna) ===*/
.footer-menu-modern li, .footer-contact-modern li {
    margin-bottom: 12px;
}

.footer-menu-modern a, .footer-contact-modern a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
}

.footer-menu-modern a:hover, .footer-contact-modern a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Stopka Dolna (Ciemna - Nowak Dev) */
.footer-bottom {
  background-color: var(--footer-dark);
  padding: 20px 0;
  border-top: 1px solid #222;
  color: #bbb;
  font-size: 0.9rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.footer-bottom p {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.separator {
  margin: 0 8px;
  opacity: 0.5;
}

/* Styl Podpisu */
.dev-link {
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  font-family: monospace, 'Courier New', sans-serif;
  font-size: 1rem;
  margin-left: 5px;
  letter-spacing: -0.5px;
}

.dev-link .bracket {
  color: #00e676;
  transition: color 0.3s ease;
}

.dev-link .dev-name {
  color: #ffffff;
  padding: 0 2px;
  transition: color 0.3s ease;
}

.dev-link:hover .bracket { color: #ffffff; }

.dev-link:hover .dev-name {
  color: #00e676;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

/*=== FLOATING ELEMENTS ===*/
.floating-phone {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--success-green);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: all 0.3s;
  animation: pulse 2s infinite;
}

.floating-phone:hover {
  color: white;
  transform: scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 35px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 5px;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 9998;
  transition: background 0.3s;
}

.scroll-top-btn:hover { background: #d03030; }

/*=== STATYSTYKI ===*/
.counter-item .counter-stat { font-size: 50px; }
.bg-counter {
  background: url("../images/bg/counter.jpg") no-repeat;
  background-size: cover;
}

/*=== FORMS ===*/
input[type="email"], input[type="password"], input[type="text"], input[type="tel"] {
  box-shadow: none;
  height: 45px;
  outline: none;
  font-size: 14px;
}
input[type="email"]:focus, input[type="password"]:focus, input[type="text"]:focus, input[type="tel"]:focus {
  box-shadow: none;
  border: 1px solid var(--primary-color);
}
.form-control:focus {
  box-shadow: none;
  border: 1px solid var(--primary-color);
}

/*=== MEDIA QUERIES ===*/
@media (max-width: 992px) {
    .border-left-lg { border-left: none; padding-left: 0; border-top: 1px solid #eee; padding-top: 20px; }
}

@media (max-width: 768px) {
  .slider .block h1 { font-size: 2rem; }
  .header-top-modern { text-align: center; }
  .header-socials, .top-contact-link { justify-content: center; margin-bottom: 5px; }
  .cta-banner { text-align: center; }
  .cta-banner .btn { width: 100%; margin-top: 15px; }
}

@media (max-width: 480px) {
  .footer-bottom { font-size: 0.8rem; }
  .footer-bottom p { flex-direction: column; gap: 2px; }
  .separator { display: none; }
  .slider { padding: 120px 0; }
}
/* Styl dla strzałki po LEWEJ stronie */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Pozycja z lewej strony */
    width: 50px;
    height: 50px;
    background-color: #f75757; /* Twój czerwony kolor */
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
    display: none; /* Skrypt JS go pokaże po przewinięciu */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.scroll-top-btn:hover {
    background-color: #222328; /* Zmiana koloru na ciemny po najechaniu */
    transform: scale(1.1);
}
/* Style dla Banera Cookies */
.cookie-overlay {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 900px;
    background-color: #222328; /* Ciemne tło strony */
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10000;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255,255,255,0.1);
}

.cookie-overlay.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 250px;
}

.cookie-icon {
    font-size: 40px;
    color: #f75757; /* Twój kolor czerwony */
}

.cookie-text h4 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 18px;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 14px;
    color: #bbb;
    line-height: 1.4;
}

.cookie-text a {
    color: #f75757;
    text-decoration: underline;
}

.btn-cookie-accept {
    background-color: #f75757;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background-color: #d03030;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content {
        flex-direction: column;
        gap: 10px;
    }
    .btn-cookie-accept {
        width: 100%;
    }
}