
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@200;300;400;500;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

.vscomp-ele {
    display: block!important;
    max-width: 100%!important;
    width: 100%;
}

.center {
    padding: 10px;
}

/* General Styles */
:root {
    --primary-color: #8b0000;
    --secondary-color: #10284b;
    --accent-color: #ff5722;
    --light-color: #f8f9fa;
    --dark-color: #050a14;
    --text-color: #333333;
    --border-radius: 8px;
    --box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--light-color);
    overflow-x: hidden;
}

/* Helpers */
.title-line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark-color) 0%, #350000 50%, var(--dark-color) 100%);
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(139,0,0,0.6) 100%);
    z-index: 1;
}

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

.hero-content {
    margin-bottom: 30px;
}

.hero-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.countdown-wrapper {
    margin: 30px 0;
}

#countdown {
    display: flex;
    gap: 20px;
}

.time-segment {
    background: rgba(255,255,255,0.2);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 80px;
}

.time-segment .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.time-segment .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.sponsor-bar {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sponsor-wrapper {
    text-align: center;
}

/* Events Section */
.events-section {
    background: white;
    padding: 80px 0;
}

.event-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card.featured {
    height: 400px;
    position: relative;
    color: white;
}

.card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.event-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    bottom: 0;
}

.event-card.featured .event-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.event-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.event-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.event-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.event-location, .event-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-card.small {
    background: white;
}

.event-card.small .card-img {
    height: 200px;
    object-fit: cover;
}

.event-card.small .card-body {
    padding: 20px;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(to right, var(--secondary-color), var(--dark-color));
    color: white;
}

.stat-box {
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255,255,255,0.05);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* About Section */
.about-section {
    background: white;
    padding: 80px 0;
}

.about-content {
    padding-right: 30px;
}

.subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.about-image img {
    max-width: 100%;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

/* Sponsors Section */
.sponsors-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.sponsor-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 40px;
}

.sponsor-card:hover {
    transform: translateY(-5px);
}

.sponsor-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.sponsor-image:hover img {
    transform: scale(1.02);
}

.sponsor-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.sponsor-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.sponsor-text p {
    margin-bottom: 15px;
}

/* Events Timeline */
.upcoming-events {
    background: white;
    padding: 80px 0;
}

.events-timeline {
    position: relative;
}

