:root {
    --primary-color: #00BFFF; /* Neon Blue */
    --text-color: #1A1A1A;
    --bg-color: #FFFFFF;
    --secondary-button-color: #EFEFEF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-top: 0;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

section {
    padding: 60px 20px;
}

/* Header & Navigation */

.footer-link {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #555; /* Lighter black/gray on hover */
    text-decoration: none; /* Ensures no underline on hover */
}

header {
    background-color: var(--bg-color);
    padding: 15px 40px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.video-container {
  width: 100%;          /* Fill the parent container width */
  max-width: 320px;     /* Max width for phone-size */
  aspect-ratio: 9 / 16; /* Keep 9:16 aspect ratio */
  overflow: hidden;
  border-radius: 12px;  /* Optional: rounded corners */
  background-color: #000; /* Black background as fallback */
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the container area */
  display: block;
  border-radius: 12px; /* Match container radius */
}

.logo-text {
  font-weight: 900;
  font-size: 1.5rem;
  color: rgb(0, 0, 0); /* or your preferred color */
}

.cta-button-nav {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.cta-button-nav:hover {
    background-color: #ffffff;
}

/* CSS */

.newsletter-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.newsletter-popup.show {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

#newsletterEmail {
  width: 100%;
  padding: 0.8rem;
  margin-top: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#submitEmail {
  margin-top: 1rem;
  padding: 0.8rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
}

#submitEmail:hover {
  background-color: #198fb6;
}

/* Buttons */
.cta-button, .cta-button-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.cta-button:hover {
    background-color: #0099cc;
    transform: translateY(-3px);
}

.cta-button-secondary {
    background-color: var(--secondary-button-color);
    color: var(--text-color);
    border: 1px solid #ddd;
}

.cta-button-secondary:hover {
    background-color: #ddd;
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px; /* Increased gap between video and text */
    padding: 80px 100px; /* Top/bottom and side padding */
    flex-wrap: wrap; /* Makes it responsive on smaller screens */
}

#hero .hero-image {
    flex: 1;
    max-width: 500px; /* Optional: control video/image width */
}

#hero .hero-content {
    flex: 1.2;
    max-width: 600px;
    padding-left: 40px; /* Adds space between text and video */
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}



/* Services & Why Us */
.services-container, .why-us-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.service-item, .why-us-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    flex: 1;
}

#services .cta-button-secondary {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
}

/* Process Section */
#process {
    background-color: #f9f9f9;
}

.process-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.process-step {
    flex-basis: calc(25% - 20px);
    text-align: center;
    padding: 20px;
}

.process-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Important Note Section */
#important-note {
    background-color: #f9f9f9;
    text-align: center;
}

.note-container {
    max-width: 800px;
    margin: 0 auto;
}

.note-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
}

/* slider code */

#process-slider {
    background-color: #f9f9f9;
    font-family: 'Inter', sans-serif;
    padding: 40px 20px;
    text-align: center;
}

#process-slider h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 3rem;
    color: var(#1A1A1A);
    padding: 30px;
    transition: transform 0.2s ease;
    scale: 3;
}

.arrow-btn:hover {
    transform: scale(1.1);
    opacity: 70%;
}

.step-display {
    flex: 1;
    max-width: 600px;
    padding: 30px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-display .process-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-display h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-display p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}



/* Why Not DIY Section */
#why-not-diy {
    background-color: #fff;
    text-align: center;
}

.diy-container {
    max-width: 800px;
    margin: 0 auto;
}

.diy-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}


/* Pricing Section */
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex-basis: calc(50% - 40px); /* Two columns with gap */
    min-width: 300px;
    margin-bottom: 30px;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    border-width: 2px;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-card h4 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 10px 0;
}

