/* Hero slide text animation */
.hero-animate {
    animation: heroFadeUp 0.9s ease-out forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #E0E0E0;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #D4AF37;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 75%;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    padding-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.group\/dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu>div {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: #E0E0E0;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.dropdown-item:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.05);
}

/* Mobile Nav */
.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #E0E0E0;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.05);
}

/* Buttons */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #D4AF37 0%, #F5EBCC 40%, #C5A028 100%);
    color: #0D0D0D;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s;
}

.btn-gold:hover {
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: 2px solid rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #D4AF37;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-ghost:hover {
    color: #EBD89A;
}

/* Footer */
.footer-link {
    color: #E0E0E0;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #D4AF37;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #E0E0E0;
    transition: all 0.3s;
}

.social-icon:hover {
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.05);
}

/* Section Headers */
.section-label {
    display: inline-block;
    color: #D4AF37;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.section-divider {
    width: 5rem;
    height: 4px;
    background: linear-gradient(135deg, #D4AF37, #F5EBCC, #C5A028);
    border-radius: 9999px;
    margin: 1.5rem auto 0;
}

/* Cards */
.service-card {
    position: relative;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.05);
}

.service-card-image {
    position: relative;
    height: 14rem;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #050505, rgba(5, 5, 5, 0.2), transparent);
}

.service-card-body {
    padding: 1.5rem;
}

/* Hero Swiper */
.hero-swiper {
    width: 100%;
    height: 80vh;
}

.hero-swiper .swiper-slide {
    position: relative;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.4) 50%, rgba(5, 5, 5, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(4px);
    transition: all 0.5s;
}

.stat-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
}

.stat-value,
.text-gold-gradient {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #D4AF37, #F5EBCC, #C5A028);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.6);
    opacity: 0;
    transition: opacity 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0D0D0D, #1A1A1A, #0D0D0D);
}

.page-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Forms */
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 0.75rem;
    color: #F5F5F5;
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #757575;
}

.form-textarea {
    resize: none;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    background: #22c55e;
    color: #fff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.4);
}

/* Swiper Custom */
.swiper-pagination-bullet {
    background: rgba(212, 175, 55, 0.4) !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    background: #D4AF37 !important;
    width: 32px !important;
    border-radius: 9999px !important;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #D4AF37 !important;
    width: 48px !important;
    height: 48px !important;
    background: rgba(13, 13, 13, 0.5) !important;
    backdrop-filter: blur(4px);
    border-radius: 9999px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    transition: all 0.3s;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(212, 175, 55, 0.1) !important;
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: #C5A028;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

#main-header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

body.loaded {
    animation: bodyFadeIn 0.5s ease-out;
}

@keyframes bodyFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.crown-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.crown-divider::before,
.crown-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3));
}

.crown-divider::after {
    background: linear-gradient(to left, transparent, rgba(212, 175, 55, 0.3));
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.blog-card {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s;
}

.blog-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
}

.blog-card img {
    width: 100%;
    height: 13rem;
    object-fit: cover;
    transition: transform 0.7s;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.sidebar-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    position: sticky;
    top: 8rem;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .hero-swiper {
        min-height: 500px;
        height: 75vh;
    }
}

@media (min-width: 768px) {
    .page-hero {
        padding: 8rem 0;
    }
}

/* Overlay Animation */

#popup {
    opacity: 0;
    transition: opacity .35s ease;
}

#popup.show {
    display: flex !important;
    opacity: 1;
}

/* Popup Animation */

#popup-box {

    opacity: 0;
    transform: translateY(40px) scale(.85);

    transition:
        transform .4s cubic-bezier(.17, .89, .32, 1.28),
        opacity .35s ease;

}

#popup.show #popup-box {

    opacity: 1;
    transform: translateY(0) scale(1);

}

/* Icon */

.popup-icon {

    width: 90px;
    height: 90px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;

    font-size: 42px;
    font-weight: bold;

    animation: pop .45s ease;

}

.popup-success {

    background: rgba(34, 197, 94, .15);
    border: 2px solid rgba(34, 197, 94, .35);
    color: #22c55e;

}

.popup-error {

    background: rgba(239, 68, 68, .15);
    border: 2px solid rgba(239, 68, 68, .35);
    color: #ef4444;

}

@keyframes pop {

    0% {

        transform: scale(.2) rotate(-25deg);
        opacity: 0;

    }

    70% {

        transform: scale(1.15);

    }

    100% {

        transform: scale(1);

    }

}