/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.off {
  display: none !important;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    height: 100%;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

/* Background Image */

    background-image: url('images/nonna.jpg'); /* Nonna's image as background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the background fixed */
    height: 100vh;
}

/* Header - Fixed at the top */
header {
    background-color: rgba(248, 208, 3, 0.8); /* Semi-transparent yellow for better visibility */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    position: fixed; /* Fix header to the top */
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow to make the header stand out */
}

/* Adjust for the logo size */
header .logo img {
    width: 250px;
    position: fixed;
    top: 10px;
    left: 20px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    z-index: 999;
    position:relative;
}

header nav ul li a {
    font-size: 18px;
    z-index: 999;
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    /*padding-top: 80px !important;  Add padding-top to avoid overlap with fixed header */
}

.hero-content {
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    padding: 30px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .phone-btn {
    background-color: #f8d103;
    padding: 15px 30px;
    color: black;
    font-size: 18px;
    border-radius: 5px;
}

/* Services Section */
#services {
    text-align: center;
}

#services h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.services-list {
    justify-content: center;
    gap: 30px;
}

.service-item {
    background-color: rgba(2, 100, 172, 0.5);
    padding: 20px;
    margin: 30px;
    width: 275px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    color: #fff;
}

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

#contact h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links li a {
    font-size: 20px;
}

#contact p {
    font-size: 16px;
}

#contact a {
    color: #007bff;
}

.socials-icon{
    width: 50px;
}

/* Footer Section */
footer {
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent yellow for better visibility */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    position: fixed; /* Fix header to the top */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow to make the header stand out */
}

footer p {
    font-size: 14px;
}

/* Language Switcher - Floating Buttons */
.language-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

 .language-switcher button {
    padding: 15px 15px;
    text-transform: none; !important;
}

 .language-switcher img {
    width: 25px;
    height: 20px;
    margin-top: 3px;
 }

.dutch-taxi-button {
  background-color: rgba(100, 208, 70, 1);
  color: black;
  font-size: 18px;
  font-weight: bold;
  padding: 18px 40px;
  border: 2px solid #333;
  border-radius: 10px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 8px rgba(100, 208, 70, 0.1);
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

/* Simple, minimal style with clean lines */
.dutch-taxi-button:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid #333; /* Thin black border for a refined look */
  border-radius: 8px;
  pointer-events: none;
}

/* Hover effect */
.dutch-taxi-button:hover {
  transform: scale(1.05);
  background-color: #FF9F00; /* Darker yellow on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Active effect */
.dutch-taxi-button:active {
  transform: scale(0.98);
  background-color: #FF8C00; /* Even darker yellow when clicked */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Add responsive styles */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero {
        height: auto; /* Adjust height to content */
        padding: 20px;
        margin-top: 50%;  /*Ensure space below the fixed header */
    }

    .hero-content {
        padding: 20px;
        font-size: 16px;
    }

    .service-item {
        width: 100%;
        margin: 15px 0;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .language-switcher {
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-content {
        font-size: 14px;
    }

    .dutch-taxi-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Ensure sections account for fixed header */
section {
    scroll-margin-top: 100px; /* Adjust for fixed header height */
}
