/* =====================
   GlobÃƒâ€žÃ‚Âlie stili
===================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

div, p, input, button, form, a, ul, li {
    box-sizing: inherit;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

/* =====================
   Virsraksti
===================== */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: bold;
    text-align: center;
}

h1 {
    font-size: 56px;
    color: #111111;
    line-height: 100%;
    letter-spacing: 0.15em;
}

h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

p {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}



/* =====================
   Header
===================== */
/* Header ar fona attÃ„â€œlu */
/* Header ar fona attÃ„â€œlu */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("/image/header-foto.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* NavigÃ„Âcija desktop */
.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}
/* PasvÄ«trojuma regulÄcija */
.main-nav a {
    color: white;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    text-decoration: none; /* bez pasvÄ«trojuma sÄkumÄ */
}

.main-nav a:hover {
    text-decoration: underline; /* parÄdÄs tikai, kad uzbrauc ar peli */
}
/* PasvÄ«trojuma regulÄcija beidzas */

.logo-link img {
    height: 60px;
    width: auto;
    display: block;
}

/* Hamburger poga Ã¢â‚¬â€œ sÃ„ÂkumÃ„Â slÃ„â€œpta */
.hamburger {
    display: none;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1200;
}
.hamburger span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-active span:nth-child(1) {
    top: 21px; transform: rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    top: 21px; transform: rotate(-45deg);
}

/* MobilÃ„Â versija */
@media (max-width: 900px) {
    .hamburger { display: block; }

    .main-nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        flex-direction: column;
        justify-content: flex-start; /* augÃ…Â¡Ã„Â */
        align-items: center;
        gap: 15px;
        background: rgba(2, 79, 9, 0.85);
        backdrop-filter: blur(4px);
        transition: right .3s ease;
        padding-top: 100px; /* vieta virs pirmajiem punktiem */
        overflow-y: auto; /* lai var ritinÃ„Ât, ja ir daudz punktu */
    }

    .main-nav.open ul {
        right: 0;
    }

    /* Saites */
    .main-nav a {
        font-size: 18px;
        color: white;
        padding: 6px 8px;
    }

    /* Logo mobilajÃ„Â Ã¢â‚¬â€ centrÃ„â€œts starp punktiem, nevis augÃ…Â¡Ã„Â */
    .logo-link {
        order: 5; /* piemÃ„â€œram vidÃ…Â« Ã¢â‚¬â€ maini kÃ„Â patÃ„Â«k */
    }

    /* JAUNUMI vienmÃ„â€œr pirmais */
    .main-nav ul li:first-child {
        order: 1;
    }

    .logo-link img {
        height: 80px;
    }

    body.no-scroll {
        overflow: hidden;
    }
}



/* =====================
   Saturs un sekcijas
===================== */

/* PelÃ„â€œks fons tikai vidusdaÃ„Â¼ai */
/* PelÃ„â€œkais fons pa visu ekrÃ„Ânu */
/* PelÃ„â€œks fons pa visu ekrÃ„Ânu */
main {
    background-color: #d5d5d5;
    min-height: 100vh;
    margin-top: 80px; /* vieta fiksÃ„â€œtajam header */
}

/* Saturs iekÃ…Â¡Ã„Â */
main .container {
    max-width: 1200px;  /* liels ekrÃ„Âns */
    margin: 0 auto;     /* centrÃ„â€œts */
    padding: 20px;      /* atkÃ„Âpe no malÃ„Âm */
}

/* Sekcijas atdalÃ„Â«tas */
main section {
    margin-top: 20px;
    margin-bottom: 20px;
}
/* Ul saraksti*/
.ul-saraksts {
    margin-top: 20px;
  background-color: #eefbee;
  border-left: 4px solid #4caf50;
  padding: 1em;
}
/* Ul saraksti*/


/* ============================= */
/* ResponsivitÃ„Âte                */
/* ============================= */

/* PlanÃ…Â¡etes */
@media (max-width: 1024px) {
    main .container {
        max-width: 900px;
        padding: 15px;
    }
}

