* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Logo */
.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Hamburger Menu */
.hamburger {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

.hamburger.active {
    display: none;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    transition: right 0.4s ease;
    padding: 80px 50px;
}

.nav-menu.active {
    right: 0;
}

.nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.nav-close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000;
    top: 50%;
    left: 0;
}

.nav-close span:first-child {
    transform: rotate(45deg);
}

.nav-close span:last-child {
    transform: rotate(-45deg);
}

.nav-menu ul {
    list-style: none;
}

.nav-menu ul li {
    margin-bottom: 30px;
}

.nav-menu ul li.nav-home {
    margin-bottom: 60px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #000;
    font-size: 24px;
    font-weight: 100;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-menu ul li a:hover {
    font-weight: 700;
    color: #FF0000;
}

/* Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dots Navigation */
.dots-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
}

/* Works Page Styles */
.page-container {
    flex: 1;
    padding-top: 100px;
    padding-bottom: 40px;
}

.page-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-title {
    font-size: 32px;
    font-weight: 400;
}

.category-nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.category-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 300;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.category-nav a:hover,
.category-nav a.active {
    font-weight: 700;
    opacity: 1;
}

.header-line {
    width: 100%;
    height: 1px;
    background: #000;
    margin-bottom: 60px;
}

/* Works Grid */
.works-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.work-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.work-item:hover img {
    filter: brightness(0.5);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.work-location {
    font-size: 14px;
    font-weight: 300;
}

/* Carousel Bullets */
.carousel-bullets {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 80px;
}

.carousel-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-bullet.active {
    background: #666;
}

/* Project Detail Page */
.project-detail {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.project-viewer {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 70vh;
    background: #f5f5f5;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.6s ease-in-out;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #fff;
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

.nav-arrow.prev:hover {
    transform: translateY(-50%) translateX(-5px);
}

.nav-arrow.next:hover {
    transform: translateY(-50%) translateX(5px);
}

/* Thumbnails */
.thumbnails {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: #0066ff;
}

/* Project Info */
.project-info {
    margin-bottom: 40px;
}

.project-info h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 16px;
    font-weight: 300;
    color: #666;
}

/* About Page */
.about-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    margin-bottom: 100px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    width: 100%;
    height: auto;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
}

.about-text p {
    margin-bottom: 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 40px;
}

/* Contact Page */
.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-image {
    width: 100%;
    height: auto;
}

.contact-info {
    font-size: 16px;
    line-height: 2;
    font-weight: 300;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #FF0000;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 30px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 300;
}

.footer-content a {
    color: #000;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #FF0000;
}

/* Responsive */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .category-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-header,
    .works-grid,
    .project-detail,
    .about-section,
    .contact-content {
        padding: 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
