/* ============================================================
   SUNSET TOWER — Awwwards-level styles  
   Used on homepage highlight AND dedicated sunset-tower.html
   ============================================================ */

/* ==================== SUNSET HIGHLIGHT (Homepage) ==================== */

.sunset-highlight {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sunset-highlight-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sunset-highlight-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.sunset-highlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(25,21,20,0.88) 0%, rgba(25,21,20,0.55) 50%, rgba(25,21,20,0.35) 100%);
}

.sunset-highlight .container {
    position: relative;
    z-index: 2;
}

.sunset-highlight-content {
    max-width: 700px;
}

.sunset-highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid rgba(176,137,104,0.4);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
    background: rgba(176,137,104,0.06);
}

.sunset-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: sunsetPulse 2s ease-in-out infinite;
}

@keyframes sunsetPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.6); }
}

.sunset-highlight-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 0.9;
    color: #f5efe6;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.sunset-highlight-tagline {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(245,239,230,0.65);
    margin-bottom: 48px;
}

.sunset-highlight-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
}

.sunset-stat {
    display: flex;
    flex-direction: column;
}

.sunset-stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #f5efe6;
    line-height: 1;
}

.sunset-stat-unit {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.sunset-stat-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(245,239,230,0.35);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.sunset-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(245,239,230,0.12);
}

.sunset-highlight-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}

.sunset-highlight-features span {
    padding: 8px 18px;
    border: 1px solid rgba(245,239,230,0.12);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(245,239,230,0.55);
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.sunset-highlight-features span:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.sunset-cta .btn-text {
    font-size: 0.9rem;
}


/* ==================== SUNSET TOWER PAGE ==================== */

.sunset-page {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* ---- Hero ---- */
.st-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.st-hero-bg {
    position: absolute;
    inset: 0;
}

.st-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(25,21,20,0.95) 0%,
        rgba(25,21,20,0.55) 35%,
        rgba(25,21,20,0.15) 65%,
        rgba(25,21,20,0.08) 100%
    );
}

.st-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(24px, 5vw, 80px) clamp(60px, 10vh, 120px);
    width: 100%;
}

.st-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid rgba(176,137,104,0.4);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    background: rgba(176,137,104,0.06);
}

.st-hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.st-hero-line {
    display: block;
    font-size: clamp(4rem, 12vw, 10rem);
    color: #f5efe6;
}

.st-hero-line-accent {
    color: var(--accent);
}

.st-hero-tagline {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(245,239,230,0.55);
    margin-bottom: 16px;
}

.st-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(245,239,230,0.35);
    letter-spacing: 0.05em;
}

.st-hero-meta-sep {
    color: var(--accent);
}

.st-hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.st-hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%     { transform: scaleY(0); transform-origin: top; }
    50%    { transform: scaleY(1); transform-origin: top; }
    50.1%  { transform: scaleY(1); transform-origin: bottom; }
    100%   { transform: scaleY(0); transform-origin: bottom; }
}

.st-hero-scroll span {
    font-family: var(--font-body);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(245,239,230,0.35);
    writing-mode: vertical-rl;
}


/* ---- About ---- */
.st-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.st-about-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 24px 0;
    letter-spacing: -0.02em;
}

.st-about-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.st-about-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-xl);
}

.st-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.st-about-image:hover img {
    transform: scale(1.05);
}


/* ---- Stats ---- */
.st-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.st-stats-item {
    text-align: center;
}

.st-stats-num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.st-stats-unit {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.st-stats-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 8px;
}


/* ---- Apartment Gallery (horizontal scroll) ---- */
.st-gallery-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 48px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.st-gallery-scroll:active { cursor: grabbing; }

.st-gallery-scroll::-webkit-scrollbar {
    display: none;
}

.st-gallery-track {
    display: flex;
    gap: 20px;
    padding: 0 clamp(24px, 5vw, 80px);
    width: max-content;
}

.st-gallery-card {
    width: 360px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

.st-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.st-gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}

.st-gallery-card:hover img {
    transform: scale(1.06);
}

.st-gallery-card span {
    display: block;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-card);
}


/* ---- Features ---- */
.st-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.st-feature {
    padding: 36px 28px;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo);
    background: var(--bg-card);
}

.st-feature:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.st-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(176,137,104,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

.st-feature h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.st-feature p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-tertiary);
}


/* ---- Building (dark overlay section) ---- */
.st-building {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.st-building-bg {
    position: absolute;
    inset: 0;
}

.st-building-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-building-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25,21,20,0.88);
}

.st-building .container {
    position: relative;
    z-index: 2;
}

