@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* Tailwind Configuration Override */
:root {
    --primary: #ccac5c;
    --background-light: #f8f7f6;
    --background-dark: #0f0f0f;
    --card-dark: #1a1a1a;
    --neutral-gold: #35332c;
    --muted-gold: #b3aea2;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background-dark);
    color: #d1d1d1;
}

.glass-effect {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(204, 172, 92, 0.1);
}

.gold-glow {
    box-shadow: 0 0 20px rgba(204, 172, 92, 0.2);
}

.gold-border-hover:hover {
    border-color: rgba(204, 172, 92, 0.6);
    box-shadow: 0 0 15px rgba(204, 172, 92, 0.1);
}

.gold-text-gradient {
    background: linear-gradient(to right, #ccac5c, #f3e5ab, #ccac5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
    background: linear-gradient(135deg, rgba(204, 172, 92, 0.1) 0%, rgba(30, 27, 20, 1) 100%);
}

.text-glow-gold {
    text-shadow: 0 0 15px rgba(204, 172, 92, 0.3);
}

/* Animations */
html {
    scroll-behavior: smooth;
}

@keyframes loading {
    0% {
        width: 0%;
        transform: translateX(-100%);
    }

    50% {
        width: 100%;
        transform: translateX(0);
    }

    100% {
        width: 0%;
        transform: translateX(100%);
    }
}

@keyframes pulse-gold {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(204, 172, 92, 0.2);
    }

    50% {
        box-shadow: 0 0 35px rgba(204, 172, 92, 0.5);
    }
}

@keyframes float {

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

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

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes drawLine {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes shiftGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
}

.nav-link-hover {
    position: relative;
}

.nav-link-hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ccac5c;
    transition: width 0.3s ease;
}

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

.pulse-button {
    animation: pulse-gold 3s infinite;
}

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

.marquee-container {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-container:hover {
    animation-play-state: paused;
}

.card-hover-effect {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-10px);
    border-color: rgba(204, 172, 92, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.process-line-animate {
    width: 0;
    animation: drawLine 2s forwards;
    animation-play-state: paused;
}

.process-line-animate.active {
    animation-play-state: running;
}

.testimonial-tilt {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.testimonial-tilt:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
}

/* Additional utility classes */
.glass-morphism {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(204, 172, 92, 0.15);
}

.glass-card {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(204, 172, 92, 0.1);
}

.bg-glass {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
}

.floating-label-group {
    position: relative;
}

.floating-label-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-label-group input:focus+label,
.floating-label-group input:not(:placeholder-shown)+label,
.floating-label-group textarea:focus+label,
.floating-label-group textarea:not(:placeholder-shown)+label {
    top: -8px;
    left: 12px;
    font-size: 0.75rem;
    color: #ccac5c;
}

.accent-dark {
    color: rgba(204, 172, 92, 0.3);
}

.timeline-line {
    background: linear-gradient(to bottom, #ccac5c, transparent);
}

.mask-linear-gradient {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.gold-gradient-text {
    background: linear-gradient(135deg, #ccac5c 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.surface-dark {
    background-color: #1a1a1a;
}

.text-muted-gold {
    color: #b3aea2;
}

.neutral-gold {
    background-color: #35332c;
}

.neutral-dark {
    background-color: #1a1a1a;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* contact-pro.php styles */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(204, 172, 92, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(204, 172, 92, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(204, 172, 92, 0);
    }
}

.animate-pulse-gold {
    animation: pulse-gold 3s infinite;
}

.glass-panel {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(204, 172, 92, 0.15);
}

.glass-panel:hover {
    border-color: rgba(204, 172, 92, 0.4);
    box-shadow: 0 0 20px rgba(204, 172, 92, 0.05);
}

.input-glow:focus {
    box-shadow: 0 4px 12px -2px rgba(204, 172, 92, 0.2);
    border-bottom-color: #ccac5c;
}

.text-reveal {
    background: linear-gradient(to right, #ccac5c 50%, #ffffff 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1s ease-out;
}

.text-reveal-active {
    background-position: 0 0;
}

.footer-gradient {
    background: radial-gradient(circle at center, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.footer-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(204, 172, 92, 0.05) 0%, transparent 50%);
}

/* news-widget.php styles */
.glass-panel {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid #ccac5c;
    box-shadow: -4px 0 20px rgba(204, 172, 92, 0.15);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(204, 172, 92, 0.05);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ccac5c;
    border-radius: 10px;
}

.gold-glow {
    box-shadow: 0 0 15px rgba(204, 172, 92, 0.2);
}

.gold-border-glow {
    border: 1px solid rgba(204, 172, 92, 0.4);
    transition: all 0.3s ease;
}

.gold-border-glow:hover {
    border-color: #ccac5c;
    box-shadow: 0 0 10px rgba(204, 172, 92, 0.3);
}

/* portfolio.php styles */
.glass-nav {
    backdrop-filter: blur(12px);
    background-color: rgba(15, 15, 15, 0.8);
    border-bottom: 1px solid rgba(204, 172, 92, 0.1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px -10px rgba(204, 172, 92, 0.3);
}

.gold-underline {
    position: relative;
}

.gold-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ccac5c;
}

/* dashboard.php styles */
.glass-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(204, 172, 92, 0.2);
}

.gold-glow:hover {
    box-shadow: 0 0 15px rgba(204, 172, 92, 0.2);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.active-nav {
    border-left: 3px solid #ccac5c;
    background: linear-gradient(90deg, rgba(204, 172, 92, 0.1) 0%, transparent 100%);
    color: #ccac5c;
}

/* login.php styles */
.glass-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(204, 172, 92, 0.2);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(204, 172, 92, 0.05);
}

.gold-glow:focus-within {
    border-color: #ccac5c;
    box-shadow: 0 0 10px rgba(204, 172, 92, 0.3);
}

.floating-shape {
    position: absolute;
    background: radial-gradient(circle, rgba(204, 172, 92, 0.15) 0%, rgba(204, 172, 92, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.brand-text {
    font-family: 'Cinzel', serif;
}

input::placeholder {
    color: #4b4b4b;
}

/* services.php styles */
.glass-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(204, 172, 92, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 172, 92, 0.5);
    box-shadow: 0 0 20px rgba(204, 172, 92, 0.2);
}

.nav-glass {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(53, 51, 44, 0.5);
}

.gold-gradient-bg {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #35332c 100%);
}

.pulse-glow:hover {
    box-shadow: 0 0 25px rgba(204, 172, 92, 0.4);
}

/* about.php styles */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(204, 172, 92, 0.1);
}

.glass-card:hover {
    box-shadow: 0 0 20px rgba(204, 172, 92, 0.15);
    border-color: rgba(204, 172, 92, 0.4);
}

.gold-gradient-bg {
    background: linear-gradient(135deg, #ccac5c 0%, #8a6d2d 100%);
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    min-width: 100%;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.timeline-line {
    background: linear-gradient(to bottom, transparent, #ccac5c 15%, #ccac5c 85%, transparent);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* Our Work Page Styles */
.gold-underline {
    position: relative;
}

.gold-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ccac5c;
}