/* モダンなFRECHウェブサイト用追加スタイル */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #2c2c2c;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --max-width: 1200px;
}

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

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Modern Header */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.modern-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.modern-logo:hover {
    color: var(--secondary-color);
}

.modern-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.modern-nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.modern-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.modern-nav-links a:hover::after {
    width: 100%;
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    margin-top: 15vh; /* 動画の「frech」文字を避けるため下に移動 */
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Hero Button Styling */
.hero-content .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.hero-content .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.hero-content .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-content .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* Hero Content Animation for Video Overlap */
.hero-content {
    margin-top: 15vh !important;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease-out 4s forwards; /* タイトル4秒後に表示 */
    backdrop-filter: blur(2px);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease-out 4.5s forwards; /* 4.5秒後 */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease-out 5s forwards; /* 5秒後 */
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content > div:last-child {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.2s ease-out 5.5s forwards; /* ボタン最後、5.5秒後 */
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 10vh !important;
    }
}

/* Hero Content Fade In Animation */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Buttons */
.modern-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.modern-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: var(--transition);
}

.modern-btn:hover::before {
    left: 100%;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.modern-btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.modern-btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

/* Modern Card Components */
.modern-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

/* Modern Grid System */
.modern-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 2rem 0;
}

.modern-section {
    padding: 5rem 0;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.modern-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modern-section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern Gallery */
.modern-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Modern About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Modern Footer */
.modern-footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    width: 100%;
    max-width: 1000px;
    justify-items: center;
    place-items: center;
}

.footer-grid .modern-card {
    text-align: center;
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.footer-grid .modern-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-grid .modern-card p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid .modern-card a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-grid .modern-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    opacity: 0.6;
    text-align: center;
    width: 100%;
}

/* Enhanced Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: var(--transition);
    padding: 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    margin-top: 4rem;
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-links li {
    margin: 1.5rem 0;
}

.mobile-menu-links a {
    display: block;
    padding: 1rem 0;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.mobile-menu-links a:hover {
    color: var(--secondary-color);
    padding-left: 1rem;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: var(--transition);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    pointer-events: auto;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.mobile-menu-close span {
    display: block;
    line-height: 1;
}

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

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInRotate {
    0% {
        transform: rotate(-10deg);
        opacity: 0;
    }
    100% {
        transform: rotate(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 107, 0.6);
    }
}

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

.animate-slide-left {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.animate-scale {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-rotate {
    animation: fadeInRotate 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Staggered animations */
.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.5s; }
.animate-stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-tilt {
    transition: var(--transition);
}

.hover-tilt:hover {
    transform: rotate(2deg) scale(1.02);
}

.hover-glow {
    transition: var(--transition);
}

.hover-glow:hover {
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
}

/* Text Effects */
.text-shimmer {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Micro-interactions */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom cursor effects */
.custom-cursor {
    cursor: none;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
}

/* Particle Effects Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particle-float 10s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Gallery Hover Effects */
.gallery-item-enhanced {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: #000;
}

.gallery-item-enhanced img {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.8);
}

.gallery-item-enhanced:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1);
}

.gallery-item-enhanced::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;
    z-index: 1;
}

.gallery-item-enhanced:hover::before {
    left: 100%;
}

/* Modern Toggle Switch */
.modern-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: #ccc;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.modern-toggle.active {
    background: var(--secondary-color);
}

.modern-toggle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modern-toggle.active::before {
    transform: translateX(30px);
}

/* Notification Toast */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 10000;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: #4ecdc4;
}

.toast.error {
    background: #ff6b6b;
}

.toast.warning {
    background: #feca57;
}

/* Enhanced Button Styles */
.btn-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient > * {
    position: relative;
    z-index: 1;
}

/* Enhanced Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .footer-grid .modern-card {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem auto;
        text-align: center;
        justify-items: center;
    }
    
    .footer-grid .modern-card {
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .modern-footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        padding: 0 1rem;
        text-align: center;
    }
    
    .footer-brand {
        font-size: 1.8rem;
    }
    
    .footer-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        margin-bottom: 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-grid .modern-card {
        padding: 1.5rem;
    }
    
    .footer-grid .modern-card h4 {
        font-size: 1.1rem;
    }
    
    .footer-grid .modern-card p {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Desktop Footer Center Alignment Fix */
