body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
}

/* HERO */
.hero {
    background-image:
        linear-gradient(
            rgba(10,20,40,0.75),
            rgba(10,20,40,0.75)
        ),
        url("img/hero.jpg");

    background-size: cover;
    background-position: center;
    height: 80vh;

    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 1200px;
    padding: 40px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

.hero-buttons a {
    padding: 12px 24px;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.btn-primary {
    background-color: #1e88e5;
    color: white;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
}
.services {
    background: white;
    padding: 60px 20px;
    text-align: center;
}

.service-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.box {
    background: #f4f6f8;
    padding: 30px;
    border-radius: 8px;
}

@media (max-width: 768px) {

    .hero {
        height: auto;
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons a {
        display: block;
        margin-bottom: 10px;
        width: fit-content;
    }

}
.box {
    background: #f4f6f8;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
footer a {
    color: #1e88e5;
    text-decoration: none;
    font-weight: bold;
}
.lang {
    display: none;
}

.lang.fi {
    display: block;
}

/* Keele nupud */
.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

/* M천lemad nupud sinised */
.btn.primary,
.btn.secondary {
    background-color: #1e90ff;
    color: white;
}

/* Hover efekt */
.btn.primary:hover,
.btn.secondary:hover {
    background-color: #1876d1;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

/* Mõlemad nupud sinised */
.btn.primary,
.btn.secondary {
    background-color: #1e90ff;
    color: white;
}

/* Hover efekt */
.btn.primary:hover,
.btn.secondary:hover {
    background-color: #1876d1;
}
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

/* Mõlemad nupud sinised */
.btn.primary,
.btn.secondary {
    background-color: #1e90ff;
    color: white;
}

/* Hover efekt */
.btn.primary:hover,
.btn.secondary:hover {
    background-color: #1876d1;
}
   /* GALERII */
.gallery {
    background: #f7f7f7;
    padding: 80px 40px;
}

.gallery h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.gallery-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;

    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
.footer {
  background: #0b1a2b;
  color: #ffffff;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: auto;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer h3 {
  margin-bottom: 10px;
}

.footer a {
  color: #4da3ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}
/* ===== GALERII KLIKITAV ===== */

.gallery-grid img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* LIGHTBOX */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
}

#close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
}

#close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 10%;
    background: #f5f5f5;
}

.about-text h2 {
    margin-bottom: 15px;
}

.about-stats {
    display: flex;
    gap: 30px;
}

.stat {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    flex: 1;
}

.stat strong {
    display: block;
    font-size: 28px;
    color: #0a66c2;
}
/* ===== TIETOA MEISTÄ ===== */
.about {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Numbrid üksteise alla */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.about-stats .stat {
    font-size: 18px;
    font-weight: 600;
}
/* ===== TIETOA MEISTÄ ===== */
.about {
    max-width: 900px;
    margin: 100px auto;
    text-align: center;
}

.about h2 {
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    flex-direction: column;   /* ⬅️ ÜKSTEISE ALLA */
    gap: 15px;
    align-items: center;
}

.stat {
    background: #f3f3f3;
    padding: 12px 20px;
    border-radius: 8px;
    width: fit-content;
}
/* ===== OTA YHTEYTTÄ ===== */
.contact {
    text-align: center;
    padding: 80px 20px;
}

.contact h2 {
    font-size: 36px;          /* SUUR PEALKIRI */
    font-weight: 800;         /* PAKS */
    margin-bottom: 30px;
}

.contact-item {
    font-size: 20px;          /* SUUR TEKST */
    font-weight: 600;         /* PAKSEM */
    margin: 12px 0;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Suur ja tugev nupp */
.contact-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    font-size: 20px;
    font-weight: 700;
}