.st-building-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.st-building-item {
    padding: 32px 24px;
    border: 1px solid rgba(245,239,230,0.08);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    background: rgba(245,239,230,0.03);
    backdrop-filter: blur(4px);
}

.st-building-item:hover {
    border-color: rgba(176,137,104,0.5);
    background: rgba(176,137,104,0.08);
    transform: translateY(-6px);
}

.st-building-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.st-building-item h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #f5efe6;
    margin-bottom: 6px;
}

.st-building-item p {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(245,239,230,0.45);
    line-height: 1.5;
}


/* ---- Leisure ---- */
.st-leisure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.st-leisure-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
}

.st-leisure-card-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.st-leisure-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.st-leisure-card:hover img {
    transform: scale(1.06);
}

.st-leisure-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(25,21,20,0.85) 0%, transparent 100%);
}

.st-leisure-card-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #f5efe6;
    margin-bottom: 4px;
}

.st-leisure-card-info p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(245,239,230,0.55);
}


/* ---- Location ---- */
.st-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.st-location-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 24px 0;
    letter-spacing: -0.02em;
}

.st-location-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.st-distances {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.st-distance {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--bg-card);
}

.st-distance:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.st-distance-value {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 52px;
}

.st-distance-name {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.st-location-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-xl);
}

.st-location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.st-location-image:hover img {
    transform: scale(1.04);
}


/* ---- Partners ---- */
.st-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.st-partner {
    padding: 40px 32px;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    background: var(--bg-card);
}

.st-partner:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.st-partner h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.st-partner p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-tertiary);
}


/* ---- Contact CTA ---- */
.st-contact {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.st-contact-bg {
    position: absolute;
    inset: 0;
}

.st-contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.st-contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25,21,20,0.8);
}

.st-contact .container {
    position: relative;
    z-index: 2;
}

.st-contact-content {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.st-contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: #f5efe6;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.st-contact-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245,239,230,0.55);
    margin-bottom: 40px;
}

.st-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.st-contact-info {
    margin-top: 32px;
}

.st-contact-info a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(245,239,230,0.35);
    text-decoration: none;
    transition: color 0.3s ease;
}

.st-contact-info a:hover {
    color: var(--accent-light);
}


/* ==================== RESPONSIVE ==================== */

@media (max-width: 1200px) {
    .st-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .st-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .st-about-right {
        order: -1;
    }
    .st-about-image {
        aspect-ratio: 16/9;
    }
    .st-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-top: 48px;
        padding-top: 40px;
    }
    .st-building-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .st-leisure-grid {
        grid-template-columns: 1fr 1fr;
    }
    .st-leisure-card-large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }
    .st-location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .st-partners-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .st-partner {
        padding: 28px 24px;
    }

    /* Homepage sunset */
    .sunset-highlight-stats {
        gap: 24px;
    }
    .sunset-stat-num {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .st-hero {
        min-height: 100svh;
    }
    .st-hero-scroll {
        display: none;
    }
    .st-hero-content {
        padding-bottom: 60px;
    }
    .st-gallery-card {
        width: 280px;
    }
    .st-gallery-card img {
        height: 210px;
    }
    .st-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .st-feature {
        padding: 28px 24px;
    }
    .st-building {
        padding: 80px 0;
    }
    .st-building-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .st-building-item {
        padding: 24px 16px;
    }
    .st-leisure-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .st-leisure-card-large {
        grid-column: span 1;
    }
    .st-leisure-card {
        aspect-ratio: 16/10;
    }
    .st-distances {
        grid-template-columns: 1fr;
    }
    .st-location-image {
        aspect-ratio: 16/9;
    }
    .st-contact {
        min-height: auto;
        padding: 100px 0;
    }

    /* Homepage highlight */
    .sunset-highlight {
        min-height: auto;
        padding: 120px 0 80px;
    }
    .sunset-highlight-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    .sunset-stat-divider {
        display: none;
    }
    .sunset-stat {
        min-width: 80px;
    }
    .sunset-highlight-features {
        gap: 8px;
        margin-bottom: 32px;
    }
}

@media (max-width: 540px) {
    .st-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .st-building-grid {
        grid-template-columns: 1fr;
    }
    .st-gallery-card {
        width: 240px;
    }
    .st-gallery-card img {
        height: 180px;
    }
    .st-contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .st-contact-buttons .btn-primary,
    .st-contact-buttons .btn-outline-light {
        width: 100%;
        justify-content: center;
    }
    .sunset-highlight-title {
        font-size: clamp(3rem, 14vw, 5rem);
    }
}
