/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 0;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 2s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loading-text {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.4rem; /* 60% smaller: 6rem * 0.4 = 2.4rem */
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #fff;
    text-align: center;
    line-height: 1;
    animation: fadeInText 1s ease-in;
}

.loading-percentage {
    font-family: 'Bodoni Moda', serif;
    font-size: 0.8rem; /* 60% smaller: 2rem * 0.4 = 0.8rem */
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #fff;
    opacity: 0.8;
    line-height: 1;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Fixed Logo */
.logo-fixed {
    position: fixed;
    top: 2rem;
    left: 3rem;
    z-index: 50;
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #fff;
    text-decoration: none;
    mix-blend-mode: difference;
    transition: opacity 0.3s;
    line-height: 1;
}

.logo-fixed:hover {
    opacity: 0.7;
}

/* Logo Tagline */
.logo-tagline {
    position: fixed;
    top: 4.5rem;
    left: 3rem;
    z-index: 50;
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 100;
    letter-spacing: 0.2em;
    color: #fff;
    mix-blend-mode: difference;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Fixed Navigation Links - Standalone */
.nav-link-art,
.nav-link-weddings {
    position: fixed;
    top: 2rem;
    z-index: 50;
    color: #000;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s, opacity 0.3s;
    line-height: 1;
}

.nav-link-art.inverted,
.nav-link-weddings.inverted {
    color: #fff;
    mix-blend-mode: difference;
}

.nav-link-art {
    right: 3rem;
}

.nav-link-art:hover,
.nav-link-weddings:hover {
    opacity: 0.7;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    position: fixed;
    top: 2rem;
    right: 3rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    mix-blend-mode: difference;
    z-index: 60;
    font-weight: 700;
    line-height: 1;
}

.close-icon {
    display: none;
}

.menu-toggle.active .menu-icon {
    display: none;
}

.menu-toggle.active .close-icon {
    display: block;
}

/* Mobile Overlay Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 1);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: none;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.3s;
    line-height: 1;
}

.mobile-nav a:hover {
    opacity: 0.7;
}

/* Fixed About Button - LOWER LEFT */
.about-btn {
    position: fixed;
    bottom: 2.5rem;
    left: 3rem;
    z-index: 50;
    color: #000;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s, opacity 0.3s;
    line-height: 1;
}

.about-btn.inverted {
    color: #fff;
    mix-blend-mode: difference;
}

.about-btn:hover {
    opacity: 0.7;
}

/* Fixed Contact Button - LOWER RIGHT */
.contact-btn {
    position: fixed;
    bottom: 2.5rem;
    right: 3rem;
    z-index: 50;
    color: #000;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s, opacity 0.3s;
    line-height: 1;
}

.contact-btn.inverted {
    color: #fff;
    mix-blend-mode: difference;
}

.contact-btn:hover {
    opacity: 0.7;
}

.instagram-btn {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    width: 1.4rem;
    height: 1.4rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, opacity 0.3s;
}

.instagram-btn svg {
    width: 100%;
    height: 100%;
}



.instagram-btn:hover {
    opacity: 0.7;
}

/* Banner Slideshow - Full Width, 4x Taller (8 rows tall) */
.banner-slideshow {
    position: relative;
    width: 100%;
    height: calc(100vw * 2 / 3 * 3);
    min-height: 450px;
    overflow: hidden;
    background-color: #1a1a1a;
}

/* Fixed Banner Text Overlay */
.banner-text-overlay {
    position: absolute;
    top: 50%; /* Center of banner */
    left: 50%;
    transform: translate(-50%, -50%) translateY(15%); /* Move down 15% from center */
    z-index: 40;
    text-align: center;
    pointer-events: none;
    width: 100%;
}

.banner-text-overlay h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.08rem; /* 50% of 2.16rem */
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #fff;
    line-height: 1.3;
    max-width: 90%;
    margin: 0 auto 0.5rem; /* Reduced bottom margin */
}

.banner-subtext {
    font-family: 'Raleway', sans-serif;
    font-size: 0.45rem; /* 50% of 0.9rem */
    font-weight: 400;
    letter-spacing: 0.5em;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 4s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

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

/* Smaller ampersand - 50% of text size */
.ampersand {
    font-size: 50%;
    display: inline-block;
    vertical-align: middle;
}

/* Gallery Intro Section - White area with gradient */
.gallery-intro-section {
    position: relative;
    background: #ffffff;
    padding: 30px 0 40px; /* Shorter white area */
    text-align: center;
    margin-bottom: 0;
    z-index: 10;
}

/* Gradient overlay - longer and thicker */
.gallery-intro-section::after {
    content: '';
    position: absolute;
    bottom: -80px; /* Extends 80px below section into thumbnails */
    left: 0;
    right: 0;
    height: 80px; /* Longer gradient spill */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 1;
}

.gallery-intro-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em; /* Reduced letter spacing */
    color: #1a1a1a;
    margin: 0 0 25px; /* Reduced bottom margin */
}

/* Animated Scroll Icon - Even Smaller */
.scroll-icon {
    width: 16px;
    height: 28px;
    margin: 0 auto;
    position: relative;
}

.scroll-icon-mouse {
    width: 14px;
    height: 24px;
    border: 1.5px solid #666666; /* Dark grey instead of black */
    border-radius: 10px;
    position: relative;
}

.scroll-icon-mouse::before {
    content: '';
    width: 2px;
    height: 4px;
    background: #666666; /* Dark grey instead of black */
    border-radius: 1px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0.5;
        top: 18px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

/* Gallery Grid - NO GAPS, 2:3 Portrait Aspect Ratio */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    line-height: 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    cursor: pointer;
    display: block;
    line-height: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    vertical-align: bottom;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

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

.gallery-title {
    color: #fff;
    font-family: 'Bodoni Moda', serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.gallery-subtitle {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.3;
    opacity: 0.9;
}

/* Gallery Detail Page */
.back-btn {
    position: fixed;
    top: 6.5rem;
    left: 3rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    mix-blend-mode: difference;
    transition: opacity 0.3s;
    line-height: 1;
}

.back-btn:hover {
    opacity: 0.7;
}

.page-title {
    position: fixed;
    top: 2rem;
    left: 10rem;
    z-index: 50;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    mix-blend-mode: difference;
    color: #fff;
    line-height: 1;
}

.gallery-images {
    padding: 8rem 1rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.image-item {
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* About Page */
.about-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1rem;
}

.about-container {
    max-width: 48rem;
}

.about-container h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-text {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 1.125rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.contact-section {
    margin-top: 2rem;
    padding-top: 2rem;
}

.contact-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-section p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.contact-section a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 600;
}

.contact-section a:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (min-width: 768px) {
    .banner-slideshow {
        height: calc(100vw / 2 * 2 / 3 * 4);
    }
    
    .banner-text {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .banner-slideshow {
        height: calc(100vw / 3 * 2 / 3 * 4);
    }
    
    .banner-text {
        font-size: 3.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-title {
        font-size: 2rem;
    }
}

@media (min-width: 1280px) {
    .banner-slideshow {
        height: calc(100vw / 4 * 2 / 3 * 4);
    }
    
    .banner-text {
        font-size: 4rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1536px) {
    .banner-slideshow {
        height: calc(100vw / 5 * 2 / 3 * 4);
    }
    
    .banner-text {
        font-size: 5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 767px) {
    /* Loading screen mobile */
    .loading-text {
        font-size: 3rem;
        padding: 0 1rem;
    }
    
    .loading-percentage {
        font-size: 1.5rem;
    }
    
    .logo-fixed {
        font-size: 1.75rem;
        top: 1.5rem;
        left: 0;
        right: 0;
        transform: none;
        mix-blend-mode: normal; /* Remove color inversion on mobile */
        text-align: center;
        width: 100%;
    }
    
    .logo-tagline {
        font-size: 0.5rem;
        top: 3.5rem;
        left: 0;
        right: 0;
        transform: none;
        mix-blend-mode: normal; /* Remove color inversion on mobile */
        text-align: center;
        width: 100%;
    }
    
    .nav-link-art,
    .nav-link-weddings {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        top: 1.5rem; /* Align with PANAITESQ title */
        right: 2rem;
        left: auto;
        transform: none;
        mix-blend-mode: normal; /* Remove color inversion on mobile */
        font-size: 1.8rem; /* 10% smaller than 2rem */
        opacity: 0.5; /* 50% transparent */
    }
    
    /* When menu is active, X button stays in same position but fully opaque */
    .menu-toggle.active {
        opacity: 1; /* Fully visible when menu is open */
        z-index: 9999; /* Above mobile menu overlay */
    }
    
    .about-btn {
        font-size: 1rem;
        bottom: 1.5rem;
        left: 2rem;
    }
    
    .contact-btn {
        font-size: 1rem;
        bottom: 1.5rem;
        right: 2rem;
    }
    
    .instagram-btn {
        bottom: 1.5rem;
        width: 1rem;
        height: 1rem;
    }
    
    .banner-text {
        font-size: 1.5rem;
    }
    
    .gallery-title {
        font-size: 1.25rem;
    }
    
    .gallery-subtitle {
        font-size: 0.75rem;
    }
    
    /* Fix Issue 1: Show gallery overlay on mobile - visible titles, no dark background */
    .gallery-overlay {
        opacity: 1; /* Keep visible for titles */
        background-color: transparent; /* Remove dark background */
    }
    
    .about-container h1 {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.25rem;
        left: 7rem;
    }
}


/* âœ… White Background for About and Contact Pages */
body.white-bg {
    background-color: #fff !important;
    color: #000 !important;
}

body.white-bg * {
    line-height: 1.5;
}

.back-btn.dark {
    color: #000;
    mix-blend-mode: normal;
}

/* âœ… New About Page Layout - Photo Left, Text Right */
.about-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

.about-photo {
    width: 100%;
}

.about-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

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

.about-heading {
    font-family: 'Bodoni Moda', serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    color: #000;
}

.about-description {
    font-family: 'Raleway', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.about-description p {
    margin-bottom: 1.5rem;
}

.about-description p:last-child {
    margin-bottom: 0;
}

/* Responsive About Page */
@media (max-width: 968px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-heading {
        font-size: 2.5rem;
    }
    
    .about-page-container {
        padding: 8rem 2rem;
    }
}

@media (max-width: 640px) {
    .about-heading {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-page-container {
        padding: 6rem 1.5rem;
    }
}


/* âœ… Contact Page Styles */
.contact-page-container {
    min-height: 100vh;
    padding: 8rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-main-heading {
    font-family: 'Bodoni Moda', serif;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 4rem;
    color: #000;
}

.contact-forms-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-section {
    background: #fff;
    padding: 0;
}

.form-heading {
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    color: #000;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    background: #fff;
    color: #000;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Contact Page */
@media (max-width: 968px) {
    .contact-forms-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-main-heading {
        font-size: 3rem;
    }
    
    .contact-page-container {
        padding: 8rem 2rem 4rem;
    }
}

@media (max-width: 640px) {
    .contact-main-heading {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .form-heading {
        font-size: 1.75rem;
    }
    
    .contact-page-container {
        padding: 6rem 1.5rem 3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9375rem;
    }
}

/* Scroll Hint Indicator (Issue 4) */
.scroll-hint {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInBounce 2s ease-in-out 1s forwards, bounce 2s ease-in-out 3s infinite;
    pointer-events: none;
}

.scroll-hint.hidden {
    animation: fadeOut 0.5s ease-out forwards;
}

.scroll-hint-text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-hint-arrow {
    font-size: 1.5rem;
    line-height: 1;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(0);
    }
}

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

@keyframes fadeOut {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .scroll-hint {
        bottom: 2rem;
    }
    
    .scroll-hint-text {
        font-size: 0.65rem;
    }
    
    .scroll-hint-arrow {
        font-size: 1.25rem;
    }
}