@media (min-width: 1025px) {
    .footer-grid {
        justify-content: center;
        justify-items: center;
        place-items: center;
        text-align: center;
    }
    
    .footer-grid .modern-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 0 auto;
    }
    
    .footer-grid .modern-card h4 {
        text-align: center;
        margin: 0 auto 1rem auto;
    }
    
    .footer-grid .modern-card p {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-content {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

/* Additional Footer Centering for All Screen Sizes */
.modern-footer {
    text-align: center;
}

.footer-content {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid .modern-card {
    text-align: center;
    margin: 0 auto;
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #ffffff;
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #1a1a1a;
        --bg-dark: #000000;
    }
    
    .modern-header {
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modern-card {
        background: #2a2a2a;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu {
        background: #1a1a1a;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
.modern-btn:focus,
.modern-nav-links a:focus,
.social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient {
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--primary-color);
    }
    
    .glass-effect {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-section {
        padding: 3rem 1rem;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 768px) {
    .modern-nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .modern-nav {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modern-section {
        padding: 2rem 1rem;
    }
    
    .modern-section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .footer-content > div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .hero-content > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .modern-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .modern-card {
        padding: 1.5rem;
    }
    
    .modern-section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

/* Desktop Footer Center Alignment Fix */
@media (min-width: 1025px) {
    .footer-grid {
        justify-content: center;
        justify-items: center;
        place-items: center;
        text-align: center;
    }
    
    .footer-grid .modern-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 0 auto;
    }
    
    .footer-grid .modern-card h4 {
        text-align: center;
        margin: 0 auto 1rem auto;
    }
    
    .footer-grid .modern-card p {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-content {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

/* Additional Footer Centering for All Screen Sizes */
.modern-footer {
    text-align: center;
}

.footer-content {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid .modern-card {
    text-align: center;
    margin: 0 auto;
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #ffffff;
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #1a1a1a;
        --bg-dark: #000000;
    }
    
    .modern-header {
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modern-card {
        background: #2a2a2a;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu {
        background: #1a1a1a;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
.modern-btn:focus,
.modern-nav-links a:focus,
.social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient {
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--primary-color);
    }
    
    .glass-effect {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-section {
        padding: 3rem 1rem;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 768px) {
    .modern-nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .modern-nav {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modern-section {
        padding: 2rem 1rem;
    }
    
    .modern-section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .footer-content > div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .hero-content > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .modern-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .modern-card {
        padding: 1.5rem;
    }
    
    .modern-section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

/* Desktop Footer Center Alignment Fix */
@media (min-width: 1025px) {
    .footer-grid {
        justify-content: center;
        justify-items: center;
        place-items: center;
        text-align: center;
    }
    
    .footer-grid .modern-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 0 auto;
    }
    
    .footer-grid .modern-card h4 {
        text-align: center;
        margin: 0 auto 1rem auto;
    }
    
    .footer-grid .modern-card p {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-content {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

/* Additional Footer Centering for All Screen Sizes */
.modern-footer {
    text-align: center;
}

.footer-content {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid .modern-card {
    text-align: center;
    margin: 0 auto;
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #ffffff;
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #1a1a1a;
        --bg-dark: #000000;
    }
    
    .modern-header {
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modern-card {
        background: #2a2a2a;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu {
        background: #1a1a1a;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
.modern-btn:focus,
.modern-nav-links a:focus,
.social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient {
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--primary-color);
    }
    
    .glass-effect {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-section {
        padding: 3rem 1rem;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 768px) {
    .modern-nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .modern-nav {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modern-section {
        padding: 2rem 1rem;
    }
    
    .modern-section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .footer-content > div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .hero-content > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .modern-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .modern-card {
        padding: 1.5rem;
    }
    
    .modern-section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

/* Desktop Footer Center Alignment Fix */
@media (min-width: 1025px) {
    .footer-grid {
        justify-content: center;
        justify-items: center;
        place-items: center;
        text-align: center;
    }
    
    .footer-grid .modern-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 0 auto;
    }
    
    .footer-grid .modern-card h4 {
        text-align: center;
        margin: 0 auto 1rem auto;
    }
    
    .footer-grid .modern-card p {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-content {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

/* Additional Footer Centering for All Screen Sizes */
.modern-footer {
    text-align: center;
}

.footer-content {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid .modern-card {
    text-align: center;
    margin: 0 auto;
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #ffffff;
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #1a1a1a;
        --bg-dark: #000000;
    }
    
    .modern-header {
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modern-card {
        background: #2a2a2a;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu {
        background: #1a1a1a;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
.modern-btn:focus,
.modern-nav-links a:focus,
.social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient {
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--primary-color);
    }
    
    .glass-effect {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-section {
        padding: 3rem 1rem;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 768px) {
    .modern-nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .modern-nav {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modern-section {
        padding: 2rem 1rem;
    }
    
    .modern-section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .footer-content > div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .hero-content > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .modern-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .modern-card {
        padding: 1.5rem;
    }
    
    .modern-section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

/* Desktop Footer Center Alignment Fix */
@media (min-width: 1025px) {
    .footer-grid {
        justify-content: center;
        justify-items: center;
        place-items: center;
        text-align: center;
    }
    
    .footer-grid .modern-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 0 auto;
    }
    
    .footer-grid .modern-card h4 {
        text-align: center;
        margin: 0 auto 1rem auto;
    }
    
    .footer-grid .modern-card p {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-content {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

/* Additional Footer Centering for All Screen Sizes */
.modern-footer {
    text-align: center;
}

.footer-content {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid .modern-card {
    text-align: center;
    margin: 0 auto;
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #ffffff;
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #1a1a1a;
        --bg-dark: #000000;
    }
    
    .modern-header {
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modern-card {
        background: #2a2a2a;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu {
        background: #1a1a1a;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
.modern-btn:focus,
.modern-nav-links a:focus,
.social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient {
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--primary-color);
    }
    
    .glass-effect {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-section {
        padding: 3rem 1rem;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 768px) {
    .modern-nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .modern-nav {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modern-section {
        padding: 2rem 1rem;
    }
    
    .modern-section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .footer-content > div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .hero-content > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .modern-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .modern-card {
        padding: 1.5rem;
    }
    
    .modern-section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

/* Desktop Footer Center Alignment Fix */
@media (min-width: 1025px) {
    .footer-grid {
        justify-content: center;
        justify-items: center;
        place-items: center;
        text-align: center;
    }
    
    .footer-grid .modern-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin: 0 auto;
    }
    
    .footer-grid .modern-card h4 {
        text-align: center;
        margin: 0 auto 1rem auto;
    }
    
    .footer-grid .modern-card p {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-content {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}

/* Additional Footer Centering for All Screen Sizes */
.modern-footer {
    text-align: center;
}

.footer-content {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.footer-grid .modern-card {
    text-align: center;
    margin: 0 auto;
}

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #ffffff;
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #1a1a1a;
        --bg-dark: #000000;
    }
    
    .modern-header {
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modern-card {
        background: #2a2a2a;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu {
        background: #1a1a1a;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
.modern-btn:focus,
.modern-nav-links a:focus,
.social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient {
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--primary-color);
    }
    
    .glass-effect {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-section {
        padding: 3rem 1rem;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 768px) {
    .modern-nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .modern-nav {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modern-section {
        padding: 2rem 1rem;
    }
    
    .modern-section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .footer-content > div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .hero-content > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .modern-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .modern-card {
        padding: 1.5rem;
    }
    
    .modern-section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.modern-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: var(--transition);
}

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

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: loadProgress 2s ease-in-out forwards;
}

@keyframes loadProgress {
    to {
        width: 100%;
    }
}

/* Parallax Effect */
.parallax-container {
    height: 50vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Modern Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius);
}

/* Modern Typography Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.opacity-80 { opacity: 0.8; }
.opacity-60 { opacity: 0.6; }

/* Performance Optimizations */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #ffffff;
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #1a1a1a;
        --bg-dark: #000000;
    }
    
    .modern-header {
        background: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modern-card {
        background: #2a2a2a;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu {
        background: #1a1a1a;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* Focus styles for keyboard navigation */
.modern-btn:focus,
.modern-nav-links a:focus,
.social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gradient {
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--primary-color);
    }
    
    .glass-effect {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-section {
        padding: 3rem 1rem;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 768px) {
    .modern-nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .modern-nav {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modern-section {
        padding: 2rem 1rem;
    }
    
    .modern-section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .footer-content > div {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .hero-content > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .modern-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .modern-card {
        padding: 1.5rem;
    }
    
    .modern-section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.modern-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: var(--transition);
}

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

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: loadProgress 2s ease-in-out forwards;
}

@keyframes loadProgress {
    to {
        width: 100%;
    }
}

/* Parallax Effect */
.parallax-container {
    height: 50vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Modern Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius);
}

/* Modern Typography Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.opacity-80 { opacity: 0.8; }
.opacity-60 { opacity: 0.6; }