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

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Background Dots */
.background-dots {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    opacity: 0.2;
    animation: pulse 4s ease-in-out infinite;
}

.dot-1 { width: 20px; height: 20px; top: 15%; left: 5%; animation-delay: 0s; }
.dot-2 { width: 15px; height: 15px; top: 25%; right: 10%; animation-delay: 0.5s; }
.dot-3 { width: 25px; height: 25px; top: 45%; left: 15%; animation-delay: 1s; }
.dot-4 { width: 12px; height: 12px; top: 55%; right: 20%; animation-delay: 1.5s; }
.dot-5 { width: 18px; height: 18px; top: 75%; left: 8%; animation-delay: 2s; }
.dot-6 { width: 22px; height: 22px; top: 85%; right: 15%; animation-delay: 2.5s; }
.dot-7 { width: 16px; height: 16px; top: 35%; left: 25%; animation-delay: 3s; }
.dot-8 { width: 14px; height: 14px; top: 65%; right: 8%; animation-delay: 3.5s; }
.dot-9 { width: 30px; height: 30px; top: 10%; left: 35%; animation-delay: 0.2s; }
.dot-10 { width: 11px; height: 11px; top: 20%; right: 25%; animation-delay: 0.7s; }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

/* Navigation Back */
.nav-back {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(168, 85, 247, 0.2);
    border: 2px solid #a855f7;
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

/* Camera Section */
.camera-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.camera-container {
    text-align: center;
    max-width: 800px;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* Camera Design */
.camera {
    position: relative;
    display: inline-block;
    margin: 2rem 0;
}

.camera-body {
    width: 400px;
    height: 300px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 2px solid #333;
}

.camera-lens {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.lens-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid #444;
}

.outer-ring {
    width: 180px;
    height: 180px;
}

.middle-ring {
    width: 140px;
    height: 140px;
}

.inner-ring {
    width: 100px;
    height: 100px;
}

.lens-glass {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 3px solid #333;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.lens-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.5s ease;
    border: 2px solid #666;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-display:hover .photo-overlay {
    transform: translateY(0);
}

.photo-info h3 {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
}

.photo-info p {
    font-size: 0.6rem;
    opacity: 0.8;
}

/* Camera Shutter */
.camera-shutter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
}

.shutter-blade {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: #000;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.shutter-blade-1 {
    transform: translate(-50%, -50%) rotate(0deg);
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
}

.shutter-blade-2 {
    transform: translate(-50%, -50%) rotate(90deg);
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
}

.shutter-blade-3 {
    transform: translate(-50%, -50%) rotate(180deg);
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
}

.shutter-blade-4 {
    transform: translate(-50%, -50%) rotate(270deg);
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
}

.shutter-closed .shutter-blade-1 {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.2);
}

.shutter-closed .shutter-blade-2 {
    transform: translate(-50%, -50%) rotate(90deg) scale(1.2);
}

.shutter-closed .shutter-blade-3 {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
}

.shutter-closed .shutter-blade-4 {
    transform: translate(-50%, -50%) rotate(270deg) scale(1.2);
}

/* Camera Button */
.camera-button {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.click-me-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.click-me-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.4);
}

.click-me-btn:active {
    transform: translateY(-1px);
}

.camera-grip {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 120px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Alternating layout with absolute positioning - images touching */
.item-1 { left: 0; top: 0; }
.item-2 { left: calc(50% + 0.5rem); top: 0; }
.item-3 { left: 0; top: 350px; }
.item-4 { left: calc(50% + 0.5rem); top: 350px; }
.item-5 { left: 0; top: 700px; }
.item-6 { left: calc(50% + 0.5rem); top: 700px; }
.item-7 { left: 0; top: 1050px; }
.item-8 { left: calc(50% + 0.5rem); top: 1050px; }
.item-9 { left: 0; top: 1400px; }
.item-10 { left: calc(50% + 0.5rem); top: 1400px; }
.item-11 { left: 0; top: 1750px; }
.item-12 { left: calc(50% + 0.5rem); top: 1750px; }
.item-13 { left: 0; top: 2100px; }
.item-14 { left: calc(50% + 0.5rem); top: 2100px; }
.item-15 { left: 0; top: 2450px; }

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

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.item-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .camera-body {
        width: 300px;
        height: 225px;
    }
    
    .camera-lens {
        width: 150px;
        height: 150px;
    }
    
    .lens-glass {
        width: 60px;
        height: 60px;
    }
    
    .photo-display {
        width: 50px;
        height: 50px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .collage-row {
        grid-template-columns: 1fr;
    }
    
    .nav-back {
        top: 1rem;
        left: 1rem;
    }
    
    .back-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .camera-body {
        width: 250px;
        height: 188px;
    }
    
    .camera-lens {
        width: 120px;
        height: 120px;
    }
    
    .lens-glass {
        width: 50px;
        height: 50px;
    }
    
    .photo-display {
        width: 40px;
        height: 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
} 

/* Spinning Gallery Styles */
.spinning-gallery-section {
    min-height: 100vh;
    background: transparent;
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
}

.spinning-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.spinning-gallery-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spinning-gallery {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    width: 100%;
}

.camera-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Camera box styles for spinning gallery */
.spinning-gallery .camera-box {
    width: 400px;
    height: 280px;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border-radius: 35px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 4px solid #555;
    overflow: visible;
}

/* Minimal camera notch on top */
.spinning-gallery .camera-box::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background: #2a2a2a;
    border-radius: 4px;
    border: 1px solid #555;
}

/* Red flash switch */
.spinning-gallery .camera-flash {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 25px;
    height: 15px;
    background: #ff3333;
    border-radius: 8px;
    border: 1px solid #cc0000;
}

.spinning-gallery .camera-flash::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 9px;
    height: 9px;
    background: #ff6666;
    border-radius: 50%;
    opacity: 0.8;
}

/* Vertical black rectangle side knob */
.spinning-gallery .camera-knob {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 60px;
    background: #000;
    border-radius: 6px;
    border: 1px solid #333;
}

.spinning-gallery .camera-lens-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 6px solid #888;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8);
    z-index: 2;
}

/* Outer lens ring */
.spinning-gallery .camera-lens-circle::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid #666;
    z-index: 1;
}





.spinning-gallery .lens-photo {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.5s ease;
    border: 2px solid #666;
    z-index: 3;
    position: relative;
}

.spinning-photos {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinning-photo {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
    animation: spin 20s linear infinite;
}

.spinning-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spinning-photo:hover img {
    transform: scale(1.1);
}

.photo-1 {
    animation-delay: 0s;
}

.photo-2 {
    animation-delay: -5s;
}

.photo-3 {
    animation-delay: -10s;
}

.photo-4 {
    animation-delay: -15s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg) translateX(300px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(300px) rotate(-360deg);
    }
} 

/* Camera button for spinning gallery */
.spinning-gallery .camera-button {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.spinning-gallery .click-me-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.spinning-gallery .click-me-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.5);
    background: linear-gradient(45deg, #c084fc, #a855f7);
}

.spinning-gallery .click-me-btn:active {
    transform: translateY(-1px);
} 

/* Random Gallery Section */
.random-gallery-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.random-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.random-gallery-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.random-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }
.gallery-item:nth-child(13) { animation-delay: 1.3s; }
.gallery-item:nth-child(14) { animation-delay: 1.4s; }
.gallery-item:nth-child(15) { animation-delay: 1.5s; }

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.3);
}

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

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