/* ============================================
   HAGOYAH — Premium Dark Luxury Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
    --gold-300: #F2D06B;
    --gold-400: #D4AF5A;
    --gold-500: #C9A84C;
    --gold-600: #B8943F;
    --mint-300: #B8F0E0;
    --mint-400: #7EDBBF;
    --mint-500: #4EC5A5;
    --midnight-900: #050A14;
    --midnight-800: #0A1628;
    --midnight-700: #0F1F38;
}

/* --- Gold Gradient Line --- */
.gold-line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, var(--gold-500), transparent);
    opacity: 0.15;
}
.gold-line.vertical {
    width: 1px;
}
.gold-line.horizontal {
    height: 1px;
    width: 100%;
}

/* --- Hero Animations --- */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    transform: translateY(20px);
}
.hero-title {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
    transform: translateY(30px);
}
.hero-desc {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
    transform: translateY(20px);
}
.hero-image-wrapper {
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

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

/* --- Scroll Dot --- */
.scroll-dot {
    animation: scrollDotAnim 2s ease-in-out infinite;
}
@keyframes scrollDotAnim {
    0%, 100% { top: 0; opacity: 0; }
    50% { top: 50%; opacity: 1; }
}

/* --- Floating Card --- */
.floating-card {
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Section Labels & Titles --- */
.section-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mint-400);
    font-weight: 400;
}
.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: #fff;
}

/* --- Buttons --- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--midnight-900);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.btn-gold:hover::before {
    opacity: 1;
}
.btn-gold span,
.btn-gold svg {
    position: relative;
    z-index: 1;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    gap: 8px;
}
.btn-outline:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
    transform: translateY(-2px);
}

/* --- Service Cards --- */
.service-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.5s ease;
}
.service-card:hover {
    transform: translateY(-6px);
}

/* --- Gallery Items --- */
.gallery-item {
    cursor: pointer;
    transition: transform 0.5s ease;
}
.gallery-item:hover {
    transform: scale(1.02);
}

/* --- Value Items --- */
.value-item {
    position: relative;
}
.value-item::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(201,168,76,0.2), transparent);
}
.value-item:last-child::after {
    display: none;
}

/* --- Form Styles --- */
.form-group {
    position: relative;
}
.form-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
    font-weight: 500;
}
.form-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    padding: 12px 16px;
    color: #fff;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
}
.form-input::placeholder {
    color: rgba(255,255,255,0.2);
}
.form-input:focus {
    border-color: var(--gold-500);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* --- Navbar --- */
.navbar-scrolled {
    background: rgba(5, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar-scrolled .nav-link {
    color: rgba(255,255,255,0.8) !important;
}

/* --- Mobile Menu --- */
.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
}
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}
#mobileMenu.open #menuIcon span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
#mobileMenu.open #menuIcon span:nth-child(2) {
    opacity: 0;
}
#mobileMenu.open #menuIcon span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.5rem;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .floating-card {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
    }
    .hero-image-wrapper {
        margin-top: 2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}
