/* ===================================================================
   DIFFERENCE - Complete Black & White Modern Theme
   Minimalist Aesthetic with Sri Lankan Traditional Patterns
   + Unified Navigation System
   =================================================================== */

/* ===================================================================
   1. CSS VARIABLES & RESET
   =================================================================== */

:root {
    --pure-black: #000000;
    --deep-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2d2d2d;
    --light-gray: #707070;
    --pure-white: #ffffff;
    --off-white: #f5f5f5;
    --border-gray: #333333;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--pure-black);
    color: var(--pure-white);
}

/* ===================================================================
   FIXED: MOBILE MENU VISIBILITY ISSUE
   Professional Fullscreen Menu - Now Working!
   =================================================================== */

/* ===================================================================
   1. NAVIGATION BASE STYLES
   =================================================================== */

.nav-menu {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================================
   2. DESKTOP NAVIGATION (≥768px)
   =================================================================== */

@media (min-width: 768px) {
    .nav-menu {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 3rem;
        position: static;
        background: transparent;
        border: none;
        padding: 0;
        backdrop-filter: none;
    }

    .nav-link {
        display: flex;
        align-items: center;
        position: relative;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: rgb(156, 163, 175);
        transition: color 0.3s ease;
        padding: 0.5rem 0;
        text-decoration: none;
    }

    .nav-link:hover {
        color: rgb(255, 255, 255);
    }

    .nav-link.active {
        color: rgb(255, 255, 255);
    }

    /* Desktop underline effect */
    .nav-link::before {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        width: 0;
        height: 2px;
        background: rgb(255, 255, 255);
        transform: translateX(-50%);
        transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: 100%;
    }

    /* Hide social links on desktop */
    .social-links {
        display: none;
    }
}

/* ===================================================================
   3. MOBILE FULLSCREEN MENU (<768px) - FIXED!
   =================================================================== */

@media (max-width: 767px) {

    /* IMPORTANT: Remove the 'hidden' class behavior on mobile */
    .nav-menu.hidden {
        display: flex !important;
        /* Override Tailwind's hidden class */
    }

    /* Fullscreen Menu Container */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        width: 100vw;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex !important;
        /* Force display */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        /* Prevent interaction when closed */
        transform: scale(0.95);
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 50;
    }

    /* Active state - Menu open */
    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        /* Allow interaction when open */
        transform: scale(1) !important;
    }

    /* Navigation Links - Fullscreen Style */
    .nav-link {
        display: block;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.3);
        text-decoration: none;
        padding: 1rem 0;
        margin: 0.5rem 0;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        opacity: 0;
        transform: translateY(30px);
    }

    /* Link animations - staggered entrance */
    .nav-menu.active .nav-link:nth-child(1) {
        animation: slideInUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s forwards;
    }

    .nav-menu.active .nav-link:nth-child(2) {
        animation: slideInUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s forwards;
    }

    .nav-menu.active .nav-link:nth-child(3) {
        animation: slideInUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s forwards;
    }

    .nav-menu.active .nav-link:nth-child(4) {
        animation: slideInUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s forwards;
    }

    /* Hover state */
    .nav-link:hover {
        color: rgba(255, 255, 255, 1);
        transform: translateX(10px);
    }

    /* Active page state */
    .nav-link.active {
        color: rgba(255, 255, 255, 1);
        font-size: 2.2rem;
    }

    /* Underline effect on hover */
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0.5rem;
        left: 0;
        width: 0;
        height: 3px;
        background: white;
        transition: width 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    /* Social Links Container */
    .social-links {
        display: block;
        margin-top: 3rem;
        opacity: 0;
        transform: translateY(30px);
    }

    .nav-menu.active .social-links {
        animation: slideInUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s forwards;
    }

    .divider {
        height: 1px;
        width: 200px;
        background: linear-gradient(90deg, transparent, white, transparent);
        margin: 0 auto 2rem;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .social-icon {
        color: rgba(255, 255, 255, 0.5);
        font-size: 1.5rem;
        transition: all 0.3s ease;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
    }

    .social-icon:hover {
        color: white;
        border-color: white;
        transform: scale(1.1) rotate(5deg);
    }
}

/* ===================================================================
   4. HAMBURGER MENU ICON
   =================================================================== */

.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Animated hamburger to X */
#mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

#mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

#mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* ===================================================================
   5. ANIMATIONS
   =================================================================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Grid pattern overlay for fullscreen menu */
@media (max-width: 767px) {
    .nav-menu::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
        background-size: 50px 50px;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .nav-menu.active::before {
        opacity: 1;
    }
}

