
       * {
    box-sizing: border-box;
}
       html {
            scroll-behavior: smooth;
        }

        html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;}

/* General */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #545051;
}

/* Header */
header {
    height: 475px;
    background-color: #111;
    color: rgba(156, 189, 189, 0.493);
    padding: 0px 80px;       /* mindre höjd */
    display: flex;             /* radlayout */
    align-items: center;       /* vertikalt centrerat */
    justify-content: space-between; 
    
}

/* Logga */
.logo {
    width: 300px;              /* justera storlek */
    animation: slideIn 2s ease-out forwards; /* animation från vänster */
}

/* Animation för logga */
@keyframes slideIn {
    from {
        transform: translateX(-1000px);
        opacity: 0;
    }
    to {
        transform: translateX(500px);
        opacity: 1;
    }
}

/* Texten till höger */
.header-text {
    margin-left: auto;         /* pushar texten till höger */
    text-align: right;         /* texten högerjusteras */
}

/* H1 och P */
.header-text h1 {
    font-family: 'Broadway', serif;
    color: #ffffff;
    margin: 0;
    font-size: 70px;
}

.header-text p {
    font-family: 'Candara', sans-serif;
    color: #b7b7b7;
    margin: 0;
    margin-top: -30px;     /*avståndet från h1*/
    font-size: 40px;
}
/* Sociala medier-ikoner */
.social-icons {
    margin-top: 10px;      /* avstånd från texten */
}

.social-icons a {
    color: white;
    font-size: 28px;
    margin-left: 15px;     /* mellan ikonerna */
    text-decoration: none;
    transition: 
        color 0.3s ease,
        transform 0.2s ease;
}

.social-icons a:hover {
    color: #ff0000;        /* hover-färg */
    transform: scale(1.2);
}

/* Navigation */
nav {
    background-color: #db0202;
    text-align: center;
    padding: 15px;
}


nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;

      background-color: #222;     /* knappfärg */
    padding: 12px 22px;         /* gör dem till rutor */
    border-radius: 25px;        /* rundade hörn */

    margin: 0 8px;
    display: inline-block;

    transition: 
        background-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


nav a:hover {
     background-color: #641010;   /* ny färg */
    transform: translateY(-3px); /* liten lyft-effekt */
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}
 
.intro-section {
   width: 100%;              /* hela skärmens bredd */
  background-color: #545051; /* grå */
    display: flex;
    justify-content: center;   /* centrerar innehållet */
    padding: 10px 0;

     min-height: 100vh;
    align-items: center;
}

.intro-inner {
   

       max-width: 1200px;   /* SAMMA som innan */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}


.intro-box {
    background-color: rgba(255, 255, 255, 0.703);  /*inforutan*/
    min-height: 520px;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

    opacity: 0;                 /* osynlig innan scroll */
    transition: opacity 1.4s ease-out, transform 1.4s ease-out;

 flex: 1;
max-width: 600px;
min-width: 420px;
    
}
  .text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    text-align: left;
     background: white;
     border-radius: 20px;
     box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  max-width: 600px;
}
.corner-logo {
  position: absolute;
  bottom:-50px;   /* istället för top */
  right: 10px;
  width: 160px;
  opacity: 0.5;   /* mer elegant */
}

.video-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* fyller rutan snyggt */
    border-radius: 15px;
}


.intro-box.show {
    opacity: 1;
    transform: translateX(0);
}



/* Video styling */
.video-box video {
    width: 100%;
    border-radius: 15px;
    
}


.intro-box {
    background-color: rgba(255, 255, 255, 0.703);
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);

    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;

    flex: 0 0 480px;
    height: 360px;
}

.from-left {
    transform: translateX(-300px);
}

.from-right {
    transform: translateX(300px);
}

.text-box {
      position: relative;  
    transform: translateX(-300px);   /* behåll för animation */
    display: flex;
    flex-direction: column;
    justify-content: center;

    background: white;
    padding: 60px;                  /* mer luft */
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);

    text-align: left;
    max-width: 600px;
}

.text-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 1px;
}


.text-box p {
   font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #555;  /* behåller luftig text utan att rubrik och text är för långt ifrån varandra */
}



.highlight {
    font-weight: 600;
}





/* Hero */
section:first-of-type {
    text-align: center;
}

button {
    background-color: #c2185b;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #a0154a;
}

