/* General Styling */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #026e6e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navigation a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.navigation a:hover {
    color: #ffdd57;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    background: url('../../assets/images/img-batch-1/House-setup-1.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 3rem;
    text-align: left;
    color: #fff;
    transition: background-image 1s ease-in-out;
    animation: fadeInUp 1s forwards ease-out;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInFromLeft 1s forwards ease-out;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: dropIn 1s forwards ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: dropIn 1s forwards ease-out;
}

.hero .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ffdd57;
    color: #000;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.hero .btn:hover {
    background-color: #ffc107;
}

/* Keyframe Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tours Section */
.tours {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
    animation: fadeInUp 1s forwards ease-out;
}

.tours h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: rgb(2,108,108);
}

.tour-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s forwards ease-out;
}

.card {
    background: #fafafa;
    padding: 20px;
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation added */
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    color: #026e6e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }

    .navigation ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        height: 70vh;
        padding-left: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .tour-cards {
        grid-template-columns: 1fr 1fr;
    }

    .card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 1rem;
    }

    .hero {
        padding-left: 1rem;
        height: 60vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .tour-cards {
        grid-template-columns: 1fr;
    }
}
