/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    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.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease;
}

/* Animated Background Elements */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    animation: slideDown 1s ease 0.5s forwards;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #000;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.nav-links li:nth-child(1) { animation-delay: 1s; }
.nav-links li:nth-child(2) { animation-delay: 1.1s; }
.nav-links li:nth-child(3) { animation-delay: 1.2s; }

.nav-links a {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: #000;
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('hero-bg.jpg.jpeg') center/cover;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    }
    50% {
        background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: heroTitleAnimation 1.5s ease 0.5s forwards;
}

@keyframes heroTitleAnimation {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 1.2s forwards;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, white, transparent);
    animation: lineExpand 2s ease 2s forwards;
}

@keyframes lineExpand {
    to {
        width: 200px;
    }
}

/* About Section */
.about-section {
    background: #000;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.about-image img:hover {
    filter: grayscale(0%);
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 3rem;
    font-weight: 300;
}

.specializations h3 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: #fff;
}

.specializations ul {
    list-style: none;
}

.specializations li {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 0.75rem;
    font-weight: 300;
}

/* Work Section */
.work-section {
    padding: 6rem 0;
    background: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.work-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.work-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.work-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
    color: #333;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.work-section h2.animate {
    opacity: 1;
    transform: translateY(0);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.work-item.animate {
    transform: translateY(0);
    opacity: 1;
}

.work-item.animate:nth-child(1) { transition-delay: 0.1s; }
.work-item.animate:nth-child(2) { transition-delay: 0.2s; }
.work-item.animate:nth-child(3) { transition-delay: 0.3s; }

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.work-item:hover::before {
    left: 100%;
}

.work-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.work-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: grayscale(20%);
}

.work-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.work-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover::after {
    opacity: 1;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h3 {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: #000;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.contact-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.contact-section h2.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.contact-form.animate {
    opacity: 1;
    transform: translateX(0);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-field label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #999;
    transition: color 0.3s ease;
}

.form-field input,
.form-field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.form-field::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5));
    transition: width 0.3s ease;
}

.form-field:focus-within::after {
    width: 100%;
}

.form-field:focus-within label {
    color: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-bottom-color: #666;
    transform: translateY(-2px);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #555;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: transparent;
    border: 1px solid #333;
    color: white;
    padding: 1rem 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:hover {
    border-color: #666;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 1rem;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.2s;
}

.contact-info.animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #999;
}

.contact-value {
    font-size: 1rem;
    color: white;
    font-weight: 300;
    position: relative;
}

.contact-value::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255,255,255,0.3);
    transition: width 0.3s ease;
}

.contact-item:hover .contact-value::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
        text-align: center;
    }
    
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .about-text h2,
    .work-section h2,
    .contact-section h2 {
        font-size: 2.5rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-container,
    .work-container,
    .contact-container {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 0.75rem;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-text h2,
    .work-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .about-container,
    .contact-content {
        gap: 2rem;
    }
}/*
 Contact Page Styles */
.nav-brand a {
    text-decoration: none;
    color: inherit;
}

.nav-links a.active {
    color: #000;
    font-weight: 600;
}

.contact-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #000;
    color: white;
}

.contact-hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.contact-main {
    padding: 4rem 0 6rem;
}

.contact-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-form-section {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease 0.8s forwards;
}

.contact-form-large {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form-large .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
}

.contact-form-large .form-field label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #999;
    transition: color 0.3s ease;
}

.contact-form-large .form-field input,
.contact-form-large .form-field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 1.2rem 0;
    color: white;
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.contact-form-large .form-field input:focus,
.contact-form-large .form-field textarea:focus {
    outline: none;
    border-bottom-color: #666;
    transform: translateY(-2px);
}

.contact-form-large .form-field input::placeholder,
.contact-form-large .form-field textarea::placeholder {
    color: #555;
}