/* Mobilie */
@media (max-width: 600px) {
    main .container {
        max-width: 100%;  /* pilna platuma */
        padding: 10px;    /* bet ar nelielu atkÃ„Âpi no malÃ„Âm */
    }
    main section {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

/* IekÃ…Â¡Ã„â€œjais saturs Ã¢â‚¬â€œ centrÃ„â€œts */




/* Foto sadaÃƒâ€žÃ‚Â¼as stils */
.foto {
    padding: 40px 20px;
}

.foto h2 {
    text-align: center;
    margin-bottom: 20px;
}


/* Pacelt "Cirgale" virsrakstu */
#cirgale h2 {
    padding-top: 20px;
    margin-top: 0;
   
}


.virsraksts{
  margin-top: 20px;
  margin-bottom: 20px;
  font:  #ffffff; }

.jaunumi {
  background-color: #959595;
}
.jaunumi h2,
.jaunumi h3 {
  color: white;
}


.adrese{
  margin-top: 30px;
}
.vadiba{
  margin-top: 10px;
  margin-bottom: 10px;
}
section {
    padding: 20px;
    background: #d5d5d5;
}

/* Sekciju centrÃƒâ€žÃ¢â‚¬Å“jums */
section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Teksta bloki */
.teksta-bloks {
    max-width: 800px;
    width: 100%;
    padding: 30px;
}

/* AttÃƒâ€žÃ¢â‚¬Å“lu izmÃƒâ€žÃ¢â‚¬Å“ri */
.container img.size {
    max-width: 800px;
    height: auto;
}

/* =====================
   Swiper - slaideris
===================== */
.swiper {
  width: 100%;
  max-width: 800px;
  height: auto !important; /* noÃƒâ€¦Ã¢â‚¬ em fiksÃƒâ€žÃ¢â‚¬Å“tos 500px */
  margin: auto;
}

.swiper-slide {
    text-align: center;
}


/* Foto sadaÃƒâ€žÃ‚Â¼as slaida saturs kolonnÃƒâ€žÃ‚Â */
/* KatrÃƒâ€žÃ‚Â slaidÃƒâ€žÃ‚Â bilde + virsraksts vertikÃƒâ€žÃ‚Âli */
.foto .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* lai bilde ir augÃƒâ€¦Ã‚Â¡Ãƒâ€žÃ‚Â */
  height: auto !important; /* atceÃƒâ€žÃ‚Â¼ Swiper fiksÃƒâ€žÃ¢â‚¬Å“to augstumu */
}

/* Bilde lai neaizklÃƒâ€žÃ‚Âj visu slaidu */
.foto .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Virsraksts */
.description2 {
  padding: 10px;
  background: #d5d5d5; /* puscaurspÃƒâ€žÃ‚Â«dÃƒâ€žÃ‚Â«gs melns fons */
  width: 100%;
}

.description2 h3 {
  color: rgb(0, 0, 0);
  text-align: center;
  margin: 0;
}



/* video kodi*/
iframe {
    width: 100%;
    height: 315px;
}

.description {
    padding: 10px;
}
.teksta-atkape {
  text-indent: 2em;   /* atkāpe pirmajai rindai */
  line-height: 1.4;   /* palielina rindstarpu, lai lasāmāk */
  text-align: justify; /* izlīdzina abās malās (pēc izvēles) */
}



/* Partneru sadaÃƒâ€žÃ‚Â¼as fons un noformÃƒâ€žÃ¢â‚¬Å“jums */
.partneri {
  background-color: #d5d5d5;
  padding: 30px 20px;
  text-align: center;
  color: white;
}

.partneri h2 {
  margin-bottom: 20px;
  font-size: 2em;
  color: rgb(0, 0, 0);
}

/* Flex layout visiem partneriem */
.partneri-container {
  display: flex;
  justify-content: center; /* CentrÃƒâ€žÃ¢â‚¬Å“ visus elementus */
  align-items: center;
  gap: 30px; /* Atstarpe starp logotipiem */
  flex-wrap: wrap; /* Ja nepiecieÃƒâ€¦Ã‚Â¡ams, logotipi pÃƒâ€žÃ‚Âriet uz nÃƒâ€žÃ‚Âkamo rindu uz mazÃƒâ€žÃ‚Âkiem ekrÃƒâ€žÃ‚Âniem */
}

/* Partnera bloks */
.sponsors1, .sponsors2, .sponsors3 {
  width: 150px; /* VienÃƒâ€žÃ‚Âds izmÃƒâ€žÃ¢â‚¬Å“rs visiem */
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d5d5d5;
  border-radius: 8px;
  padding: 10px;
}

/* Bildes ieliekas proporcijÃƒâ€žÃ‚Â */
.sponsors1 img, .sponsors2 img, .sponsors3 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* SaglabÃƒâ€žÃ‚Â logotipa proporciju */
}

