/* Color Scheme */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333;
    --accent-color: #DC143C;
    --accent-light: #FF6B6B;
    --accent-dark: #B91C1C;
    --text-light: #fff;
    --text-dark: #333;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-start: rgba(26, 26, 26, 0.9);
    --gradient-end: rgba(51, 51, 51, 0.7);
    --red-accent: #DC143C;
    --red-hover: #B91C1C;
    --vh: 1vh;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(44, 44, 44, 0.9) 50%, rgba(26, 26, 26, 0.95) 100%),
        url('images/personal.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
    animation: logoFloat 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

.loading-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.ring-1 {
    width: 120px;
    height: 120px;
    top: -60px;
    left: -60px;
    animation-duration: 2s;
}

.ring-2 {
    width: 140px;
    height: 140px;
    top: -70px;
    left: -70px;
    animation-duration: 2.5s;
    animation-direction: reverse;
    border-top-color: var(--accent-light);
}

.ring-3 {
    width: 160px;
    height: 160px;
    top: -80px;
    left: -80px;
    animation-duration: 3s;
    border-top-color: rgba(220, 20, 60, 0.5);
}

.loading-text {
    margin-bottom: 2rem;
}

.loading-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.loading-tagline {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.loading-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    background: rgba(220, 20, 60, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(220, 20, 60, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(220, 20, 60, 0.2);
    border-color: rgba(220, 20, 60, 0.5);
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.loading-progress {
    width: 300px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 2px;
    width: 0%;
    animation: progressFill 3s ease-out forwards;
}

.loading-status {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Loading Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logoFloat {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-10px) scale(1.05); }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressFill {
    0% { width: 0%; }
    25% { width: 30%; }
    50% { width: 60%; }
    75% { width: 85%; }
    100% { width: 100%; }
}

/* Hide main content during loading */
body.loading {
    overflow: hidden !important;
}

body.loading .hero,
body.loading .navbar,
body.loading .portfolio,
body.loading .cta-section {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

/* Force loading screen to always show initially */
#loading-screen {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Handle mobile viewport height issues */
@supports (height: 100dvh) {
    .hero {
        height: 100dvh;
    }
}

body {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafafa;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    /* Force single background image on mobile */
    .hero-bg-image {
        object-fit: cover;
        object-position: center;
        filter: brightness(0.5) contrast(1.1);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--accent-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for better mobile support */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: env(safe-area-inset-top, 20px);
    padding-bottom: env(safe-area-inset-bottom, 20px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(220, 20, 60, 0.1) 30%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(220, 20, 60, 0.1) 70%,
            rgba(0, 0, 0, 0.7) 100%
        ),
        url('images/wedding shoot backround.jpeg'),
        url('images/wedding shoot backround 2.jpeg');
    background-size: cover, 50% auto, 50% auto;
    background-position: center, left center, right center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.brand-logo {
    margin-bottom: 3rem;
}

.brand-name {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0px;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.brand-tagline {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: none;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: white;
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    opacity: 0.9;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.7;
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.navbar.visible {
    transform: translateY(0);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #DC143C, #FF6B6B);
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.hamburger-line {
    width: 22px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    font-weight: bold;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-cta-desktop {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.5rem;
        font-weight: 500;
    }
    
    .nav-cta-mobile {
        margin-top: 2rem;
    }
    
    .nav-cta-mobile .btn {
        font-size: 1.1rem;
        padding: 12px 24px;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Extra mobile adjustments for small screens */
@media (max-width: 480px) and (max-height: 800px) {
    .hero {
        padding-top: 10px !important;
    }
    
    .hero-content {
        margin-top: 0px !important;
        padding-top: 5px !important;
        transform: translateY(0px) !important;
    }
    
    .brand-name {
        font-size: 2rem !important;
        margin-top: 0rem !important;
    }
    
    .hero-title {
        font-size: 1.6rem !important;
    }
}

/* Force mobile hero positioning for all mobile devices */
@media screen and (max-width: 768px) {
    body .hero {
        padding-top: 10px !important;
        align-items: flex-start !important;
    }
    
    body .hero .hero-content {
        margin-top: 0px !important;
        padding-top: 5px !important;
        transform: translateY(0px) !important;
    }
    
    body .hero .brand-name {
        margin-top: 0rem !important;
        padding-top: 0rem !important;
    }
}

/* Floating Contact Widget */
.floating-contact {
    position: fixed !important;
    bottom: 30px !important;
    right: 20px !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    animation: floatIn 1s ease-out 2s both !important;
}

.contact-phone {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.contact-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(220, 20, 60, 0.4);
}

.contact-phone i {
    font-size: 1.5rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--accent-color);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-info:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.contact-number {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Floating contact animations */
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(220, 20, 60, 0.5), 0 0 0 10px rgba(220, 20, 60, 0.1);
    }
}

/* Mobile adjustments for floating contact */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 15px;
    }
    
    .contact-phone {
        width: 55px;
        height: 55px;
    }
    
    .contact-phone i {
        font-size: 1.3rem;
    }
    
    .contact-info {
        display: none;
    }
    
    .floating-contact:active .contact-info {
        display: block;
        opacity: 1;
        transform: translateX(0);
        position: absolute;
        right: 70px;
        top: 0;
        white-space: nowrap;
    }
}

/* Portfolio Intro */
.portfolio-intro {
    padding: 100px 0 60px;
    background: white;
    text-align: center;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #DC143C 0%, #FF6B6B 50%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-style: normal;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(220, 20, 60, 0.2);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    color: #666;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: var(--accent-color);
}

/* Portfolio Grid */
.portfolio {
    background: #f8f9fa;
    padding: 40px 0 0;
}

.portfolio-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2px;
    background: white;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #f0f0f0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.portfolio-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.portfolio-item:nth-child(even) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(0.2) contrast(1.1);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
    filter: grayscale(0) contrast(1.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.overlay-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.icon-btn {
    width: 45px;
    height: 45px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.1);
}

/* Instagram CTA */
.instagram-cta {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-instagram {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
    padding: 15px 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-instagram:hover {
    background: var(--accent-dark);
    color: white;
    border-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Loading Screen Mobile */
    .loading-brand {
        font-size: 2rem;
    }
    
    .loading-tagline {
        font-size: 1rem;
    }
    
    .loading-contact {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .contact-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .logo-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .ring-1 {
        width: 100px;
        height: 100px;
        top: -50px;
        left: -50px;
    }
    
    .ring-2 {
        width: 120px;
        height: 120px;
        top: -60px;
        left: -60px;
    }
    
    .ring-3 {
        width: 140px;
        height: 140px;
        top: -70px;
        left: -70px;
    }
    
    .loading-progress {
        width: 250px;
    }

    /* Optimize loading screen background for mobile - keep personal photo */
    .loading-screen {
        background: 
            linear-gradient(135deg, rgba(26, 26, 26, 0.90) 0%, rgba(44, 44, 44, 0.85) 50%, rgba(26, 26, 26, 0.90) 100%),
            url('images/personal.jpeg') !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    /* Ensure all loading content is visible on mobile */
    .loading-content {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .loading-brand,
    .loading-tagline,
    .loading-contact {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Ensure all hero content is visible on mobile */
    .brand-name {
        font-size: 2.2rem;
        opacity: 1 !important;
        visibility: visible !important;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 1rem;
    }
    
    .brand-tagline {
        margin-top: 0.8rem;
        font-size: 0.9rem;
    }
    
    .brand-tagline,
    .hero-actions {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Simplify hero background for mobile */
    .hero-overlay {
        background: 
            linear-gradient(
                135deg,
                rgba(0, 0, 0, 0.8) 0%,
                rgba(220, 20, 60, 0.1) 50%,
                rgba(0, 0, 0, 0.8) 100%
            ) !important;
        background-size: cover !important;
        background-position: center !important;
        opacity: 0.6 !important;
    }

    /* Mobile hero adjustments for browser UI - Balanced spacing */
    .hero {
        min-height: auto !important;
        padding-top: 10px !important;
        padding-bottom: 20px !important;
        align-items: flex-start !important;
    }
    
    .hero-content {
        margin-top: 0px !important;
        padding: 10px !important;
        transform: translateY(0px) !important;
        width: 100% !important;
        text-align: center !important;
    }

    .hero-stats {
        gap: 2rem;
        flex-direction: column;
        margin-top: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }

    .btn {
        min-width: 200px;
        justify-content: center;
    }

    .nav-menu {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .portfolio-item {
        aspect-ratio: 1/1;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .overlay-content h3 {
        font-size: 1.5rem;
    }

    .portfolio-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-actions {
        gap: 1rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 180px;
    }

    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }
}

/* Portfolio Filter Animation */
.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-item.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2c2c2c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.portfolio-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

.portfolio-image.loaded {
    animation: none;
    background: none;
}

/* Contact Modal Styles */
.contact-modal {
    font-family: 'Source Sans 3', sans-serif;
}

.contact-modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.contact-option {
    transition: all 0.3s ease !important;
}

.contact-option:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
}

.close-modal:hover {
    color: #DC143C !important;
}

@media (max-width: 768px) {
    .contact-modal-content {
        width: 95% !important;
        padding: 25px 20px !important;
        margin: 20px !important;
    }
    
    .contact-option {
        padding: 12px !important;
        font-size: 14px !important;
    }
}

/* Admin Uploaded Photos Section */
.admin-photos-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.admin-photos-grid {
    column-count: 4;
    column-gap: 20px;
    margin-top: 50px;
}

/* Frontend photo grid - masonry/zig-zag layout */
.photo-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Admin panel photo items */
.admin-photo-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.admin-photo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.admin-photo-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.admin-photo-item:hover .admin-photo-thumbnail {
    transform: scale(1.05);
}

.admin-photo-info {
    padding: 20px;
}

.admin-photo-info h4 {
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.admin-photo-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.admin-photo-event {
    color: #DC143C;
    font-weight: 600;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: white;
}

.events-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
}

.filter-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #DC143C;
    color: #DC143C;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #DC143C;
    color: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-event-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    height: 180px;
}

.gallery-event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.15);
}

.gallery-event-thumbnail {
    width: 240px;
    min-width: 240px;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-event-item:hover .gallery-event-thumbnail {
    transform: scale(1.08);
}

.gallery-event-info {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    position: relative;
}

.gallery-event-info h3 {
    color: #DC143C;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.3;
}

.gallery-event-info p {
    color: #666;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gallery-event-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-event-date::before {
    content: '📅';
    font-size: 14px;
}

.gallery-event-count {
    background: linear-gradient(135deg, #DC143C, #FF6B6B);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.gallery-event-count::before {
    content: '📷';
    font-size: 13px;
}

/* Mobile: Keep side-by-side but adjust sizing */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-event-item {
        height: 150px;
    }
    
    .gallery-event-thumbnail {
        width: 150px;
        min-width: 150px;
    }
    
    .gallery-event-info {
        padding: 15px;
    }
    
    .gallery-event-info h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .gallery-event-info p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .gallery-event-date {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .gallery-event-count {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Event Photos Modal */
.event-photos-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.event-photos-modal.active {
    display: flex;
}

.event-photos-modal .modal-content {
    background: white;
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    width: 1200px;
    overflow: hidden;
}

.event-photos-modal .modal-header {
    padding: 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-photos-modal .modal-header h3 {
    color: #DC143C;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.event-photos-modal .modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
}

.event-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.event-photo-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: white;
    aspect-ratio: 1 / 1;
}

.event-photo-item:hover {
    transform: scale(1.05);
}

.event-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Photo Lightbox */
.photo-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.photo-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10002;
}

.lightbox-close:hover {
    color: #DC143C;
}

#lightboxImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-info {
    color: white;
    margin-top: 20px;
}

.lightbox-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.lightbox-info p {
    color: #ccc;
    font-size: 14px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(220, 20, 60, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    pointer-events: all;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #DC143C;
    transform: scale(1.1);
}

.lightbox-prev {
    margin-left: -70px;
}

.lightbox-next {
    margin-right: -70px;
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    /* Mobile: 2 columns for masonry layout */
    .admin-photos-grid {
        column-count: 2;
        column-gap: 15px;
    }
    
    .events-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .event-photos-modal .modal-content {
        width: 95%;
        max-height: 85%;
    }
    
    .event-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .lightbox-prev {
        margin-left: -60px;
    }
    
    .lightbox-next {
        margin-right: -60px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Tablet breakpoint for masonry */
@media (min-width: 769px) and (max-width: 1024px) {
    .admin-photos-grid {
        column-count: 3;
    }
}

/* Desktop large screens */
@media (min-width: 1400px) {
    .admin-photos-grid {
        column-count: 5;
    }
}

/* ============================================
   MOBILE APP STYLE FOOTER MENU
   ============================================ */

.mobile-footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 10px 0 max(10px, env(safe-area-inset-bottom));
    border-top: 2px solid #DC143C;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 10px;
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666666;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
    min-width: 60px;
    position: relative;
}

.footer-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.footer-nav-item span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

/* Active state */
.footer-nav-item.active {
    color: #DC143C;
}

.footer-nav-item.active i {
    transform: translateY(-3px);
}

.footer-nav-item.active::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 4px;
    background: linear-gradient(90deg, #DC143C, #FF6B6B);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.4);
}

/* Hover effect for desktop */
@media (hover: hover) {
    .footer-nav-item:hover {
        color: #DC143C;
        background: rgba(220, 20, 60, 0.08);
    }
    
    .footer-nav-item:hover i {
        transform: translateY(-3px) scale(1.1);
    }
}

/* Touch feedback for mobile */
.footer-nav-item:active {
    transform: scale(0.95);
    background: rgba(220, 20, 60, 0.12);
}

/* Instagram special styling */
.footer-nav-item:nth-child(5) i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-nav-item:nth-child(5).active i,
.footer-nav-item:nth-child(5):hover i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Add padding to body to prevent content hiding behind footer */
body {
    padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .footer-nav-item {
        padding: 6px 8px;
        min-width: 50px;
    }
    
    .footer-nav-item i {
        font-size: 20px;
        margin-bottom: 3px;
    }
    
    .footer-nav-item span {
        font-size: 10px;
    }
}

/* Hide on very small screens if needed */
@media (max-width: 350px) {
    .footer-nav-item span {
        display: none;
    }
    
    .footer-nav-item i {
        margin-bottom: 0;
        font-size: 24px;
    }
    
    body {
        padding-bottom: 60px;
    }
    
    .mobile-footer-menu {
        padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    }
}

/* Desktop - center the footer menu */
@media (min-width: 769px) {
    .mobile-footer-menu {
        left: 50%;
        transform: translateX(-50%);
        max-width: 600px;
        border-radius: 20px 20px 0 0;
        border-left: 1px solid rgba(220, 20, 60, 0.2);
        border-right: 1px solid rgba(220, 20, 60, 0.2);
    }
}

/* Animation on scroll */
@keyframes slideUpFooter {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-footer-menu {
    animation: slideUpFooter 0.5s ease-out;
}

/* Hide footer when lightbox is open */
.photo-lightbox.active ~ .mobile-footer-menu,
.event-photos-modal.active ~ .mobile-footer-menu {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* Special effects for icons */
.footer-nav-item i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-nav-item.active i {
    filter: drop-shadow(0 4px 8px rgba(220, 20, 60, 0.4));
}
