:root {
    --bg: #050509;
    --bg-alt: #11131a;
    --text: #f5f5f5;
    --muted: #b0b3c0;

    --accent-red: #d62828;
    --accent-blue: #0033a0;
    --accent-orange: #f2a104;

    --card-bg: #161922;
    --border-subtle: #272b36;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #1c1f26 0, #050509 55%);
    color: var(--text);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    background: rgba(5, 5, 9, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
}

.brand {
    display: flex;
    flex-direction: column;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.brand-main {
    font-size: 0.85rem;
    color: var(--muted);
}

.brand-sub {
    font-size: 0.9rem;
    font-weight: 600;
}

.nav a {
    margin-left: 1.4rem;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav a:hover {
    color: var(--text);
}

/* Armenian flag strip */

.flag-strip,
.flag-strip-bottom {
    height: 4px;
    display: flex;
}

.flag-strip::before,
.flag-strip-bottom::before,
.flag-strip::after,
.flag-strip-bottom::after {
    content: "";
    flex: 1;
}

.flag-strip { margin-bottom: -4px; }

.flag-strip::before { background: var(--accent-red); }
.flag-strip::after { background: linear-gradient(to right, var(--accent-blue), var(--accent-orange)); }

.flag-strip-bottom::before { background: var(--accent-red); }
.flag-strip-bottom::after { background: linear-gradient(to right, var(--accent-blue), var(--accent-orange)); }

/* Hero */

.hero {
    position: relative;
    min-height: 70vh;
    padding: 4rem 2rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    overflow: visible;
    background:
        linear-gradient(135deg, rgba(214,40,40,0.15), transparent),
        radial-gradient(circle at bottom right, rgba(0,51,160,0.2), transparent);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(5,5,9,0.8), rgba(5,5,9,0.95)),
        url("hero-gym-placeholder.jpg"); /* replace with real gym photo */
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply;
    opacity: 0.8;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 700px;
    z-index: 5;
}

.hero h1 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--muted);
    max-width: 480px;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn.primary {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

.btn.primary:hover {
    filter: brightness(1.1);
}

.btn.secondary {
    background: transparent;
    color: var(--muted);
    border-color: var(--border-subtle);
}

.btn.secondary:hover {
    color: var(--text);
    border-color: var(--accent-blue);
}

.ig-menu {
	position: relative;
	display: inline-flex;
}

.ig-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 210px;
	display: none;
	flex-direction: column;
	background: rgba(0, 0, 0, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(8px);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.55);
	z-index: 1000;
}

.ig-dropdown.open {
	display: flex;
}

.ig-dropdown a {
	padding: 0.8rem 1rem;
	color: var(--text);
	text-decoration: none;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ig-dropdown a:hover {
	background: rgba(255, 255, 255, 0.06);
}


/* Sections */

.section {
    padding: 4rem 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.section-alt {
    background: radial-gradient(circle at top right, #1a1d26 0, #050509 55%);
}

.section-heading {
    margin-bottom: 1.5rem;
    position: relative;
}

.section-heading h2 {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 1rem;
    margin: 0;
}

.section-heading::before {
    content: "";
    width: 32px;
    height: 2px;
    background: var(--accent-red);
    position: absolute;
    left: 0;
    bottom: -8px;
}

.section p {
    color: var(--muted);
    line-height: 1.7;
}

.gym-video {
    margin-top: 2rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.gym-reel {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #050509;
    display: block;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5);
}

.video-wrapper {
    position: relative;
}

/* Control bar container */
.video-controls {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 0.75rem;

    padding: 8px 12px;
    border-radius: 10px;

    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);

    opacity: 1;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.video-controls.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
}

/* Mute button with SVG icons */
.control-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.control-btn .icon {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    stroke-width: 1.6;
}

/* fill just the speaker body a bit so you can see it */
.control-btn .icon path:first-child {
    fill: rgba(255, 255, 255, 0.22);
    stroke: none;
}

/* default: muted */
.control-btn .icon-sound-on { display: none; }
.control-btn .icon-sound-off { display: block; }

/* when NOT muted, flip which icon is visible */
.control-btn.not-muted .icon-sound-on { display: block; }
.control-btn.not-muted .icon-sound-off { display: none; }


/* Armenian flag slider */
.volume-slider {
    --val: 0%; /* will be updated via JS */

    -webkit-appearance: none;
    appearance: none;
    width: 130px;
    height: 6px;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.18);

    /* Two-layer background:
       - top: Armenian flag, width controlled by --val
       - bottom: dark track for the unfilled part
    */
    background:
        linear-gradient(
            to bottom,
            #d62828 0%,   #d62828 33%,
            #0033a0 33%,  #0033a0 66%,
            #f2a104 66%,  #f2a104 100%
        ) 0 0 / var(--val) 100% no-repeat,
        rgba(10, 10, 14, 0.9);
}

/* WebKit thumb */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.28);
}

/* Firefox */
.volume-slider::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: transparent; /* base comes from element background */
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #ffffff;
}


/* Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.4rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.card h3 {
    font-family: "Oswald", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.price {
    margin-top: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.note-strong {
	font-weight: 700;
	color: var(--text);
}
.muted-line {
	margin-top: 0.75rem;
	color: var(--muted);
}

/* Availability: keep cards tighter so the row doesn't look empty */
#availability.cards {
    grid-template-columns: repeat(2, minmax(240px, 420px));
    justify-content: start;
    gap: 1.5rem;}

@media (max-width: 768px) {
    #availability .cards {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
}

/* Lists */

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li {
    margin-bottom: 0.4rem;
    color: var(--muted);
}

.feature-list li::before {
    content: "•";
    color: var(--accent-orange);
    margin-right: 0.4rem;
}

/* Heritage section */

.heritage-section {
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: radial-gradient(circle at center, rgba(242,161,4,0.1), transparent);
}

/* Contact */

.contact-form {
    max-width: 520px;
    margin-top: 1.5rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.35rem;
    color: var(--muted);
}

input, select, textarea {
    background: #090b11;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 0.75rem;
    color: var(--text);
    font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.contact-extra {
    margin-top: 1.5rem;
    color: var(--muted);
}

.contact-extra a {
    color: var(--accent-orange);
    text-decoration: none;
}

.contact-extra a:hover {
    text-decoration: underline;
}

.note {
    margin-top: 1.5rem;
    color: var(--muted);
}

.form-status {
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.form-status.error {
    color: var(--accent-red);
}

.form-status.success {
    color: var(--accent-orange);
}


/* Footer */

.site-footer {
    text-align: center;
    padding: 2rem 1rem 1.2rem;
    font-size: 0.8rem;
    color: var(--muted);
    background: #050509;
    border-top: 1px solid rgba(255,255,255,0.03);
}

/* Responsive */

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        margin-top: 0.5rem;
        display: flex;
        flex-wrap: wrap;
    }

    .nav a {
        margin-left: 0;
        margin-right: 1rem;
        margin-bottom: 0.35rem;
    }

    .hero {
        padding: 3rem 1.5rem 4rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }
}
