body {
    font-family: 'Raleway', sans-serif; /* Using Raleway from Google Fonts, with a generic sans-serif fallback */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Contact Form Styles */

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't increase total width */
}

.contact-form textarea {
    resize: vertical; /* Allows vertical resizing of the textarea */
}

/* Purple Send Message Button */
.send-message-button {
    background-color: #800080; /* Purple color */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.send-message-button:hover {
    background-color: #6a006a; /* Darker purple on hover */
}

/* Status messages */
.success {
    color: green;
    font-weight: bold;
    margin-bottom: 15px;
}

.error {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
}


/* Image Carousel Styles */
.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.carousel-track {
    display: flex;
    animation: scroll 15s linear infinite;
    width: calc(620px * 10); /* 5 images x 2 for seamless loop (600px + 20px margin) */
}

.carousel-slide {
    flex: 0 0 600px;
    height: 400px;
    margin-right: 20px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image Grid Container */
.photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.photo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 150px;
    width: 100%;
    box-sizing: border-box;
}

.thumbnail {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.full-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.full-image img {
    max-width: 90%;
    max-height: 90%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-3100px); /* -620px * 5 images (600px + 20px margin) */
    }
}

/* Pause animation on hover */
.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

/* Responsive design */
@media (max-width: 1200px) {
    .carousel-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    
    .carousel-track {
        width: calc(100vw * 10);
    }
    
    .carousel-slide {
        flex: 0 0 100vw;
        height: calc(100vw * 0.667); /* Maintain aspect ratio */
        margin-right: 20px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-500vw);
        }
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        height: calc(100vw * 0.667);
        margin-right: 20px;
    }
}