
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header Styling */
header {
    background: black;
    color: white;
    padding: 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: pink;
}

/* Hero Section Styling */
.hero {
    background: linear-gradient(to right, #1a1a2e, #16213e, #0f3460);
    color: white;
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-container {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff4d4d;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
}

.btn:hover {
    background: #ff1a1a;
}

/* Gallery Section */
.gallery {
    padding: 30px 20px;
    text-align: center;
    background: white;
    color: black;
}

/* Contact Section */
.contact {
    padding: 50px 20px;
    background: #f4f4f4;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    padding: 10px;
    background: #16213e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.contact button:hover {
    background: #0f3460;
}



/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 500px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

/* Hide images by default */
.slide {
    display: none;
}

/* Display images properly */
.slide img {
    width: 70%;
    border-radius: 10px;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Fade effect */
.fade {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}


/* Gallery Section */
.gallery {
    text-align: center;
    padding: 20px;
}

/* Filters */
.filters {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filters label {
    font-weight: bold;
}

.filters select, .filters button {
    padding: 10px;
    border: 1px solid #0056b3;
    border-radius: 5px;
    cursor: pointer;
}

.filters button {
    background-color: #0056b3;
    color: white;
    border: none;
}

.filters button:hover {
    background-color: #003f7f;
}

/* Gallery Grid */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Hide all items initially */
.gallery-item {
    display: none;
}

.gallery-item img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.1);
}




/* Light Mode (Default) */
body {
    background-color: white;
    color: black;
    transition: background 0.3s, color 0.3s;
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: white;
}

/* Header & Navigation */
header {
    background-color: white;
    color: black;
    padding: 15px;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode header {
    background-color: #1e1e1e;
    color: white;
}

/* Links */
nav ul li a {
    color: black;
    text-decoration: none;
}

body.dark-mode nav ul li a {
    color: white;
}

/* Sections */
section {
    background-color: white;
    padding: 20px;
    margin: 10px auto;
    border-radius: 10px;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode section {
    background-color: #1e1e1e;
    color: white;
}

/* Buttons */
.btn {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode .btn {
    background-color: white;
    color: black;
}

/* Form Inputs */
input, textarea {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode input,
body.dark-mode textarea {
    background-color: #333;
    color: white;
    border: 1px solid #666;
}

/* Slideshow */
.slideshow-container {
    background-color: white;
    padding: 10px;
    transition: background 0.3s;
}

body.dark-mode .slideshow-container {
    background-color: #1e1e1e;
}

/* Toggle Button */
#darkModeToggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: transform 0.3s ease;
}

#darkModeToggle:hover {
    transform: scale(1.2);
}




/* Hero Video Background */
.hero {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4; /* Makes text readable */
}