.event-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.event-item:hover {
    transform: translateY(-5px);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-date {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.event-description {
    font-size: 0.9rem;
    color: var(--text-color);
}

.event-action {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #700000; /* Ciemniejsza wersja --primary-color (#8b0000) */
    border-color: #700000;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Logo Container */
.logo-container {
    display: flex;
    overflow: hidden;
    background: #fff;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.brand-logo {
    flex: 0 0 auto;
    width: 20%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: var(--transition);
}

.brand-logo:hover {
    opacity: 1;
}

@keyframes slide {
    from { transform: translateX(0%); }
    to { transform: translateX(-100%); }
}

.animated-container {
    animation: slide 30s linear infinite;
    display: flex;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .time-segment {
        min-width: 60px;
    }
    
    .time-segment .number {
        font-size: 1.8rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .event-card.featured {
        height: 300px;
    }
    
    .event-item .row {
        flex-direction: column;
    }
    
    .event-image {
        max-height: 200px;
        overflow: hidden;
    }
    
    .event-action {
        padding: 0 20px 20px;
    }
    
    .sponsor-image {
        margin-bottom: 20px;
    }
    
    .stat-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    #countdown {
        gap: 10px;
    }
    
    .time-segment {
        padding: 10px;
        min-width: 50px;
    }
    
    .time-segment .number {
        font-size: 1.5rem;
    }
}
p 
{
	display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.top_menu
{
	padding-bottom: 2vh!important;
	padding-top: 2vh!important;
	color:##6b6b6b!important;
	background: white;
	
}
body 
{
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	background: #081224;
}
.logo img
{
max-height: 7vh;
}
.logo, .menu_div
{
}

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

.menu-items
{
	font-weight: 500;
	padding-right: 3%;
	color: #4A4A4A;
}
.home-start
{
	font-weight: 800;
	color: #d9082e;
}
.rejestracja
{
	padding:2vh;
	background: #d9082e;
	border-radius: 20px;
	color: white;
	font-weight: 700;
}
.baner-top
{
	background-image: url(/img/hero.png);
   height: 70vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}
.main-page
{


}
.zaw_prawa
{
	background: #262f3e;
	border-radius: 10px;
	box-shadow: 2px 49px 27px -44px rgba(0, 0, 0, 1);
}

.zaw_prawa p 
{
	color: #d9082e;
	font-weight: 300;
}
.zaw_lewa
{
	 display: flex;
    align-items: center;
}

.zaw_lewa h1
{
	color: white;
	font-weight: 600;
}
.zaw_lewa p 
{color: #d9082e;
	font-weight: 300;
}
.pd
{
	padding-left:3%;
	padding-right:3%;
}
.zaw_prawa h4
{
	color: white;
	font-weight: 600;
	font-size: 35px!important;
}
  #countdown {
    display: flex;
    justify-content: center;
    gap: 20px; /* Regulacja odstępów między segmentami */
  }

  .time-segment {
    text-align: center;
    color: white;
    margin-right: 2%;
  }

  .bst2
  {
  	color: white!important;
  	font-weight: 600!important;
  	font-size: 45px!important;
  }
  .bst 
  {
  	color: #d9082e;
	font-weight: 700;
  }
.licznik 
{
	 
    padding-left: 5%;
}
.zaw_prawa
{
	padding-top: 2%;
}
.motto
{
	background: white;
	padding-top: 1vh;
	padding-bottom: 1vh;
	color: #3D3D3D;
	text-align: center;
  align-items: center;
  margin-top: 5vh;
  border-radius: 10px;
  box-shadow: 2px 49px 27px -44px rgba(0, 0, 0, 1);
}
.motto i 
{
	font-size: 84px;
	color: #d9082e;
	font-weight: 700;

}
.bord 
{
	border-left: dashed 1px #DBDBDB;
	border-right: dashed 1px #DBDBDB;
}
.motto p 
{
	font-size: 14px;
	margin-top: 3vh;
	color: #747474;
}
.pds
{
	padding-left: 2%;
	padding-right: 2%;
}
.plakat img 
{
	max-width: 100%;
	border-radius: 10px;
	box-shadow: 2px 49px 27px -44px rgba(0, 0, 0, 1);
	margin-bottom: 3vh;

}
.pakaty_zawody
{
	margin-top: 3vh;
}

.plakat h3
{
	color: white;
	font-weight: 700;

}
.plakat h5
{
	color:#d9082e; 
}
.plakat p
{
	color: #9E9E9E;
	margin-bottom: 3vh;
}


.onas h1
{
	color: white;
	font-weight: 700;

}
.onas h3
{
	color:#d9082e; 
}
.onas p
{
	color: #9E9E9E;
	margin-bottom: 3vh;
	display: flex;
    align-items: center;
}
.onas
{
	margin-top: 3vh;
}
.onas-prawa
{
	text-align: center;
}
.onas-prawa img 
{
	max-width: 100%;
}
.onas-lewa
{
	padding-top: 3vh;
}
.sp-lewa img 
{
	max-width: 100%;
		border-bottom-left-radius: 10px;
	border-top-left-radius:10px ;
}
.sp-prawa
{
	padding-top: 3vh;
	background: #262f3e;
	border-bottom-right-radius: 10px;
	border-top-right-radius:10px ;
}

.sp-prawa h2
{
	color: white;
	font-weight: 700;

}
.sp-prawa h5
{
	color:#d9082e; 
}
.sp-prawa p
{
	color: #9E9E9E;
	
	display: flex;
    align-items: center;
}
.sponsor, .wydarzenia
{
	margin-top: 2vh;
}
.wyd
{
	padding-top: 1vh;
	padding-bottom: 1vh;
	background: white;
	border-radius: 10px;
	margin-bottom: 3vh;
}

.wyd_box img 
{
	max-width: 100%;
}
.sponsor_pasek img 

{
max-width: 100%;
}
.sponsor_pasek
{
	margin-bottom: 3vh;
}
.zaw_lewa img 
{
	max-width: 100%;
	border-radius: 10px;
}
.cent 
{
	text-align: center;
}
.zareje
{
	padding:1vh;
	background: #d9082e;
	border-radius: 20px;
	color: white!important;
	font-weight: 700;
	width: 35%;
	margin: 0 auto;
	margin-top: 3vh;
	text-align: center;
}
.box_rekestracja
{
	display: flex;
    align-items: center;
    justify-content: center; 
}
.wyd_box p
{
	font-size: 14px;
	color: #575757;
}
.wyd_box img 
{
	border-radius: 10px;
}
.wyd_box h3
{
	text-transform: uppercase;
}

@media screen and (max-width: 600px) {


.plakat, .pds, .sp-prawa
{
	margin-bottom: 5vh!important;
}

.sp-prawa
{
	padding-bottom: 5vh!important;
}


#totalCost
{
	margin-top: 1vh;
}
.zawody_plakat img 
{
	
	max-width: 90%;
	
	border-radius: 10px;
}
.zaw_prawa 
{
	min-height: 30vh;
}
}

.zawody_plakat img 
{
	
	max-height: 70vh;
	margin-left: 7%;
	border-radius: 10px;
}
#totalCost
{
	min-height: 44vh;

}
.wyslij
{
	background: #C42525!important;
	border-color: #EA4949!important;
	color: white!important;
	margin-top: 5%;
}

#totalCost h5
{
	color: #C42525;
}
.hiddes
{
	display: none;
}
a 
{
	text-decoration: none!important;
}
.wyd_box h3
{
	color: #464646;
}

/* Seba Gallery Styles */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item img {
    transition: all 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .seba-gallery {
        padding: 2rem 0;
    }
    
    .seba-gallery .row.g-3 {
        gap: 1rem !important;
    }
}

@media (max-width: 576px) {
    .seba-gallery .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}