* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
}


header {
    background: #111;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.head-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 20px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;
    font-size: 20px;
}

/* NAVIGATION */
nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: white;

    padding: 8px 12px;
    border-radius: 6px;

    transition: 0.3s;
}

nav a:hover {
    background: #e0e0e0;
    color: black;
}

/* BURGER BUTTON */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;

        position: absolute;
        top: 70px;
        right: 20px;

        flex-direction: column;

        background: #222;
        padding: 15px;
        border-radius: 10px;

        width: 220px;
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
    }
}


.hero {
    background: url('Inga.png');
    color: white;
    padding: 100px 0;
    text-align: center;
    background-size: cover; /* Keeps image proportional */
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* DARK OVERLAY */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55); /* adjust darkness */
    z-index: 1;
}

/* keep text above overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero h3{
    font-size: 22px;
}

.btn {
    background-color: #1e5eff;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    background-color: #0b3fd1;
    transform: translateY(-2px);
}

#services {
    padding: 60px 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Bottom Accent Line */
.card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: #1da1c2;
  transition: width 0.3s ease;
}

.card:hover::after {
  width: 100%;
}

/* Text transition (smooth color change if needed later) */
.card h3,
.card p {
  transition: color 0.3s ease;
}

#portfolio {
    padding: 60px 0;
    text-align: center;
}

#about {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

#contact {
    padding: 60px 0;
    text-align: center;
}

#book{
    padding: 60px 0;
    text-align: center;
}

#contact-form {
    max-width: 1000px;   /* controls how wide the form can get */
    margin: 0 auto;     /* centers it */
    padding: 20px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

form button {
    border: none;
    cursor: pointer;
}

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px 0;
    clear: both;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.logo strong {
    color: #00c6ff;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fade animation */
.fade {
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from {opacity: 0.4}
  to {opacity: 1}
}

/* Buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-size: 18px;
  background: rgba(0,0,0,0.5);
  border: none;
  transform: translateY(-50%);
}

.prev { left: 0; }
.next { right: 0; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

.social-icons {
    display: flex;
    justify-content: center; /* THIS centers the icons horizontally */
    align-items: center;
    gap: 15px;
    margin-top: 10px;
  
}

.social-icons a {
  text-decoration: none;
  font-size: 20px;
  color: white;
  background: #333;
  padding: 10px;
  border-radius: 30%;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #0077b5; /* Change color on hover */
  transform: scale(1.1);
}

html {
  scroll-behavior: smooth;
}

#scrollUpBtn {
  display: none; /* Hidden by default; JavaScript will show it */
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  background-color: #333;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
}

#scrollUpBtn:hover {
  background-color: #555;
}

.container button{
    color: black;
    font-size: large;
}
.container button:hover{
    text-decoration: underline;
}