/* Footer */
footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 15px;
}

/* Pricing section */
.pricing-section {
  background-color: #545051;
  padding: 40px 20px;
  text-align: center;
}

.pricing-section h2 {
  color: white;
  font-size: 50px;
  font-family: 'Candara', sans-serif;
 margin-bottom: 30px;
  padding-left: 85px;
  text-align: left;

}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-box {
  position: relative;
    z-index: 1;
  width: 320px;
  padding: 40px 30px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  overflow: hidden;
}

.pricing-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("loggasvart.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 290px;
  opacity: 0.15; /* GENOMSKINLIGHET */
  z-index: 0;
}


.pricing-box h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.pricing-box p {
  font-size: 16px;
  margin-bottom: 20px;
}

.pricing-box span {
  font-size: 22px;
  font-weight: bold;
  color: #c2185b;
}

@media (max-width: 900px) {

    .intro-inner {
        flex-direction: column;
        align-items: center;
    }

    .intro-box {
        max-width: 100%;
        min-width: unset;
        height: auto;
    }

    .text-box p {
        max-width: 100%;
    }
}

/* Classes section */
.classes-section {
    background-color: #545051;
    padding: 1px 20px;
    text-align: center;
}

.classes-section h2 {
    color: white;
    font-family: 'Candara', sans-serif;
    font-size: 50px;
    margin-bottom: 30px;
    text-align: right;
    padding-right: 85px;
}


.classes-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Class cards */
.class-card {
    position: relative;
    width: 320px;
    height: 460px;
    padding: 30px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    color: white;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Bakgrundsbild + opacity */
.class-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    opacity: 0.45; /* ← genomskinlighet */
    z-index: 0;
}

/* Mörk overlay för premium-look */
.class-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.1)
    );
    z-index: 0;
}

/* Text ovanpå */
.class-card h3,
.class-card p {
    position: relative;
    z-index: 1;
}

.class-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.class-card p {
    font-size: 16px;
    line-height: 1.5;
}

.why-amitalla {
  padding: 80px 20px;
  background: #545051; /* varm, lugn bakgrund */
}

.founder-wrap {
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.founder-img {
  width: 220px;
  height: auto;
}

.speech-bubble {
  background: white;
  padding: 30px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 40px;
  border-width: 10px 20px 10px 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.speech-bubble p {
  margin: 0;
  line-height: 1.6;
}

.reviews-section {
  padding: 50px 5%;
  background: #f8f6f4;
  text-align: center;
}

.reviews-section h2 {
  color: #545051;
  font-size: 50px;
  font-family: 'Candara', sans-serif;
 margin-bottom: 30px;
  text-align: center;
}

.reviews-viewport {
  overflow: hidden;
  max-width: 1100px;
  margin: auto;
}

.reviews-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.review-card {
  flex: 0 0 50%;
  padding: 5px;
  padding-top: -20px;
  box-sizing: border-box;
}

.review-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.review-card p {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.review-card span {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Mobil */
@media (max-width: 768px) {
  .review-card {
    flex: 0 0 100%;
  }
}

.video-showcase {
  padding-top: 100px 5%;
  background: #545051;
  text-align: right;
}

.video-showcase h2 {
  color: white;
  font-size: 50px;
  font-family: 'Candara', sans-serif;
 margin-bottom: 30px;
  padding-left: 85px;
  text-align: left;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.video-card:hover img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  font-size: 3rem;
  color: white;
}

/* Mobil */
@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.modal-content h3 {
  margin-bottom: 25px;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
}

.modal-content button {
  width: 100%;
  padding: 14px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
}

.close {
  position: absolute;
  right: 25px;
  top: 20px;
  font-size: 24px;
  cursor: pointer;
}

.small-text {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.cta-section {
    background: #545051;
    padding: 5px 20px 20px 20px; 
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: auto;
}

.cta-text {
    font-size: 35px;
    color: white;
    line-height: 0.2;
    margin-bottom: 30px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.cta-text .highlight {
    font-weight: 900;

    background: linear-gradient(135deg, #db0202, #600101);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    -webkit-text-stroke: 1px #2c0202;
}

.cta-button {
    background: linear-gradient(135deg, #db0202, #600101);
    color: white;
    border: none;
    padding: 18px 120px;
    font-size: 18px;
    border-radius: 50px;   /* avlång */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}