/* --------------------------------------------------
   GLOBAL SETTINGS & VARIABLES
-------------------------------------------------- */
:root {
  --primary: #333;
  --accent: #f41717;
  --bg-light: #f1f1f1;
  --text-dark: #000;
  --card-radius: 6px;
}

.site-container {
  width: 85%;
  margin: 0 auto;
}

* {
  margin: 0 auto;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "Verdana", "Trebuchet MS", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background: var(--bg-light);
}

/* Smooth transitions for interactive elements */
a, .menu li, .topnav a, .card .gallery-wrapper{
  transition: all 0.25s ease;
}


/* --------------------------------------------------
   LINKS
-------------------------------------------------- */
a {
  text-decoration: none;
}

a.rubrika:link,
a.rubrika:visited,
a.rubrika:active {
  color: var(--text-dark);
}

a.rubrika:hover {
  color: var(--accent);
}


/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
.header {
  text-align: center;
  background: white;
  border-radius: 0px;
  overflow: hidden;
}

.header h1 {
  font-size: 50px;
  margin-bottom: 0.4em;
}

h4.hd {
  text-transform: uppercase;
}

.header img,
.footer img {
    display: block;
    width: 100%;
}

/* --------------------------------------------------
   IFRAME
-------------------------------------------------- */
iframe {
  max-width: 100%;
  display: block;
  margin: 20px auto;
}


/* --------------------------------------------------
   TOP NAVIGATION
-------------------------------------------------- */
.topnav {
  overflow: hidden;
  background-color: var(--primary);
/*border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px; */
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
}

.topnav a:hover {
  background-color: #555;
  color: #fff;
}

.topnav a.active {
  background-color: #4caf50;
  color: white;
}

.topnav .icon {
  display: none;
}


/* --------------------------------------------------
   COLUMNS
-------------------------------------------------- */
.leftcolumn {
  float: left;
  width: 72%;
  padding-right: 10px;
}

.rightcolumn {
  float: left;
  width: 28%;
  background-color: var(--bg-light);
  padding-left: 10px;
  padding-bottom: 25px;
}


/* --------------------------------------------------
   IMAGES
-------------------------------------------------- */
.image {
  max-width: 75%;
  display: block;
  margin: 0 auto;
}

.imageheader {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.imagekarjera {
  max-width: 50%;
  display: block;
  margin: 0 auto;
}

.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

.responsive {
  max-width: 150px;
  height: auto;
  float: left;
  padding: 10px;
  margin-right: 20px;
}

.responsive2 {
  max-width: 250px;
  height: auto;
  float: left;
  padding: 10px;
  margin-right: 20px;
}


/* --------------------------------------------------
   CARDS
-------------------------------------------------- */
.card {
  background-color: white;
  padding: 14px;
  margin-top: 25px;
  border-radius: var(--card-radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card h3 {
  text-align: left;
  margin-top: 10px;
}

.card img {
  display: block;
  margin: 0 auto;
}

.contact-card{
  margin-top: 15px;
}

/* --------------------------------------------------
   MENU
-------------------------------------------------- */
.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {  
  padding: 6px;
  margin-bottom: 7px;
  background-color: red;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  border-radius: 6px;
}

.menu li:hover {
  background-color: #b30000;
  transform: translateX(4px);
}

.menu a {
  color: #ffffff;
  text-decoration: none;
}

.menu li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 2px 0;
  
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.footer {
  background-color: var(--primary);
  color: #ffffff;
  padding: 20px 20px;
  margin-top: 20px;
  width: 100%;
  border-radius: 0px;
  clear: both;
  text-align: center;
}

/* Two columns */
.footer-columns {
  width: 100%;
  margin: 0 auto 10px auto;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* Left column */
.footer-left {
  flex: 1;
  min-width: 150px;
  text-align: left;
  margin-left: 20px;
}

.footer-left p {
  margin: 6px 0;
  font-size: 15px;
}

.footer-left i {
  color: #f41717;
  margin-right: 6px;
}

/* Right column */
.footer-right {
  flex: 1;
  min-width: 250px;
  text-align: right;
  margin-right: 20px;
}

/* Footer nav inline */
.footer-nav {
  display: flex;
  justify-content: flex-end; 
  flex-wrap: wrap;           
  gap: 10px 15px;            
}

.footer-link{
  margin-left: 0px;
  margin-right: 0px;
}

.footer-nav .footer-link {
  display: inline-block;
  color: #ffffff;
  font-size: 15px;
  text-decoration: none;
  transition: 0.25s ease;
  white-space: nowrap;       
}

.footer-nav .footer-link:hover {
  color: #f41717;
  transform: translateY(-2px);
}

/* Social icons */
.social-links {
  display: flex;
  justify-content: center;  /* Centers horizontally */
  align-items: center;      /* Centers vertically if needed */
  gap: 15px;                /* Slightly reduced gap for smaller icons */
  margin: 15px 0;           /* Consistent vertical spacing */
}

.social-links a {
  font-size: 24px;          /* Reduced from 28px to 22px */
  color: var(--bg-light);
  transition: 0.3s;
  display: inline-flex;     /* Ensures proper alignment */
  justify-content: center;  /* Centers icon within link */
  align-items: center;      /* Centers icon within link */
  width: 40px;              /* Optional: fixed width for perfect alignment */
  height: 40px;             /* Optional: fixed height for perfect alignment */
  text-decoration: none;    /* Remove any default underline */
  margin-left: 0px;
  margin-right: 0px;
}

/* Hover color*/
.fa-facebook:hover  { color: #1877F2; }
.fa-instagram:hover { color: #E4405F; }
.fa-youtube:hover   { color: #ff0633; }
.fa-tiktok:hover    {color: #000000}

/* Lower text */
.footer-bottom {
  font-size: 13px;
  opacity: 0.8;
}


/* --------------------------------------------------
   CALENDAR COMPONENT
-------------------------------------------------- */
.contentplan {
  width: 100%;
}

.contentplandata {
  width: 100%;
  min-height: 30px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contentdata {
  min-width: 35%;
  font-size: 0.9em;
  padding-right: 5px;
}

.contplanhead {
  width: 100%;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 2px solid black;
}

.contplanheaditem1 { width: 8%; }
.contplanheaditem2 { width: 35%; }
.contplanheaditem3 { width: 20%; }
.contplanheaditem4 { width: 37%; }

.itemllaiks {
  width: 100%;
  padding: 5px;
  border-bottom: 1px solid rgb(169, 157, 157);
}

.laiks {
  font-weight: 600;
  font-size: 0.9rem;
}

.contplansaturs {
  width: 100%;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid rgb(169, 157, 157);
}


/* --------------------------------------------------
   RESPONSIVE DESIGN
-------------------------------------------------- */
@media screen and (max-width: 800px) {
  .leftcolumn,
  .rightcolumn {
    width: 100%;
    padding: 0;
  }*/

  .topnav a:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .contentdata {
    font-size: 0.6em;
  }

  .contplanhead {
    display: none;
  }

  .contentplandata {
    border-bottom: 2px solid black;
  }

  .contplansaturs {
    flex-direction: column;
  }

  .contplanheaditem1,
  .contplanheaditem2,
  .contplanheaditem3,
  .contplanheaditem4 {
    width: 100%;
  }

  .itemllaiks {
    border: 0;
  }

  .site-container {
    float: none;
    width: 95%;
  }

}

@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}

