:root {
    --primary-color: #2D3748;
    --secondary-color: #E2E8F0;
    --accent-color: #4A90E2;
    --overlay-color: rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--primary-color);
}

/* Reset some basic elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styles */
.hero-header {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    height: 100%;
    position: relative;
}

.slides {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.main-title {
    color: white;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.explore-btn {
    background-color: #1a237e;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 50%;
    cursor: pointer;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    padding: 1rem;
    z-index: 1000;
}

.navbar-toggler {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler .bi-list-nested {
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.navbar.active .navbar-toggler .bi-list-nested {
    transform: rotate(90deg);
}

.navbar-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: transparent;
    backdrop-filter: blur(8px);
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.navbar.active .navbar-menu {
    transform: translateX(0);
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 0;
    transition: opacity 0.2s;
    text-align: right;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Projects Grid */
.projects-section {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.project-card {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.project-title {
    margin: 0;
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.project-type {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .projects-section {
        padding: 3rem 0;
    }
    
    .project-card {
        height: 250px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: black;
    color: white;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.about-text {
    padding: 2rem 3rem 0;
}

.about-section p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-text {
        padding: 1.5rem 1.5rem 0;
    }
}

/* Password Protection */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.password-container {
    background-color: transparent;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.password-container h2 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.password-container p {
    color: white;
    margin-bottom: 1.5rem;
}

.password-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.password-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.password-submit {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    background-color: white;
    color: black;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s;
}

.password-submit:hover {
    opacity: 0.9;
}

.password-error {
    color: #ff4444;
    margin-top: 1rem;
    min-height: 1.2em;
}

.password-modal.hidden {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
}
