/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f2f2f2;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: #FF8503;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out; /* Smooth background color transition */
}

header.scrolled {
    background-color: rgba(255, 133, 3, 0.9); /* Darker background when scrolled */
}

nav ul {
    list-style-type: none;
    text-align: right;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
}

nav ul li a:hover {
    color: #FF8200;
}

/* Hero section styles */
.hero {
    background-image: linear-gradient(rgba(12, 3, 51, 0.3), rgba(12, 3, 51, 0.3)), url('images/beach-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    transform: translateY(50px); /* Initial translate up */
    opacity: 0; /* Initially hidden */
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.hero p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    transform: translateY(50px); /* Initial translate up */
    opacity: 0; /* Initially hidden */
    transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Info sections */
.info-section {
    padding: 80px 0;
    background-color: #fff;
}

.info-section .content {
    display: flex;
    justify-content: space-between;
}

.info-section .content .image-container{
    flex: 1;
    margin-right: 20px;
}

.info-section .content .text-container{
    flex: 1;
    padding: 50px;
}

.info-section .content img {
    width: 100%; /* Adjust image width */
    border-radius: 8px; /* Optional: Add rounded corners */
}

.info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transform: translateY(50px); /* Initial translate up */
    opacity: 0; /* Initially hidden */
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.info-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(50px); /* Initial translate up */
    opacity: 0; /* Initially hidden */
    transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Centering styles for specific sections */
.centered-section .container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Ensure content stacks vertically */
    text-align: center; /* Center text */
}

.centered-section .content {
    width: 100%; /* Full width of the container */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Stack content vertically */
}

.centered-section .text-container {
    max-width: 800px; /* Limit the width for better readability */
    margin: 0 auto; /* Center within the container */
    text-align: center; /* Center text */
}

/* Language Picker Styles */
.language-picker {
    position: relative;
    display: inline-block;
    margin-right: 20px; /* Adjust spacing */
}

.language-btn {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.language-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.language-btn .fas {
    margin-left: 5px;
}

.language-dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    margin-top: 10px;
    right: 0;
    list-style: none;
    padding: 10px 0;
    min-width: 150px;
}

.language-dropdown li {
    text-align: left;
}

.language-dropdown li a {
    color: #333;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.language-dropdown li a:hover {
    background-color: #FF8503;
    color: #fff;
}

.language-dropdown li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Show the dropdown on hover or focus */
.language-picker:hover .language-dropdown,
.language-picker:focus-within .language-dropdown {
    display: block;
}

/* Carousel */
.carousel {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel img.active {
    opacity: 1;
}


/* New Styles for Footer */
.footer-container {
    background-color: #FF8200;
    color: #fff;
    padding: 40px 8%;
    text-align: center;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #fff;
}

.social-icons a {
    text-decoration: none;
    color: #fff;
    margin-right: 10px;
    font-size: 20px;
}

.social-icons a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    color: #fff;
}

.footer-bottom a {
    text-decoration: none;
    color: #fff;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {

    .info-section .content {
        flex-direction: column; /* Stack elements vertically on smaller screens */
    }

    .info-section .content img {
        max-width: 100%; /* Ensure image width fits container */
        margin: 20px; /* Adjust margin for spacing */
    }

    .info-section .content h2,
    .info-section .content p {
        max-width: 100%; /* Full width for text on smaller screens */
        text-align: right; /* Center align text */
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(248, 106, 5, 0.9);
        position: absolute;
        top: 70px;
        left: 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 20px 0;
        text-align: center;
    }

    .menu-icon {
        display: block;
    }
}
