/* ============================================
   HOME PAGE STYLES - RENDER-MATCHED
   ============================================ */

/* ---- HEADER ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border-light);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header__logo svg {
    height: 26px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.header__link {
    font-size: var(--fs-nav);
    font-weight: var(--fw-medium);
    color: var(--color-text-secondary);
    padding: 0.25rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.header__link:hover {
    color: var(--color-gold);
}

.header__link--active {
    color: var(--color-gold);
    font-weight: var(--fw-semibold);
}

.header__link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold);
    border-radius: 1px;
}

.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5625rem 1.125rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.header__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(189, 139, 44, 0.3);
}

.header__cta svg {
    width: 13px;
    height: 13px;
}

.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: all var(--transition-base);
}

.header__hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- HERO ---- */
.home-hero {
    position: relative;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 1rem;
    min-height: 420px;
    overflow: visible;
}

.home-hero__inner {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-hero__content {
    padding-right: 1.5rem;
}

.home-hero__title {
    font-family: var(--font-serif);
    font-size: var(--fs-hero);
    font-weight: var(--fw-bold);
    line-height: 1.0;
    color: var(--color-text);
    margin-bottom: 0;
    letter-spacing: 0;
}

.home-hero__title-script {
    font-family: var(--font-script);
    font-size: var(--fs-hero-script);
    font-weight: var(--fw-regular);
    color: var(--color-gold);
    line-height: 1.15;
    display: block;
    margin-top: 0.05em;
}

.home-hero__heart {
    display: flex;
    align-items: center;
    margin: 0.5rem 0 0.625rem;
    color: var(--color-heart);
    font-size: 1rem;
    opacity: 0.75;
}

.home-hero__desc {
    font-size: var(--fs-body);
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 420px;
}

.home-hero__image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: calc(-1 * var(--container-padding));
}

.home-hero__image {
    width: 100%;
    height: 380px;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.home-hero__image-glow {
    display: none;
}

/* Floral decorations */
.home-hero__deco-top {
    position: absolute;
    top: 0;
    left: -40px;
    width: 200px;
    height: 200px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.home-hero__deco-bottom {
    position: absolute;
    bottom: 0;
    left: -40px;
    width: 180px;
    height: 180px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
    transform: scaleY(-1);
}

/* ---- CARDS SECTION ---- */
.home-cards {
    padding: 1.5rem 0 1.25rem;
}

.home-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.home-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: var(--radius-large);
    padding: 1.5rem 1.25rem;
    transition: all var(--transition-base);
    position: relative;
}

.home-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-gold-light);
}

.home-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
    color: var(--color-gold);
    border: 1.5px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-bg);
}

.home-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-gold);
    stroke-width: 1.5;
    fill: none;
}

.home-card__title {
    font-family: var(--font-serif);
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.home-card__desc {
    font-size: var(--fs-small);
    color: var(--color-text-secondary);
    line-height: 1.65;
}

.home-card__list {
    list-style: none;
    padding: 0;
}

.home-card__list li {
    font-size: var(--fs-small);
    color: var(--color-text-secondary);
    line-height: 1.65;
    padding-left: 1rem;
    position: relative;
}

.home-card__list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* ---- INFO BAR (CARD STYLE) ---- */
.home-info {
    padding: 0.75rem 0 1rem;
}

.home-info__bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: var(--radius-large);
    padding: 1.25rem 0;
    overflow: hidden;
}

.home-info__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    text-align: center;
    padding: 0.5rem 1rem;
    position: relative;
}

.home-info__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--color-border-light);
}

.home-info__icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    flex-shrink: 0;
    border: 1.5px solid var(--color-border-light);
    border-radius: 50%;
    background: var(--color-bg);
}

.home-info__icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-text-muted);
    stroke-width: 1.5;
    fill: none;
}

.home-info__label {
    font-size: var(--fs-small);
    color: var(--color-text-secondary);
    font-weight: var(--fw-medium);
}

.home-info__value {
    font-size: var(--fs-small);
    color: var(--color-text-muted);
    margin-top: 0.0625rem;
}

/* ---- CTA SECTION ---- */
.home-cta {
    padding: 0.75rem 0 2rem;
}

.home-cta__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.home-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.9375rem 2.25rem;
    font-size: 1rem;
    font-weight: var(--fw-medium);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    min-height: 54px;
}

.home-cta__btn--primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
    box-shadow: var(--shadow-button);
}

.home-cta__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(189, 139, 44, 0.35);
}

.home-cta__btn--secondary {
    background: var(--color-white);
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.home-cta__btn--secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.home-cta__btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ---- GALLERY PREVIEW ---- */
.home-gallery {
    padding: 0.5rem 0 2rem;
}

.home-gallery__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.home-gallery__title {
    font-family: var(--font-serif);
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--color-text);
}

.home-gallery__link {
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color var(--transition-fast);
}

.home-gallery__link:hover {
    color: var(--color-gold-dark);
}

.home-gallery__link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.home-gallery__link:hover svg {
    transform: translateX(2px);
}

.home-gallery__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.home-gallery__card {
    border-radius: var(--radius-medium);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--color-bg-secondary);
    cursor: pointer;
    transition: transform var(--transition-base);
}

.home-gallery__card:hover {
    transform: translateY(-2px);
}

.home-gallery__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-gallery__card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(transparent, rgba(32, 28, 23, 0.7));
    color: var(--color-white);
}

.home-gallery__card-msg {
    font-size: 0.6875rem;
    font-weight: var(--fw-medium);
    line-height: 1.3;
    margin-bottom: 0.125rem;
}

.home-gallery__card-time {
    font-size: 0.625rem;
    opacity: 0.7;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--color-bg-secondary);
    padding: 2rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer__logo {
    margin-bottom: 0.375rem;
}

.footer__logo svg {
    height: 30px;
    width: auto;
    opacity: 0.55;
}

.footer__text {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.footer__heart {
    color: var(--color-heart);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.footer__subtitle {
    font-size: var(--fs-small);
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.footer__tagline {
    font-size: var(--fs-small);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.footer__deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
}

.footer__deco--left {
    bottom: -10px;
    left: 10%;
    width: 120px;
    height: 120px;
}

.footer__deco--right {
    top: -10px;
    right: 10%;
    width: 100px;
    height: 100px;
    transform: scaleX(-1);
}

.footer__stars {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
}

.footer__stars--left {
    top: 20%;
    left: 15%;
}

.footer__stars--right {
    bottom: 20%;
    right: 15%;
}

/* ---- MOBILE NAV OVERLAY ---- */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 999;
    padding: 2rem var(--container-padding);
    flex-direction: column;
    gap: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-base);
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: var(--fw-medium);
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-light);
    transition: color var(--transition-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link--active {
    color: var(--color-gold);
}

.mobile-nav__cta {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
