
/*Header*/
.navbar-gradient {
    background: linear-gradient(135deg, #005a25 0%, #005a25 100%);
}

nav{
    padding: 2% !important;
}

/* hero billede */
.hero-section {
    background-image: url("Billeder/Hero 2.png");
    background-size: cover;
    background-position: center;

    color: #ffffff;
    text-align: center;

    padding: 100px 20px; /* fleksibel */
    min-height: 60vh; /* billedet fylder 60% af skærmen */

    display: flex;
    align-items: center;
    justify-content: center;
}

/* hero billede tilpasset mobil */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 15px;
        min-height: 40vh;
    }
}

/*H1*/
.welcome-section {
    max-width: 1200px;
    margin: 80px auto;
    text-align: center;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.welcome-section h1 {
    font-family: 'Otomanopee One', sans-serif;
    font-size: 3.5rem;
    color: #2f6b3f;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.welcome-section h2 {
    font-family: 'Otomanopee One', sans-serif;
    font-size: 2rem;
    color: #000000;
    margin-bottom: 25px;
}

.welcome-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 15px;
}

.welcome-section .closing-text {
    font-weight: bold;
    color: #c82f2f;
    margin-top: 25px;
}

/* Event billeder */
.carousel {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* 8 billeder = 800% bredde */
.slides {
    display: flex;
    width: 800%;
    animation: slide 30s infinite; /* 8 billeder × 5 sek */
}

/* Hvert billede fylder 1/8 af rækken */
.slides img {
    width: 12.5%;      /* 100 / 8 */
    height: 400px;
    object-fit: cover;
}

/* Animation – 8 stop á 5 sek */
@keyframes slide {
    0%    { transform: translateX(0); }
    12.5% { transform: translateX(0); }

    12.6% { transform: translateX(-12.5%); }
    25%   { transform: translateX(-12.5%); }

    25.1% { transform: translateX(-25%); }
    37.5% { transform: translateX(-25%); }

    37.6% { transform: translateX(-37.5%); }
    50%   { transform: translateX(-37.5%); }

    50.1% { transform: translateX(-50%); }
    62.5% { transform: translateX(-50%); }

    62.6% { transform: translateX(-62.5%); }
    75%   { transform: translateX(-62.5%); }

    75.1% { transform: translateX(-75%); }
    87.5% { transform: translateX(-75%); }

    87.6% { transform: translateX(-87.5%); }
    100%  { transform: translateX(-87.5%); }
}

/*Vores Event Boks*/
.event-box {
    width: 100%; /* fleksibel */
    max-width: 600px; /* begrænser på pc */
    margin: 40px auto;

    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.event-box img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.event-content {
    padding: 25px;
    text-align: center;
}

.event-content h3 {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 5px;
}

.event-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-read {
    display: inline-block;
    background: #960808;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-read:hover {
    background: #c82f2f;
}


 /* Lille golf Billede */
.lillegolfbillede{
    display: block;
    margin: 0 auto;
     width: 150px; /* str på den */
}     

/*Boks Aktiviteter og pakker*/
.box-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap; /* gør den responsiv */
}

.box {
    width: 100%;
    max-width: 300px; /* fleksibel i stedet for fast */

    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.box h3 {
    font-size: 1.5rem;
    margin: 20px 0;
}

.btn-read {
    display: inline-block;
    background: #960808;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-read:hover {
    background: #c82f2f;
}

/*Vores åbningstider*/
 .opening-hours-box {
     
     max-width: 900px;
     
     margin: 60px auto;
     
     padding: 40px;
     
     background: #ffffff;
     
     border-radius: 20px;
     
     box-shadow: 0 10px 25px rgba(0,0,0,0.15);
     
     text-align: center;
     
 }

 .opening-hours-box h2 {
     
     font-size: 3rem;
     
     margin-bottom: 30px;
     
 }

 .hours-box {
     
     display: flex;
     
     justify-content: space-between;
     
     gap: 40px;
     
     margin-bottom: 30px;
     
 }

 .season h3 {
     
     font-size: 1.4rem;
     
     margin-bottom: 10px;
     
 }

 .season span {
     
     font-size: 0.9rem;
     
     color: #555;
     
 }

 .season ul {
     
     list-style: none;
     
     padding: 0;
     
     margin: 0;
     
     text-align: left;
     
 }
 .season li {
     
     margin-bottom: 8px;
     
     font-size: 1rem;
     
 }

 .contact-text {
     
     margin: 20px 0;
     
     font-size: 1rem;
     
 }
 .btn-contact {
     
     display: inline-block;
     
     background: #960808;
     
     color: #fff;
     
     padding: 12px 30px;
     
     border-radius: 5px;
     
     text-decoration: none;
     
     font-weight: bold;
     
 }

 .btn-contact:hover {
     
 }

 /*Vores transport guide*/
  
   .transport-box {
    max-width: 1100px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: center;
}
    .transport-box h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.transport-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.transport-text {
    flex: 1;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
}

.transport-image {
    flex: 1;
}

.transport-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

 /* Lille golfbane Billede før footer*/
.golfbilledeførfooter{
    display: block;
    margin: 0 auto;                  
     width: 500px; /* str på den */
}
   /*Footer*/
.footer {
    background-color: #0b5d2a; /* mørkegrøn */
    color: #f2eadf; /* lys beige tekst */
    padding: 40px 60px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* gør den responsiv */
    gap: 30px;
}

.footer-left h1 {
    margin: 0;
    font-size: 55px;
    letter-spacing: 2px;
}

.footer-left h2 {
    margin: 0 0 20px;
    font-size: 30px;
}

.footer-left p {
    margin: 5px 0;
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
}

.copy {
    text-align: center;
    color: white;
    margin-top: 30px;
}


.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #f2eadf;
    font-size: 30px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #cde6c7;
}
