/* Modern Aesthetics & Premium Styling */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-accent: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glass: rgba(0, 0, 0, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Pre-definitions */
h1, h2, h3, .logo {
    font-family: 'Abel', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 5px;
    animation: pulse 2s infinite ease-in-out;
}

.preloader-spinner {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #fff;
    z-index: 1001;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(0,0,0,0.95);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

.logo {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.98);
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
    gap: 2rem;
}

.nav-links a:hover {
    color: #fff;
}

.language-selector {
    display: flex;
    gap: 0.75rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-radius: 2px;
}

.lang-btn.active, .lang-btn:hover {
    border-color: #fff;
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
}

.cta-button:hover {
    background: #fff;
    color: #000;
}

/* Section Common */
.section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 5rem;
    position: relative;
}

/* Modal */
.photo-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.98);
    z-index: 2000;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.photo-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    padding: 2rem;
}

.modal-prev { left: -100px; }
.modal-next { right: -100px; }

/* Custom Cursor */

.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.cursor-hover .cursor-follower {
    transform: scale(1.5);
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* Gallery Controls */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
}

.category-tab.active, .category-tab:hover {
    background: var(--bg-accent);
    border-color: #fff;
    color: #fff;
    transform: translateY(-5px);
}

.photo-count {
    font-size: 0.7rem;
    margin-top: 0.5rem;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* Base Gallery Grid for Carousels */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bg-accent);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    font-family: 'Abel', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

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

/* Carousel Restore */
.carousel {
    display: none;
    position: relative;
    overflow: hidden;
}

.carousel.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

.carousel-container {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item {
    min-width: 100%;
    padding: 0 1rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    font-size: 2rem;
}

.carousel-nav:hover {
    background: #fff;
    color: #000;
}

.carousel-prev { left: -30px; }
.carousel-next { right: -30px; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .carousel-nav { width: 40px; height: 40px; font-size: 1.5rem; }
    .carousel-prev { left: 5px; }
    .carousel-next { right: 5px; }
}


/* Contact Section */
.footer {
    padding: 10rem 2rem 5rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-item {
    text-align: center;
}

.contact-item i {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-item h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 200;
    display: block;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover { color: #fff; }

.made-by {
    margin: 1rem 0;
    font-size: 0.8rem;
    opacity: 0.6;
}

.made-by a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.made-by a:hover {
    color: #fff;
    border-color: #fff;
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    letter-spacing: 1px;
}

.footer-links button:hover {
    color: #fff;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 50px;
    height: 50px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Privacy Banner */
.privacy-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: #fff;
    color: #000;
    padding: 2rem;
    z-index: 3000;
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.privacy-buttons {
    display: flex;
    gap: 1rem;
}

.privacy-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid #000;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-fill { background: #000; color: #fff; }
.btn-outline { background: transparent; color: #000; }

/* Media Queries Refined */
@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .custom-cursor, .cursor-follower { display: none; }
    .contact-form-wrapper { padding: 2rem; }
}
