/* assets/css/main.css */

:root {
    --primary: #D4AF37;
    --secondary: #F5D576;
    --accent: #C9A961;
    --gold: #D4AF37;
    --dark: #0A0A0A;
    --glass: rgba(15, 15, 15, 0.75);
    --glass-border: rgba(212, 175, 55, 0.4);
}

html {
    scroll-behavior: smooth;
}

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

body {
    background: var(--dark);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

h1,
h2,
h3,
.serif-font {
    font-family: 'Playfair Display', serif;
}

/* Solid Black Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 70%),
        #0A0A0A;
    z-index: -2;
}

/* 3D Canvas Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    width: 0%;
    z-index: 100;
    box-shadow: 0 0 20px var(--primary);
    transition: width 0.1s ease;
}

/* Advanced Glassmorphism */
.glass-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(212, 175, 55, 0.1),
            transparent);
    transition: left 0.6s;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(212, 175, 55, 0.6);
}

.glass-card:hover::before {
    left: 100%;
}

/* Nav Glass */
.nav-glass {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

.nav-link:hover,
.nav-link:active {
    color: var(--primary) !important;
    transform: translateY(-5px);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

/* Gradient Text - Gold only, no purple */
.gradient-text {
    background: linear-gradient(135deg, #C9A961, #D4AF37, #F5D576);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Button */
.glow-btn {
    position: relative;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #C9A961, #D4AF37);
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

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

.glow-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.7);
}

.glow-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Neumorphic Button Style - Adapted for Dark Background */
.neu-button {
    background-color: #0A0A0A;
    border-radius: 50px;
    box-shadow: 4px 4px 10px #050505, -4px -4px 10px #151515;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.6rem 1.8rem;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(212, 175, 55, 0.15);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.neu-button:hover {
    box-shadow: inset 2px 2px 5px #050505, inset -2px -2px 5px #151515, 0 0 15px rgba(212, 175, 55, 0.2);
    color: white;
    border-color: var(--primary);
    transform: translateY(1px);
}

.neu-button:focus {
    outline: none;
}

/* Section Settings */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 1rem;
    opacity: 0;
    transform: translateY(50px);
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0A0A0A, #1a1a1a);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    border-top-color: #D4AF37;
    border-right-color: #F5D576;
    border-bottom-color: #C9A961;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    margin-bottom: 2rem;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

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

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    width: 0%;
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--primary);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media(min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 200px);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Floating Animation */
@keyframes float {

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
    }

    section {
        padding: 4rem 1rem;
    }

    #sec-footer {
        padding-bottom: 8rem !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--accent));
}

/* Custom Gallery Card Style */
.custom-card {
    width: 100%;
    border-radius: 20px;
    background: #0f0f0f;
    padding: 5px;
    overflow: hidden;
    box-shadow: rgba(212, 175, 55, 0.2) 0px 7px 20px 0px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.custom-card:hover {
    transform: scale(1.05);
}

.custom-card .card-top {
    height: 200px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(45deg, #C9A961 0%, #D4AF37 50%, #F5D576 100%);
    position: relative;
    overflow: hidden;
}

.custom-card .card-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.custom-card .card-top .border {
    border-bottom-right-radius: 10px;
    height: 30px;
    width: 130px;
    background: #0f0f0f;
    position: relative;
    transform: skew(-40deg);
    box-shadow: -10px -10px 0 0 #0f0f0f;
    z-index: 10;
}

.custom-card .card-top .border::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    top: 0;
    right: -15px;
    background: rgba(255, 255, 255, 0);
    border-top-left-radius: 10px;
    box-shadow: -5px -5px 0 2px #0f0f0f;
}

.custom-card .card-top::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    background: rgba(255, 255, 255, 0);
    height: 15px;
    width: 15px;
    border-top-left-radius: 15px;
    box-shadow: -5px -5px 0 2px #0f0f0f;
    z-index: 10;
}

.custom-card .card-top .icons {
    position: absolute;
    top: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: space-between;
    z-index: 11;
}

.custom-card .card-top .icons .logo {
    height: 100%;
    padding: 7px 0 7px 15px;
    display: flex;
    align-items: center;
    color: #D4AF37;
    font-weight: 800;
    font-size: 0.75rem;
}

.custom-card .card-bottom {
    margin-top: 15px;
    padding: 10px 5px;
}

.custom-card .card-bottom .title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #D4AF37;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.custom-card .card-bottom .description {
    font-size: 11px;
    color: rgba(212, 175, 55, 0.7);
    text-align: center;
    line-height: 1.4;
}

/* Team Glass Card Container */
.team-container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.team-container .team-glass {
    position: relative;
    width: 180px;
    height: 240px;
    background: linear-gradient(rgba(212, 175, 55, 0.1), transparent);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg));
    margin: 0 -20px;
    cursor: pointer;
}

.team-container .team-glass:hover {
    transform: rotate(0deg);
    margin: 0 10px;
    z-index: 1000;
}

.team-container .team-glass .team-footer-btn {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: rgba(212, 175, 55, 0.15);
    border: none;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #D4AF37;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: inherit;
    z-index: 100;
    pointer-events: none;
}

.team-container .team-glass .team-footer-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
    letter-spacing: 2px;
}

.team-container .team-glass .team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #D4AF37;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.team-container .team-glass .team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-container .team-glass .team-name {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
}

.team-container .team-glass .team-role {
    color: rgba(212, 175, 55, 0.8);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Social Grid Desktop */
.social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .team-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 5px;
        justify-content: center;
        width: 100%;
    }

    .team-container .team-glass {
        margin: 0;
        transform: rotate(0deg);
        width: 100%;
        height: 220px;
    }

    .team-container .team-glass .team-footer-btn {
        height: 40px;
        font-size: 0.75rem;
    }

    .team-container .team-glass .team-avatar {
        width: 80px;
        height: 80px;
    }

    .social-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-content: center;
        padding: 0 10px;
    }
}