@font-face {
    font-family: 'GoodVibesPro';
    src: url('../fonts/GoodVibesPro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-font-color: '#212529';
    --bg-color: #f8f9fa;

    --fontSize-heading-lg: 3rem;
    --fontSize-heading-base: 2.8rem;
    --fontSize-text-base: 1rem;

    --sacramento: Sacramento, cursive;
    --arabic: 'Noto Naskh Arabic', serif;

    --shadow-md: 0 0 10px rgba(0, 0, 0, 0.3);

    --transition-small: all .3s ease;
}

html[data-lang="ru"] {
    --sacramento: 'GoodVibesPro', cursive;
}

html[data-lang="ru"] .welcome h2,
html[data-lang="ru"] .home h2,
html[data-lang="ru"] .home figure figcaption,
html[data-lang="ru"] .welcome figure figcaption,
html[data-lang="ru"] .bride h3,
html[data-lang="ru"] .hadist h2,
html[data-lang="ru"] .time h2,
html[data-lang="ru"] .galeri .container h2,
html[data-lang="ru"] .galeri div:nth-of-type(2) h2,
html[data-lang="ru"] .wishas div:nth-of-type(1) h2,
html[data-lang="ru"] .venue-map h2 {
    font-size: calc(var(--fontSize-heading-base) * 1.2);
    letter-spacing: 0.5px;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--primary-font-color);
    overflow-y: hidden;
}

body.active {
    overflow-y: auto;
}

body::-webkit-scrollbar {
    display: none;
}

p {
    line-height: 1.7rem;
}

.audio button {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    cursor: pointer;
    transform: translateX(200%);
    transition: 1.5s transform ease;
    z-index: 9998;
}

.audio button.show {
    transform: translateX(0);
}

/* Vinyl record */
.vinyl-record {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #111 18%, transparent 18%),
        repeating-radial-gradient(circle at center, #1a1a1a 0px, #2a2a2a 2px, #1a1a1a 4px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vinyl-spin 2s linear infinite;
    animation-play-state: paused;
    transition: box-shadow 0.3s ease;
}

.audio button.playing .vinyl-record {
    animation-play-state: running;
    box-shadow: 0 4px 18px rgba(233, 30, 140, 0.45);
}

.vinyl-label {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #e91e8c, #9b0060);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-hole {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: #fff;
}

@keyframes vinyl-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes upAndDown {
    0%, 100% {
        transform: translateY(-0.8rem);
    }
    50% {
        transform: translateY(0.8rem);
    }
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    gap: 2px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 20px;
    padding: 3px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.8px;
    transition: all 0.25s ease;
    font-family: 'Josefin Sans', sans-serif;
}

.lang-switcher button.active {
    background: #c8a96e;
    color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.lang-switcher button:hover:not(.active) {
    color: #fff;
}
