@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500&family=Montserrat:wght@200;300;400&display=swap');

:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #888888;
    --glass-bg: rgba(5, 5, 5, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(20px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Glass Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    z-index: 1001; /* Stay above mobile menu */
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.nav-logo {
    height: 35px;
    width: auto;
    display: block;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001; /* Stay above mobile menu */
}

.hamburger span {
    display: block;
    height: 1px;
    width: 100%;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 2rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-menu.active .mobile-nav-links li {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered animation for links */
.mobile-menu.active .mobile-nav-links li:nth-child(1) { transition: all 0.4s ease 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { transition: all 0.4s ease 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { transition: all 0.4s ease 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) { transition: all 0.4s ease 0.4s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) { transition: all 0.4s ease 0.5s; }
.mobile-menu.active .mobile-nav-links li:nth-child(6) { transition: all 0.4s ease 0.6s; }
.mobile-menu.active .mobile-nav-links li:nth-child(7) { transition: all 0.4s ease 0.7s; }
.mobile-menu.active .mobile-nav-links li:nth-child(8) { transition: all 0.4s ease 0.8s; }
.mobile-menu.active .mobile-nav-links li:nth-child(9) { transition: all 0.4s ease 0.9s; }
.mobile-menu.active .mobile-nav-links li:nth-child(10) { transition: all 0.4s ease 1.0s; }

.mobile-nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.4s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-color);
    transition: width 0.4s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-color);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Language Toggle Switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001; /* Stay above mobile menu */
}

.lang-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s ease;
}

.lang-toggle-wrapper {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: background 0.3s ease;
}

.lang-toggle-wrapper:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-toggle-ball {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-color);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lang-toggle-wrapper.ja .lang-toggle-ball {
    transform: translateX(20px);
}

.lang-switch .lang-label.active {
    color: var(--text-color);
}

/* Hero Video Section */
.hero-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6; /* Dim the video slightly */
    filter: grayscale(100%); /* Elegant black and white look */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.8) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 0 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    letter-spacing: 3px;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
    font-size: 1rem;
    border-radius: 30px;
    background: transparent;
    transition: all 0.4s ease;
}

.hero-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.social-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.social-icon {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Main Content Area */
.main-content {
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
    padding: 8rem 4rem;
}

.portfolio-split {
    display: none; /* Hide old portfolio split */
}

/* Home Sections General */
.home-section {
    padding: 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-section:last-child {
    border-bottom: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
}

.section-header p {
    color: var(--text-muted);
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.section-action {
    text-align: center;
    margin-top: 4rem;
}

/* Recent Works */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.work-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    display: block;
    border-radius: 4px;
}

.work-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-overlay span {
    color: var(--text-color);
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.work-item:hover .work-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-item:hover .work-overlay span {
    transform: translateY(0);
}

/* Latest Project */
.video-showcase {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 21/9;
    border-radius: 4px;
    overflow: hidden;
}

.video-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.8s ease;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.video-showcase:hover .video-cover {
    filter: grayscale(30%);
    transform: scale(1.02);
}

.video-showcase:hover .play-button-overlay {
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.1);
}

/* About Me */
.about-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
}

.profile-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: filter 0.5s ease;
}

.profile-img:hover {
    filter: grayscale(0%);
}

.about-text {
    flex: 1.5;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
}

.about-text h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.about-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.about-text .signature {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: 3rem;
    font-style: italic;
}

/* Book Me */
.book-me {
    background: rgba(20, 20, 20, 0.3);
    text-align: center;
    padding: 8rem 4rem;
}

.book-me-content {
    max-width: 800px;
    margin: 0 auto;
}

.book-me-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
}

.book-me-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.inverse-btn {
    background: var(--text-color);
    color: var(--bg-color);
}

.inverse-btn:hover {
    background: transparent;
    color: var(--text-color);
}

