/* Reset basic margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header.sticky {
    position: sticky;
    top: 0;
    background: #ffffff;
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

header h1 {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #000000;
}


/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.carousel {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.carousel img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel img.active {
    opacity: 1;
    z-index: 1;
}

/* Hero text over images */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 20; /* Always above carousel images */
}

.hero-text h2 {
    font-size: 48px;
    letter-spacing: 1px;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    font-size: 32px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* About and Contact Sections */
.about, .contact {
    padding: 80px 0;
}

.about h2, .contact h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.about p, .contact p {
    margin-bottom: 20px;
    max-width: 700px;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 12px;
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #000000;
}

/* Fade-in Animation for Sections */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: none;
}