/* MobilajÃƒâ€žÃ‚Âm ierÃƒâ€žÃ‚Â«cÃƒâ€žÃ¢â‚¬Å“m */
@media (max-width: 768px) {
  .sponsors1, .sponsors2, .sponsors3 {
    width: 120px;
    height: 80px;
  }
}

/* Set background image for the entire contact section */
/* Set background image for the entire contact section */
.kontakti {
    background-image: url('/image/kontakt-fons.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the background fixed when scrolling */
    padding: 50px 20px;
    color: white; /* Adjust text color for visibility */
}

.adrese {
     background-image: url('/image/kontakt-fons.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;  */
    background-color: rgba(0, 0, 0, 0.2); 
    padding: 20px;
    border-radius: 8px;
    color: white; /* Ensures text is readable on the background */
}

/* Heading styles */
.kontaktu-virsraksts {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Styling for paragraph and list items */


 .kontakti li, .adrese li {
    font-size: 1.3em; /* Increases font size */
    line-height: 1.4;
}
.kontakti p, .adrese p {
    font-size: 1.8em; /* Increases font size */
    line-height: 1.8;
}


/* Contact form block styling */
.contact-block {
    /*background-color: rgba(0, 0, 0, 0.5); /* Transparent black background for contrast */
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;  /* Allows items to wrap if necessary */
}

.form-row > div {
    flex: 1 1 30%;  /* Each input field takes up 30% of the width, with space in between */
    min-width: 250px; /* Prevents input fields from becoming too narrow */
}

label {
    font-size: 1.1em;
    margin-bottom: 5px;
    display: block;
}

input, textarea {
    padding: 10px;
    font-size: 1em;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    width: 100%;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

button {
    padding: 12px 20px;
    background-color: #5cb85c;
    color: white;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #4cae4c;
}

.vadiba p {
    font-size: 1.1em;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    font-size: 1.3em; /* Increases font size for list items */
    margin-bottom: 10px;
}

.vadiba {
  text-align: left;  /* Align text to the left */
  margin-left: 0;    /* Minimum margin from the left */
}


/* Beidzas kontakti sadaÃƒâ€žÃ‚Â¼a */



/* FOOTER sadaÃƒâ€žÃ‚Â¼a */
/* Footer container *//* Footer container */
footer {
    background: url("/image/header-foto.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
    text-align: center;
    z-index: 1000;
    background-attachment: fixed; /* NodroÃƒâ€¦Ã‚Â¡ina fona fiksÃƒâ€žÃ¢â‚¬Å“Ãƒâ€¦Ã‚Â¡anu, lai tas netiktu atkÃƒâ€žÃ‚Ârtots */
}

/* IekÃƒâ€¦Ã‚Â¡Ãƒâ€žÃ¢â‚¬Å“jiem elementiem nepieÃƒâ€¦Ã‚Â¡Ãƒâ€žÃ‚Â·ir fonu */
footer ul, footer li {
    background: none; /* NovÃƒâ€žÃ¢â‚¬Å“rÃƒâ€¦Ã‚Â¡ fona attÃƒâ€žÃ¢â‚¬Å“lu iekÃƒâ€¦Ã‚Â¡Ãƒâ€žÃ¢â‚¬Å“jiem elementiem */
}


/* List styles */
footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows wrapping on mobile */
}

footer li {
    margin: 10px 20px;
    font-size: 1.1em;
}

/* Make sure links are visible */
footer a {
    color: white; /* White text color for links */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* Add underline on hover for better interaction */
}

/* Responsive styles */
@media (max-width: 768px) {
    footer ul {
        flex-direction: column; /* Align items vertically on mobile */
        align-items: center;
    }
    footer li {
        margin: 5px 0; /* Reduce margin on mobile */
    }
}



/* =====================
   Responsivitate
===================== */
@media (max-width: 600px) {
    .hero { height: 300px; }
    .logo-wrap img { max-width: 140px; }
    .form-row { flex-direction: column; }
    .main-nav-fixed nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .navbar { flex-direction: column; }
    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .teksta-bloks, .container img.size {
        max-width: 100%;
    }
}
