/* ============================================
   بوابة الاتقان - تصميم احترافي حديث
   ============================================ */

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

:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --secondary: #d4af37;
    --secondary-light: #e8d4a8;
    --accent: #f39c12;
    --dark: #0f1419;
    --light: #ffffff;
    --gray: #888888;
    --gray-light: #cccccc;
    --transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: 0.5px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}


/* ============================================
   Scrollbar Styling
   ============================================ */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37 0%, #e8d4a8 100%);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e8d4a8 0%, #f5f5f5 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}


/* ============================================
   Opening Page
   ============================================ */

.opening-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f1419 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.6s ease-out;
    overflow: hidden;
}

.opening-page.hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s ease-out;
    z-index: 11;
}

.splash-container.fade-out {
    opacity: 0;
}

.splash-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(243, 156, 18, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 12;
    text-align: center;
    max-width: 700px;
    padding: 40px;
    animation: splashFadeIn 0.8s ease-out;
}

@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash-logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: logoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
    position: relative;
    height: 200px;
}

.splash-logo::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.25) 0%, rgba(243, 156, 18, 0.15) 25%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 0;
    filter: blur(20px);
}

.splash-logo::after {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    border: 2.5px solid;
    border-image: linear-gradient(135deg, rgba(212, 175, 55, 0.6) 0%, rgba(243, 156, 18, 0.4) 50%, rgba(212, 175, 55, 0.2) 100%) 1;
    border-radius: 50%;
    animation: rotateBorder 20s linear infinite;
    box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.15), 0 0 40px rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.splash-logo-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(212, 175, 55, 0.7)) drop-shadow(0 0 120px rgba(243, 156, 18, 0.5)) brightness(1.1);
    position: relative;
    z-index: 3;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: logoFloatIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both, logoGlow 3s ease-in-out 1.6s infinite;
}

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: scale(0.2) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes logoFloatIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.4);
    }
    60% {
        opacity: 0.95;
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 60px rgba(212, 175, 55, 0.7)) drop-shadow(0 0 120px rgba(243, 156, 18, 0.5)) brightness(1.1);
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 80px rgba(212, 175, 55, 0.9)) drop-shadow(0 0 150px rgba(243, 156, 18, 0.7)) brightness(1.2);
        transform: scale(1.03);
    }
}

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

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.7;
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.splash-title {
    font-size: 60px;
    font-weight: 800;
    background: linear-gradient(135deg, #d4af37 0%, #f39c12 50%, #e8d4a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    margin-bottom: 15px;
    animation: slideDown 0.8s ease-out 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash-subtitle {
    font-size: 22px;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    animation: slideDown 0.8s ease-out 0.4s both;
}

.splash-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 30px auto;
    animation: slideDown 0.8s ease-out 0.5s both;
}

.splash-tagline {
    font-size: 16px;
    color: #e8d4a8;
    line-height: 1.8;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: slideDown 0.8s ease-out 0.6s both;
}

.splash-button {
    background: linear-gradient(135deg, #d4af37 0%, #f39c12 50%, #e8d4a8 100%);
    color: #0f1419;
    border: none;
    padding: 18px 55px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    animation: slideDown 0.8s ease-out 0.8s both;
}

.splash-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #e8d4a8 0%, #f5f5f5 100%);
}

.splash-button:active {
    transform: translateY(-1px);
}


/* ============================================
   Main Container
   ============================================ */

.main-container {
    opacity: 0;
    transition: opacity 0.8s ease-out 0.4s;
}

.main-container.visible {
    opacity: 1;
}


/* ============================================
   Header
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.header-logo:hover {
    transform: translateY(-2px);
}

.header-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
}

.header-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.brand-tagline {
    font-size: 11px;
    color: #888888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-item {
    color: var(--light);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f39c12);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: #d4af37;
}

.nav-item:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .header {
        padding: 12px 20px;
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }
    .brand-name {
        font-size: 14px;
    }
}


/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.05) 50%, transparent 70%), linear-gradient(-45deg, transparent 30%, rgba(243, 156, 18, 0.05) 50%, transparent 70%);
    animation: slideGradient 15s linear infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(243, 156, 18, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes slideGradient {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50%, 50%);
    }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.2) 0%, transparent 50%);
    transition: 0.3s ease;
    z-index: 2;
}

.hero-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.08) 1px, transparent 1px), radial-gradient(circle, rgba(243, 156, 18, 0.06) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px;
    background-position: 0 0, 40px 40px;
    animation: moveBackground 25s linear infinite;
    z-index: 3;
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 200px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    align-items: center;
}

.hero-text {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #d4af37 0%, #f39c12 50%, #e8d4a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.8px;
}

.hero-description {
    font-size: 16px;
    color: #e8d4a8;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    background: linear-gradient(135deg, #d4af37 0%, #f39c12 50%, #e8d4a8 100%);
    color: #0f1419;
    border: none;
    padding: 16px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(212, 175, 55, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}

.hero-image {
    text-align: center;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(212, 175, 55, 0.4)) drop-shadow(0 0 100px rgba(243, 156, 18, 0.25));
    animation: floatUp 3s ease-in-out infinite;
    position: relative;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    padding: 20px;
    transition: all 0.4s ease;
}

.hero-logo:hover {
    filter: drop-shadow(0 0 80px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 120px rgba(243, 156, 18, 0.4));
    transform: scale(1.05);
}

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 50px;
    }
    .hero-logo {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 40px 20px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .hero-logo {
        width: 200px;
        height: 200px;
    }
}


/* ============================================
   About Section
   ============================================ */

.about {
    padding: 80px 40px;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #0f1419 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #d4af37 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #e8d4a8;
    margin-bottom: 40px;
    font-weight: 300;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.about-card.fade-in {
    animation: cardFadeIn 0.6s ease-out forwards;
}

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

.about-card:hover {
    background: rgba(26, 26, 46, 0.9);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.about-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
}

.about-card h3 {
    font-size: 20px;
    color: #d4af37;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.about-card p {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.7;
    font-weight: 300;
}

@media (max-width: 768px) {
    .about {
        padding: 50px 20px;
    }
    .section-title {
        font-size: 32px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ============================================
   Projects Section
   ============================================ */

.projects-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.section-header {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-header .section-title {
    margin-bottom: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    background: #0f1419;
}

.gallery-item.loaded {
    animation: itemLoad 0.6s ease-out forwards;
}

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

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.gallery-icon {
    color: #d4af37;
    margin-bottom: 15px;
}

.overlay-text {
    color: #d4af37;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.gallery-info {
    text-align: center;
    color: #d4af37;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.8px;
}

@media (max-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 50px 20px;
    }
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
}


/* ============================================
   Lightbox Modal
   ============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
}

.lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lightboxFadeIn 0.4s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(243, 156, 18, 0.95));
    color: #0f1419;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 14px;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.8), rgba(243, 156, 18, 0.8));
    color: #0f1419;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-btn:hover {
    background: linear-gradient(135deg, #d4af37, #f39c12);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    right: auto;
    left: 20px;
}

.lightbox-next {
    right: 20px;
    left: auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.8), rgba(243, 156, 18, 0.8));
    color: #0f1419;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: linear-gradient(135deg, #d4af37, #f39c12);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-container {
        width: 95%;
        height: 95vh;
    }
    .lightbox-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .lightbox-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .image-counter {
        bottom: 10px;
        right: 10px;
        font-size: 12px;
        padding: 8px 15px;
    }
}


/* ============================================
   Footer
   ============================================ */

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    border-top: 2px solid rgba(212, 175, 55, 0.4);
    padding: 80px 40px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-section {
    opacity: 1;
    transform: translateY(0);
    animation: sectionFadeIn 0.8s ease-out forwards;
}

.footer-section.fade-in {
    animation: sectionFadeIn 0.8s ease-out forwards;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
    margin-bottom: 15px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37 0%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
}

.footer-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
}

.footer-section h4 {
    color: #d4af37;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.contact-item {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-item strong {
    color: #d4af37;
    font-weight: 600;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.social-link:hover {
    color: #d4af37;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.footer-bottom p {
    line-height: 1.8;
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 20px 30px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ============================================
   Animations and Utilities
   ============================================ */

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards !important;
}

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


/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
     :root {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
     :root {
        font-size: 14px;
    }
    .header {
        padding: 10px 15px;
    }
    .nav-menu {
        gap: 15px;
        font-size: 13px;
    }
}


/* ============================================
   Print Styles
   ============================================ */

@media print {
    .header,
    .lightbox,
    .cta-button,
    .splash-button {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}