* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif;
}

body {
    background: #f4f1ea;
    color: #333;
}

nav {
    background: #2b2b2b;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d4a373;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #4a4a4a, #2b2b2b);
    color: #fff;
    overflow: hidden; /* Prevent overflow from animations */
    position: relative; /* Ensure proper stacking context */
}

.wind-text {
    display: inline-block;
    opacity: 1; /* Ensure visibility as a fallback */
}

.wind-text span {
    display: inline-block;
    opacity: 0; /* Start hidden for animation */
    animation: windDrift 3s forwards;
    position: relative;
    white-space: nowrap;
    z-index: 10; /* Ensure above background */
}

@keyframes windDrift {
    0% {
        opacity: 0;
        transform: translateX(calc(var(--direction) * -100%)) rotate(-10deg) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translateX(calc(var(--direction) * 20%)) rotate(5deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg) scale(1);
    }
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2b2b2b;
}

p, ul {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

ul li {
    margin-bottom: 0.5rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
}

input, textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    background: #d4a373;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background: #b38b59;
}

#form-message {
    text-align: center;
    margin-top: 1rem;
    color: #2b2b2b;
}

/* Services Section Styling */
.services {
    background: #2b2b2b;
    color: #d4c4a8;
    padding: 4rem 2rem;
}

.services h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d4c4a8;
    margin-bottom: 2rem;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.service-icon {
    font-size: 1.8rem;
    color: #d4c4a8;
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 1.1rem;
    color: #d4c4a8;
}

hr {
    border: 0;
    height: 1px;
    background: #d4c4a8;
    margin: 0 auto;
    max-width: 600px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background: #2b2b2b;
        width: 100%;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .services h2 {
        font-size: 2rem;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}