/* ===================================================================
   6. ACCESSIBILITY & RESPONSIVE
   =================================================================== */

/* Focus states */
a:focus,
button:focus {
    outline: 2px solid white;
    outline-offset: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Small mobile devices */
@media (max-width: 374px) {
    .nav-link {
        font-size: 1.5rem !important;
    }

    .nav-link.active {
        font-size: 1.7rem !important;
    }
}

/* ===================================================================
   5. ANIMATIONS
   =================================================================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Grid pattern overlay for fullscreen menu */
@media (max-width: 767px) {
    .nav-menu::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
        background-size: 50px 50px;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .nav-menu.active::before {
        opacity: 1;
    }
}

/* ===================================================================
   6. ACCESSIBILITY & RESPONSIVE
   =================================================================== */

/* Focus states */
a:focus,
button:focus {
    outline: 2px solid white;
    outline-offset: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Small mobile devices */
@media (max-width: 374px) {
    .nav-link {
        font-size: 1.5rem !important;
    }

    .nav-link.active {
        font-size: 1.7rem !important;
    }
}

/* ===================================================================
   3. TRADITIONAL SRI LANKAN PATTERNS
   =================================================================== */

/* Traditional Sri Lankan Border Pattern - Monochrome */
.sri-lankan-border {
    position: relative;
    border-top: 2px solid var(--pure-white);
}

.sri-lankan-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            var(--pure-white) 0%,
            var(--pure-white) 15%,
            transparent 15%,
            transparent 30%,
            var(--pure-white) 30%,
            var(--pure-white) 45%,
            transparent 45%,
            transparent 60%);
    background-size: 60px 2px;
    background-repeat: repeat-x;
}

/* Geometric Pattern Background */
.pattern-bg {
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%),
        linear-gradient(60deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%);
    background-size: 100px 100px;
}

/* Grid Pattern with Background Image */
.grid-pattern {
    background-image: url("https://differencez.lk/assets/images/bg_1.jpeg?V=01.10.10.2025");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Diagonal Stripe Pattern */
.stripe-pattern {
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px);
}

/* Modern Weave Pattern */
.weave-pattern {
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(255, 255, 255, 0.02) 15px, rgba(255, 255, 255, 0.02) 30px),
        repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(255, 255, 255, 0.02) 15px, rgba(255, 255, 255, 0.02) 30px);
}

/* Dot Pattern */
.dot-pattern {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ===================================================================
   4. ANIMATIONS
   =================================================================== */

/* Float Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }
}

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

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.fade-in-up {
    animation: fadeInUp 1.2s ease-out forwards;
    opacity: 0;
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

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

/* Border Glow Animation */
@keyframes borderGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

.border-glow {
    animation: borderGlow 2.5s infinite;
}

/* Text Reveal Clip Animation */
@keyframes textReveal {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.text-reveal {
    animation: textReveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--pure-white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Mobile Menu Slide */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

.mobile-menu {
    animation: slideIn 0.4s ease-out;
}

/* Scale Up Animation */
@keyframes scaleUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.scale-up {
    animation: scaleUp 0.6s ease-out forwards;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

.delay-700 {
    animation-delay: 0.7s;
}

.delay-800 {
    animation-delay: 0.8s;
}

/* ===================================================================
   5. SCROLL REVEAL ANIMATIONS
   =================================================================== */

/* Smooth Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Slide In From Left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Slide In From Right */
.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Image Reveal */
.image-reveal {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-reveal.active {
    clip-path: inset(0 0 0 0);
}

/* ===================================================================
   6. BUTTONS & FORMS
   =================================================================== */

/* Modern Button Primary - WHITE BUTTON */
.btn-primary {
    background: var(--pure-white);
    color: var(--pure-black);
    padding: 1.2rem 3rem;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    border: 2px solid var(--pure-white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--pure-black);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: var(--pure-white);
    /* White text on black background */
    border-color: var(--pure-white);
}

.btn-primary:hover::before {
    left: 0;
}

/* Modern Button Secondary - TRANSPARENT BUTTON */
.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    padding: 1.2rem 3rem;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    border: 2px solid var(--pure-white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--pure-white);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--pure-black);
    /* Black text on white background */
    border-color: var(--pure-white);
}

.btn-secondary:hover::before {
    left: 0;
}

/* Button Focus States */
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid var(--pure-white);
    outline-offset: 4px;
}

/* Button Active States */
.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* Disabled State */
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===================================================================
   BUTTON VARIANTS FOR DIFFERENT BACKGROUNDS
   =================================================================== */

/* On White Background - Use Inverted Colors */
.bg-white .btn-primary,
.bg-white .btn-secondary {
    border-color: var(--pure-black);
}

.bg-white .btn-primary {
    background: var(--pure-black);
    color: var(--pure-white);
}

.bg-white .btn-primary::before {
    background: var(--pure-white);
}

.bg-white .btn-primary:hover {
    color: var(--pure-black);
}

.bg-white .btn-secondary {
    background: transparent;
    color: var(--pure-black);
}

.bg-white .btn-secondary::before {
    background: var(--pure-black);
}

.bg-white .btn-secondary:hover {
    color: var(--pure-white);
}

/* ===================================================================
   RESPONSIVE BUTTON SIZING
   =================================================================== */

@media (max-width: 768px) {

    .btn-primary,
    .btn-secondary {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        letter-spacing: 1px;
    }
}

/* Form Input Styles */
.form-input {
    background: var(--dark-gray);
    border: 2px solid var(--border-gray);
    color: var(--pure-white);
    padding: 1.2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--pure-white);
    background: var(--medium-gray);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.form-input::placeholder {
    color: var(--light-gray);
}

/* ===================================================================
   7. CARDS & COMPONENTS
   =================================================================== */

/* Card Hover Effect - Modern */
.hover-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-gray);
    background: var(--dark-gray);
}