.pricing-card .contract {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-card ul li {
    margin-bottom: 10px;
}

/* New: Aloituspaketti styling */
.pricing-card.limited-offer {
    border: 2px solid rgb(255, 0, 0);
    position: relative;
}

/* Top black badge */
.limited-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(255, 0, 0);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Old price with red overline */
.price-original {
    text-decoration: line-through;
    text-decoration-color: red;
    color: #888;
    font-size: 1.2rem;
}

/* Discount message */
.discount-label {
    font-size: 0.9rem;
    color: red;
    margin-top: 5px;
    font-weight: bold;
}

/* New discounted price */
.discounted-price {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 10px 0;
}


/* evästeet */

.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  color: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10000;
  max-width: 90%;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.cookie-consent p {
  margin: 0;
  flex-grow: 1;
}

.cookie-consent button {
  background-color: var(--primary-color, #007BFF);
  border: none;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.cookie-consent button:hover {
  background-color: #0056b3;
}

@media (max-width: 1024px) {
  #hero {
    flex-direction: row;
    padding: 60px 40px;
  }

  h2 {
    font-size: 2.5rem;
  }

  .cta-button, .cta-button-secondary {
    width: auto;
    padding: 14px 30px;
  }

  .cookie-consent {
    padding: 20px 30px;
    font-size: 1rem;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .cookie-consent button {
    padding: 12px 22px;
    font-size: 1.05rem;
  }

  #pricing h2 {
    font-size: 2.25rem;
  }

  .pricing-card {
    padding: 2rem;
  }
}

}

/* Tablet: 481px - 768px */
@media (max-width: 768px) {
  .video-container {
    max-width: 280px;
    margin: 0 auto;
  }
  h2 {
    font-size: 2rem;
  }

  #hero {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    min-height: auto;
  }

  #hero .hero-content {
    max-width: 100%;
  }

  .cta-button, .cta-button-secondary {
    width: 100%;
    padding: 12px 0;
  }

  .services-container,
  .why-us-container,
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    max-width: 90%;
    padding: 1.5rem;
    font-size: 0.95rem;
  }

  #pricing h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .cookie-consent {
    padding: 15px 20px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    gap: 12px;
  }

  .cookie-consent button {
    padding: 10px 18px;
    font-size: 1rem;
  }
}
/* Mobile: 0 - 480px */
@media (max-width: 480px) {
  .video-container {
    max-width: 180px;
    margin: 0 auto;
  }
  h2 {
    font-size: 1.8rem;
  }

  .cta-button,
  .cta-button-secondary {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }

  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
    padding: 15px 16px;
  }

  .cookie-consent p {
    width: 100%;
    font-size: 0.95rem;
  }

  .cookie-consent button {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
  }

  #pricing {
    padding: 0 16px;
  }

  #pricing h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }

  .pricing-card {
    max-width: 100%;
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 1.8rem 1rem 1.2rem; /* extra top padding for badges */
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    position: relative;
  }

  .pricing-card h3 {
    font-size: 1.25rem;
    margin-top: 0.5rem;
  }

  .pricing-card h4 {
    font-size: 1.1rem;
  }

  .pricing-card ul {
    padding-left: 1rem;
  }

  /* Popular badge adjustments */
  .popular-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
  }

  .pricing-card.popular {
    position: relative;
    padding-top: 1.8rem;
  }

  /* Limited badge adjustments */
  .limited-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    top: -10px;
    white-space: nowrap;
    max-width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }

  .pricing-card.limited-offer {
    position: relative;
    padding-top: 1.8rem;
  }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.faq-item h4 {
    margin-bottom: 10px;
}

/* Contact Section */
#contact {
    text-align: center;
}

#contact form {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact input, #contact textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

#contact button {
    cursor: pointer;
}

.contact-links {
    margin-top: 20px;
}

.contact-links a {
    margin: 0 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.contact-form-container {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
}

.contact-form-container h3 {
    margin-bottom: 20px;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}


/* FOOTER */
footer { 
  background-color: #f9f9f9; 
  text-align: center; 
  padding: 20px; 
  margin-top: 40px;
  position:relative;
}
.social-img img{
  position: relative;
  max-height: 50px;
  max-width: 50px;
  margin-right: 10px;
  margin-top: 10px;
}