/* Testimonial Slider */
.testimonial-slider-container {
    display: block;
    text-decoration: none;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-slider-container:hover {
    background: rgba(30, 30, 30, 0.6);
}

.testimonial-slider {
    position: relative;
    min-height: 250px;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-slide p {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 2rem;
    text-align: center;
}

.slider-slide h4 {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-align: center;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.indicator.active {
    background: var(--text-color);
}

/* Internal Pages (Photography / Videography) */
.page-header {
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 5rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-muted);
    letter-spacing: 3px;
    font-size: 0.9rem;
}

/* Photography Masonry Layout */
.masonry-grid {
    column-count: 3;
    column-gap: 2rem;
    padding: 0 4rem 4rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.masonry-item {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
    border-radius: 4px; /* Optional: adds a tiny, elegant curve to image corners */
    break-inside: avoid; /* Prevents images from splitting across columns */
}

/* Videography Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 4rem 4rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    background: #111;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.video-item {
    aspect-ratio: 16/9;
}

.gallery-item-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-item-inner {
    transform: scale(1.05);
    background: #1a1a1a;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-caption h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer {
    text-align: center;
    padding: 4rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Testimonials */
.testimonials-grid {
    column-count: 3;
    column-gap: 2rem;
    padding: 0 4rem 4rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    margin-bottom: 2rem;
    break-inside: avoid;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 30, 0.6);
}

.testimonial-text {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.testimonial-author {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--text-color);
    text-align: right;
}

/* Booking Page */
.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem 4rem 4rem;
    display: flex;
    gap: 4rem;
}

.booking-info {
    flex: 1;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 8px;
}

.booking-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.booking-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.booking-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 8px;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid #333;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #fff;
}

.booking-form button {
    margin-top: 1rem;
    width: 100%;
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid var(--glass-border);
    padding: 3rem 4rem;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.modal-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.modal-content button {
    display: inline-block;
    padding: 0.8rem 2rem;
}

/* ==========================================================================
   Projects Page Styles
   ========================================================================== */

.projects-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.project-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.project-row.reverse {
    flex-direction: row-reverse;
}

.project-image, .project-info {
    flex: 1 1 50%;
    max-width: 50%;
}

.project-image {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
    filter: grayscale(80%);
    object-fit: cover;
}

.project-row:hover .project-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.project-info {
    flex: 1;
    padding: 2rem;
}

.project-info h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.project-info h4 {
    font-family: 'Montserrat', sans-serif;
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 300;
    text-transform: uppercase;
}

.project-info p {
    margin-bottom: 3rem;
    line-height: 1.8;
    color: #ccc;
}

.project-btn {
    display: inline-block;
    padding: 12px 30px;
}

/* ==========================================================================
   Video Modal System
   ========================================================================== */

.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.video-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* ==========================================================================
   Individual Project Detail Page Styles
   ========================================================================== */

.project-detail-header {
    padding-bottom: 2rem;
}

.project-detail-header p {
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1rem;
}

h1.long-title {
    font-size: 2.5rem;
    padding: 0 1rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    h1.long-title {
        font-size: 1.8rem;
        word-wrap: break-word;
    }
}

.project-detail-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 4rem 2rem;
}

.project-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 4rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #000;
}

.project-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.project-article {
    max-width: 800px;
    margin: 0 auto 6rem auto;
}

.project-article p {
    font-size: 1.1rem;
    line-height: 2;
    color: #ccc;
    margin-bottom: 2rem;
    text-align: justify;
}

.project-article p:last-child {
    margin-bottom: 0;
}

.project-gallery-masonry {
    column-count: 3;
    column-gap: 1.5rem;
}

.project-gallery-masonry img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.project-gallery-masonry img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Responsive adjustments for projects */
@media (max-width: 900px) {
    .project-row, .project-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .project-image, .project-info {
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    .project-info {
        padding: 0;
        text-align: center;
    }
    
    .project-gallery-masonry {
        column-count: 2;
    }
    
    .project-row:hover .project-image img {
        transform: none; /* Disable hover effect on mobile */
    }
}

@media (max-width: 600px) {
    .project-gallery-masonry {
        column-count: 1;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .testimonials-grid {
        column-count: 2;
    }
}

@media (max-width: 900px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .testimonials-grid {
        column-count: 1;
        padding: 0 2rem 2rem 2rem;
    }
    .portfolio-split {
        flex-direction: column;
    }
    .portfolio-card {
        height: 50vh;
    }
    .glass-nav {
        padding: 1.5rem 2rem;
    }
    .hero-content h1 {
        font-size: 8vw;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .masonry-grid {
        column-count: 1; /* Stack photos in a single column on mobile */
        padding: 0 2rem 2rem 2rem;
    }

    .gallery-grid {
        padding: 0 2rem 2rem 2rem;
    }
    .about-container {
        flex-direction: column;
    }
    .about-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .works-grid {
        grid-template-columns: 1fr;
    }
    .booking-container {
        flex-direction: column;
        padding: 0 2rem 2rem 2rem;
        gap: 2rem;
    }
    .booking-info,
    .booking-form {
        padding: 2rem;
    }
}