.hover-card:hover {
    transform: translateY(-12px);
    border-color: var(--pure-white);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    background: var(--medium-gray);
}

/* Minimal Border Box */
.minimal-border {
    border: 2px solid var(--pure-white);
    position: relative;
    padding: 3rem;
}

.minimal-border::before,
.minimal-border::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--pure-white);
}

.minimal-border::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.minimal-border::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* Modern Corner Decoration */
.corner-decor {
    position: relative;
}

.corner-decor::before,
.corner-decor::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--pure-white);
}

.corner-decor::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner-decor::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Grid Item Hover */
.grid-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    transition: all 0.4s ease;
}

.grid-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pure-white);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.grid-item:hover {
    border-color: var(--pure-white);
}

.grid-item:hover::before {
    opacity: 0.1;
}

/* High Contrast Elements */
.high-contrast-border {
    border: 3px solid var(--pure-white);
    box-shadow: 0 0 0 1px var(--pure-black), 0 0 0 4px var(--pure-white);
}

/* ===================================================================
   8. EFFECTS & OVERLAYS
   =================================================================== */

/* Shine Effect on Hover */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::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.8s ease;
}

.shine-effect:hover::before {
    left: 100%;
}

/* Text Glow Effect */
.text-glow {
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
}

/* Hero Overlay */
.hero-overlay {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(10, 10, 10, 0.9) 50%,
            rgba(0, 0, 0, 0.95) 100%);
}

/* Modal Backdrop */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
}

/* Divider Line */
.divider-line {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--pure-white) 50%,
            transparent 100%);
}

/* Modern Underline Effect */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pure-white);
    transition: width 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animated-underline:hover::after {
    width: 100%;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===================================================================
   9. GALLERY
   =================================================================== */

/* Gallery Item Zoom */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--pure-black);
}

.gallery-item img {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
}

.gallery-item:hover img {
    transform: scale(1.15);
    filter: grayscale(0%);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

/* Monochrome Image Effect */
.mono-image {
    filter: grayscale(100%) contrast(120%);
    transition: filter 0.5s ease;
}

.mono-image:hover {
    filter: grayscale(0%) contrast(100%);
}

/* ===================================================================
   10. TYPOGRAPHY
   =================================================================== */

/* Typography */
.heading-primary {
    font-family: 'Cinzel', serif;
    letter-spacing: 4px;
    line-height: 1.2;
    font-weight: 700;
}

.text-body {
    font-family: 'Inter', sans-serif;
    line-height: 1.9;
    font-weight: 400;
}

/* ===================================================================
   11. FOOTER
   =================================================================== */

/* Footer Link */
.footer-link {
    color: var(--light-gray);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--pure-white);
    transform: translateX(8px);
}

/* ===================================================================
   12. SCROLLBAR
   =================================================================== */

/* Custom Scrollbar - Modern Black & White */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--pure-black);
    border-left: 1px solid var(--border-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--pure-white);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-gray);
}

/* ===================================================================
   13. ACCESSIBILITY & RESPONSIVE
   =================================================================== */

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid white;
    outline-offset: 4px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .heading-primary {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .minimal-border {
        padding: 2rem;
    }
}

/* ===================================================================
   14. PRINT STYLES
   =================================================================== */

@media print {
    .no-print {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* ===================================================================
   END OF STYLESHEET
   Version: 2.0
   Last Updated: October 10, 2025
   =================================================================== */