@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #FDFBF7;
    --text-primary: #1A1A1A;
    --accent-red: #C16053;
    --accent-gray: #E8E4DF;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
.font-display {
    font-family: 'Playfair Display', serif;
}

/* Custom Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-grid-wrapped {
    display: grid !important;
    overflow-x: hidden !important;
    padding-bottom: 0;
}

.gallery-grid-wrapped .portrait-card {
    width: 100% !important;
    margin-bottom: 0;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.portrait-card {
    position: relative;
    overflow: hidden;
    height: 480px;
    width: 320px;
    background: var(--accent-gray);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.portrait-card:hover {
    transform: scale(1.02);
}

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

.portrait-card:hover img {
    transform: scale(1.1);
}

.overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portrait-card:hover .overlay-info {
    transform: translateY(0);
}

/* Custom Hamburger Icon */
.hamburger .line {
    width: 28px;
    height: 2px;
    background-color: var(--text-primary);
    display: block;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
}

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

.hamburger.is-active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Auth Page Specifics */
.split-screen {
    display: flex;
    min-height: 100vh;
}

.auth-sidebar {
    background-color: var(--text-primary);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- High-Fidelity Navigation Dock Styles --- */
.glass-dock {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 12px;
    border-radius: 24px;
    gap: 8px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.5s ease;
}

.dock-item {
    position: relative;
    padding: 12px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #1A1A1A;
    text-decoration: none;
    background: transparent;
    min-width: 60px;
}

.dock-item i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.dock-label {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: #1A1A1A;
    color: white;
    padding: 4px 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    border-radius: 6px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1100;
}

.dock-item:hover {
    transform: scale(1.15) translateY(-5px);
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dock-item:hover .dock-label {
    opacity: 1;
    visibility: visible;
    top: -45px;
    background: #C16053;
}

.active-dock-item {
    background: white !important;
    color: #C16053 !important;
    box-shadow: 0 8px 20px rgba(193, 96, 83, 0.15);
}