/* style.css - Updated luxury styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-black: #0A0A0A;
    --bg-dark-gray: #0F1214;
    --emerald-accent: #10B981;
    --emerald-secondary: #34D399;
    --emerald-highlight: #6EE7B7;
    --text-primary: #E5E7EB;
    --text-white: #FFFFFF;
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0A0A0A;
    color: #E5E7EB;
    margin: 0;
}

.kkf-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.kkf-reveal.kkf-visible { opacity: 1 !important; transform: translateY(0) !important; }

.kkf-grain { position: relative; }
.kkf-grain::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

html {
    scroll-behavior: smooth;
    font-size: 110%;
    /* Increases base 1rem from 16px to ~17.6px to improve readability project-wide */
}

@media (min-width: 1280px) {
    html {
        font-size: 115%;
        /* Scales up slightly more on large desktops (~18.4px) */
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--emerald-accent);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-secondary);
}

/* Selection */
::selection {
    background: rgba(212, 175, 55, 0.2);
    color: #FFFFFF;
}

/* Animations */
@keyframes float {

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

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

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

/* Card Hover */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #D4AF37 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    width: 8px !important;
    height: 8px !important;
}

.swiper-pagination-bullet-active {
    background: #D4AF37 !important;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

/* Mobile Menu */
.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

.hamburger-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Form Feedback & Loading Dots */
.loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.loading-dots span {
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: loading-dot-bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading-dot-bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.3;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

#contactForm .bg-accent {
    background-color: var(--emerald-accent);
}

#contactForm .bg-secondary {
    background-color: var(--emerald-secondary);
}