/* Global Styles */
:root {
    --bg-dark: #0D0F12;
    --bg-secondary: #131419;
    --bg-card: #1A1C1F;
    --text-primary: #FFFFFF;
    --text-secondary: #D0D2D5;
    --gold: #E4B858;
    --gold-dark: #D9A441;
    --gold-light: #E7C980;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Tools */
.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    text-align: left;
    /* Default left, override if needed */
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
}

.center-text .section-title,
.center-text .section-subtitle,
.center-text {
    text-align: center;
}

.center-text .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #1A1C1F;
    /* Dark text on gold */
    box-shadow: 0 4px 15px rgba(228, 184, 88, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 184, 88, 0.5);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--text-primary);
}

.btn--outline:hover {
    background: rgba(228, 184, 88, 0.1);
    box-shadow: 0 0 10px rgba(228, 184, 88, 0.2);
}

.btn--text {
    background: transparent;
    color: var(--text-primary);
    padding: 10px 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
}

.btn--text:hover {
    color: var(--gold);
}

.btn--small {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #1A1C1F;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 15, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.logo-divider {
    color: var(--gold);
    margin: 0 5px;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav__link:hover {
    color: var(--gold);
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    /* Ensure above menu overlay */
}

.header__burger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    /* Header height */
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 15, 18, 0.7) 0%, rgba(13, 15, 18, 0.85) 100%);
}

.hero__content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 24px;
    background: rgba(13, 15, 18, 0.4);
    box-shadow: 0 0 10px rgba(228, 184, 88, 0.1);
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.hero__benefits {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    /* Center align items */
}

.benefit-item {
    font-size: 1rem;
    color: var(--text-secondary);
    list-style-type: disc;
    margin-left: 20px;
    text-align: left;
    /* Keep text left aligned to look like a list, but the container could be centered? Or user wants center text? "align text to center". I will try center text. */
    text-align: center;
    list-style: none;
    /* User said "make a bulleted list" but if I center it, bullets look weird. Let's try to keep it simple.*/
}

.benefit-icon {
    font-size: 1.2rem;
    color: var(--gold);
    line-height: 1;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

.benefit-text span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero__actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Advantages */
.advantages {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.section-divider {
    height: 1px;
    width: 100px;
    background: var(--gold);
    margin: 20px 0;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.adv-card {
    position: relative;
    height: 300px;
    border: 1px solid rgba(228, 184, 88, 0.3);
    border-radius: 12px;
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.adv-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.5s ease;
}

.adv-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(23, 25, 28, 0.6) 0%, rgba(23, 25, 28, 0.95) 100%);
    z-index: 1;
}

.adv-card__content {
    position: relative;
    z-index: 2;
}

.adv-card__icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--gold);
    transition: var(--transition);
}

.adv-card__title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.adv-card__text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.adv-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 24px rgba(228, 184, 88, 0.15);
}

.adv-card:hover .adv-card__bg {
    transform: scale(1.05);
}

.adv-card:hover .adv-card__icon {
    transform: scale(1.1);
}

/* Location */
.location {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.location__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.location__list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.location__list li span {
    font-size: 1.2rem;
}

.location__map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(228, 184, 88, 0.3);
    height: 400px;
    position: relative;
}

#yman-container {
    width: 100%;
    height: 100%;
}

/* About Dev */
.about-dev {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.about-dev__desc {
    max-width: 800px;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(228, 184, 88, 0.2);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.stat-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.legal-block {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.legal-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    background: rgba(228, 184, 88, 0.1);
}

.center-cta {
    text-align: center;
}

/* Layouts */
.layouts {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.layouts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.layout-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.layout-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.layout-card__img {
    height: 300px;
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.layout-card__img img {
    max-height: 100%;
    object-fit: contain;
}

.layout-card__title {
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Comfort */
.comfort {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.comfort__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.comfort-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid transparent;
    /* invisible border for alignment */
    transition: var(--transition);
}

.comfort-card:hover {
    border-color: var(--gold);
}

.comfort-card__img {
    height: 180px;
    overflow: hidden;
}

.comfort-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.comfort-card:hover .comfort-card__img img {
    transform: scale(1.05);
}

.comfort-card__body {
    padding: 20px;
}

.comfort-card__body h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.comfort-card__body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Economy */
.economy {
    padding: 80px 0;
    background: linear-gradient(0deg, #131419 0%, #0D0F12 100%);
}

.economy__container {
    display: flex;
    justify-content: center;
    text-align: center;
}

.economy__content {
    max-width: 800px;
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 50px;
    background: rgba(228, 184, 88, 0.05);
}

.economy__value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 15px;
}

.economy__desc {
    margin-bottom: 30px;
}

/* Pre-footer CTA */
.pre-footer {
    padding: 80px 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Contacts Section NEW */
.contacts {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item__icon {
    font-size: 1.5rem;
    color: var(--gold);
    background: rgba(228, 184, 88, 0.1);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item__label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.contact-item__val {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contacts__form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contacts__form-title {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form__group {
    margin-bottom: 20px;
}

.form__input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form__input:focus {
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.4);
}

.form__btn {
    width: 100%;
}


/* Footer */
.footer {
    background-color: #0A0C0E;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__title {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer__nav a:hover {
    color: var(--text-primary);
}

.footer__legal p,
.footer__contacts p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.docs-links a {
    margin-left: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .header__nav {
        display: none;
    }

    .header__nav.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
    }

    .header__nav.active .nav__list {
        flex-direction: column;
        font-size: 1.5rem;
        gap: 40px;
    }

    .header__cta {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .header__burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .header__burger.active span:nth-child(2) {
        opacity: 0;
    }

    .header__burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .advantages__grid,
    .layouts__grid,
    .location__container,
    .stats-grid,
    .footer__container,
    .comfort__grid,
    .contacts__grid {
        grid-template-columns: 1fr;
    }

    .location__map {
        order: 2;
        /* Map below text on mobile */
    }

    .economy__value {
        font-size: 2.5rem;
    }
}