.submit-btn-large {
    background: transparent;
    border: 2px solid #333;
    color: white;
    padding: 1.2rem 3rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.submit-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.submit-btn-large:hover::before {
    left: 100%;
}

.submit-btn-large:hover {
    border-color: #666;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.contact-info-section {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease 1s forwards;
}

.contact-details h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.contact-details > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.contact-info-item {
    flex: 1;
}

.contact-method .contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #999;
    margin-bottom: 0.5rem;
}

.contact-method .contact-value {
    font-size: 1.1rem;
    color: white;
    font-weight: 300;
}

.contact-method .contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method .contact-value a:hover {
    color: #ccc;
}

.availability {
    padding: 2rem;
    background: rgba(0,255,0,0.05);
    border: 1px solid rgba(0,255,0,0.2);
    border-radius: 8px;
}

.availability h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #00ff88;
    letter-spacing: 0.05em;
}

.availability p {
    color: #ccc;
    font-weight: 300;
    line-height: 1.6;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .contact-main-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 0 3rem;
    }
    
    .contact-main {
        padding: 3rem 0 4rem;
    }
    
    .contact-main-container {
        padding: 0 1rem;
        gap: 3rem;
    }
    
    .contact-details h2 {
        font-size: 2rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-content {
        padding: 0 1rem;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .submit-btn-large {
        padding: 1rem 2rem;
        font-size: 0.8rem;
    }
}

/* Gallery Modal Styles - Enhanced */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    overflow-y: auto;
    backdrop-filter: blur(0px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.gallery-modal.show {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 1;
}

.gallery-content {
    position: relative;
    margin: 50px auto;
    padding: 40px;
    max-width: 1400px;
    width: 90%;
    transform: translateY(50px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.gallery-modal.show .gallery-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: rotate(0deg);
    opacity: 0.7;
}

.gallery-close:hover {
    color: #ff6b6b;
    transform: rotate(90deg) scale(1.1);
    opacity: 1;
}

#gallery-title {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 50px;
    letter-spacing: 2px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.gallery-modal.show #gallery-title {
    transform: translateY(0);
    opacity: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    cursor: pointer;
}

.gallery-item.animate {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9) contrast(1.1);
    border-radius: 8px;
}

.gallery-item img:hover {
    transform: scale(1.02);
    filter: brightness(1) contrast(1.2);
}

.gallery-item video {
    width: 100%;
    height: auto;
    min-height: auto;
    object-fit: contain;
    background: #000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9) contrast(1.1);
    cursor: pointer;
    border-radius: 8px;
    position: relative;
}

.gallery-item video:hover {
    filter: brightness(1) contrast(1.2);
}

/* Video Play Overlay */
.gallery-item[data-type="video"]::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.6);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.gallery-item[data-type="video"]:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Staggered Animation Delays */
.gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-item:nth-child(2) { transition-delay: 0.15s; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.25s; }
.gallery-item:nth-child(5) { transition-delay: 0.3s; }
.gallery-item:nth-child(6) { transition-delay: 0.35s; }
.gallery-item:nth-child(7) { transition-delay: 0.4s; }
.gallery-item:nth-child(8) { transition-delay: 0.45s; }
.gallery-item:nth-child(9) { transition-delay: 0.5s; }
.gallery-item:nth-child(10) { transition-delay: 0.55s; }
.gallery-item:nth-child(11) { transition-delay: 0.6s; }
.gallery-item:nth-child(12) { transition-delay: 0.65s; }
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item video {
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: contain;
    background: #000;
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-content {
        margin: 20px auto;
        padding: 20px;
        width: 95%;
    }
    
    #gallery-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}/*
 Enhanced Video Styles */
.gallery-item video {
    cursor: pointer;
    border-radius: 4px;
}

.gallery-item video:hover {
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

/* Fullscreen video styles */
.gallery-item video:fullscreen {
    object-fit: contain;
    background: #000;
}

.gallery-item video:-webkit-full-screen {
    object-fit: contain;
    background: #000;
}

.gallery-item video:-moz-full-screen {
    object-fit: contain;
    background: #000;
}

.gallery-item video:-ms-fullscreen {
    object-fit: contain;
    background: #000;
}

/* Video thumbnail fallback */
.gallery-item video[poster] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive video aspect ratios */
@media (max-width: 768px) {
    .gallery-item video {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-item video {
        min-height: 180px;
    }
}/* Loadi
ng Animation */
.gallery-item.loading {
    position: relative;
}

.gallery-item.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 3;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fullscreen video styles */
.gallery-item video:fullscreen {
    object-fit: contain;
    background: #000;
}

.gallery-item video:-webkit-full-screen {
    object-fit: contain;
    background: #000;
}

.gallery-item video:-moz-full-screen {
    object-fit: contain;
    background: #000;
}

.gallery-item video:-ms-fullscreen {
    object-fit: contain;
    background: #000;
}/* Gall
ery Sections */
.gallery-section {
    margin-bottom: 3rem;
}

.section-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    letter-spacing: 1px;
    text-align: left;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0;
}

/* Photos section - proper masonry layout */
.gallery-section:has(.gallery-item[data-type="image"]) .section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

/* Remove the problematic grid-auto-rows and row-span */
.gallery-item[data-type="image"] {
    /* Remove grid-row-end property */
}

/* Videos section - same fashionable tile layout as photos */
.gallery-section:has(.gallery-item[data-type="video"]) .section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.gallery-item[data-type="video"] {
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Override main gallery grid for sections */
.gallery-grid {
    display: block;
    padding: 20px 0;
}

/* Section-specific animations */
.gallery-section .gallery-item {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
}

.gallery-section .gallery-item.animate {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Responsive sections */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}/
* Fashionable Photo Tile Layout */
.gallery-item[data-type="image"] {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item[data-type="image"]:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Photo overlay effect */
.gallery-item[data-type="image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item[data-type="image"]:hover::before {
    opacity: 1;
}

/* Ensure videos maintain their styling */
.gallery-item[data-type="video"] {
    min-height: auto;
}

.gallery-item[data-type="video"] video {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
    display: block;
}

.gallery-item[data-type="video"]:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Video overlay effect - same as photos */
.gallery-item[data-type="video"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item[data-type="video"]:hover::before {
    opacity: 1;
}

/* Responsive adjustments for photo tiles */
@media (max-width: 768px) {
    .gallery-section:has(.gallery-item[data-type="image"]) .section-grid,
    .gallery-section:has(.gallery-item[data-type="video"]) .section-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-item[data-type="image"]:hover,
    .gallery-item[data-type="video"]:hover {
        transform: translateY(-3px) scale(1.005);
    }
}

@media (max-width: 480px) {
    .gallery-section:has(.gallery-item[data-type="image"]) .section-grid,
    .gallery-section:has(.gallery-item[data-type="video"]) .section-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}/* Im
age Fullscreen Overlay */
.image-fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(0px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.image-fullscreen-overlay.show {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    opacity: 1;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 3001;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: rotate(0deg) scale(0.8);
}

.image-fullscreen-overlay.show .fullscreen-close {
    opacity: 0.8;
    transform: rotate(0deg) scale(1);
    transition-delay: 0.3s;
}

.fullscreen-close:hover {
    opacity: 1;
    color: #ff6b6b;
    transform: rotate(90deg) scale(1.1);
}

.fullscreen-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: zoom-out;
}

.fullscreen-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    font-weight: 300;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.image-fullscreen-overlay.show .fullscreen-caption {
    opacity: 0.9;
    transition-delay: 0.4s;
}

/* Add cursor pointer to images */
.gallery-item[data-type="image"] img {
    cursor: pointer;
}

.gallery-item[data-type="image"] img:hover {
    transform: scale(1.02);
    filter: brightness(1) contrast(1.2);
}

/* Responsive fullscreen */
@media (max-width: 768px) {
    .fullscreen-close {
        top: 20px;
        right: 25px;
        font-size: 40px;
    }
    
    .fullscreen-caption {
        bottom: 30px;
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .fullscreen-image {
        max-width: 95vw;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .fullscreen-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    
    .fullscreen-caption {
        bottom: 20px;
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}