/* ===================================================
   SIV Hero Slider — Frontend Styles
   =================================================== */

.siv-hero *, .siv-hero *::before, .siv-hero *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

.siv-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    max-height: 960px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    font-family: 'Montserrat', sans-serif;
}

/* ===== SLIDES ===== */
.siv-slides {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.siv-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.5s ease, transform 8s ease;
    background-size: cover;
    background-position: center;
}

.siv-slide.active {
    opacity: 1;
    transform: scale(1);
}

.siv-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to right,
        rgba(15, 52, 96, 0.95) 0%,
        rgba(15, 52, 96, 0.80) 35%,
        rgba(15, 52, 96, 0.40) 60%,
        rgba(15, 52, 96, 0.15) 100%
    );
}

/* ===== PARTICLES ===== */
.siv-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.siv-particle {
    position: absolute;
    width: 5px; height: 5px;
    background: rgba(212, 175, 55, 0.55);
    border-radius: 50%;
    animation: sivFloat 15s infinite ease-in-out;
}

@keyframes sivFloat {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10%       { opacity: 1; }
    90%       { opacity: 1; }
    100%      { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ===== CONTENT ===== */
.siv-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: stretch;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px;
}

/* — Text — */
.siv-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
    min-width: 0;
}

.siv-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: sivUp 1s ease forwards 0.3s;
}

.siv-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4.8vw, 62px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
    animation: sivUp 1s ease forwards 0.5s;
}

.siv-title em {
    color: #d4af37;
    font-style: normal;
    display: block;
}

.siv-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: sivUp 1s ease forwards 0.7s;
}

/* — Place Indicator — */
.siv-place {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(30px);
    animation: sivUp 1s ease forwards 0.9s;
}

.siv-place-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: sivPulse 2s infinite;
}

.siv-place-icon svg { width: 22px; height: 22px; fill: #1a1a2e; }

@keyframes sivPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,.5); }
    50%      { box-shadow: 0 0 0 14px rgba(212,175,55,0); }
}

.siv-place-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 2px;
}

.siv-place-name {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: #fff;
    display: block;
    transition: opacity .3s ease, transform .3s ease;
}

/* — Buttons — */
.siv-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: sivUp 1s ease forwards 1.1s;
}

.siv-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all .4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.siv-btn svg {
    width: 16px; height: 16px;
    transition: transform .3s ease;
    fill: currentColor;
}

.siv-btn:hover svg { transform: translateX(5px); }

.siv-btn--primary {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a1a2e;
    box-shadow: 0 10px 30px rgba(212,175,55,.3);
}

.siv-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212,175,55,.4);
}

.siv-btn--secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,.3);
}

.siv-btn--secondary:hover {
    background: rgba(255,255,255,.1);
    border-color: #d4af37;
    color: #d4af37;
}

/* ===== GUIDE FRAME ===== */
.siv-guide {
    position: relative;
    flex: 0 0 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.siv-guide-frame {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 480px;
    height: 680px;
    border-radius: 240px 240px 30px 30px;
    background: linear-gradient(
        180deg,
        #1b2a4a 0%,
        #152040 50%,
        #0e1830 100%
    );
    border: 2.5px solid rgba(212, 175, 55, 0.55);
    box-shadow:
        0 0 50px rgba(212, 175, 55, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 2px 30px rgba(212, 175, 55, 0.06);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: sivGuideIn 1.4s ease forwards .4s;
}

@keyframes sivGuideIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Outer glow */
.siv-guide-frame::before {
    content: '';
    position: absolute;
    top: -8px; left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border-radius: 248px 248px 38px 38px;
    border: 1px solid rgba(212, 175, 55, 0.20);
    box-shadow: 0 0 100px rgba(212, 175, 55, 0.07);
    pointer-events: none;
    z-index: -1;
}

/* Inner ring */
.siv-guide-frame::after {
    content: '';
    position: absolute;
    top: 8px; left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 232px 232px 22px 22px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    pointer-events: none;
    z-index: 3;
}

.siv-guide-img {
    position: relative;
    z-index: 2;
    width: 440px;
    max-height: 660px;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 -5px 25px rgba(212, 175, 55, 0.10));
}

/* Corner accents */
.siv-frame-accent {
    position: absolute;
    z-index: 4;
    width: 22px; height: 22px;
    pointer-events: none;
}

.siv-frame-accent--tl { top: 80px; left: 6px; }
.siv-frame-accent--tr { top: 80px; right: 6px; }
.siv-frame-accent--bl { bottom: 6px; left: 6px; }
.siv-frame-accent--br { bottom: 6px; right: 6px; }

.siv-frame-accent svg {
    width: 100%; height: 100%;
    fill: #d4af37;
    opacity: 0.6;
}

/* Rings */
.siv-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 620px; height: 620px;
    border: 1px solid rgba(212, 175, 55, 0.10);
    border-radius: 50%;
    animation: sivRing 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.siv-ring::before, .siv-ring::after {
    content: '';
    position: absolute;
    width: 10px; height: 10px;
    background: rgba(212, 175, 55, 0.5);
    border-radius: 50%;
}
.siv-ring::before { top: 0; left: 50%; transform: translateX(-50%); }
.siv-ring::after  { bottom: 0; left: 50%; transform: translateX(-50%); }

@keyframes sivRing { to { transform: translate(-50%, -50%) rotate(360deg); } }

.siv-ring2 {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 680px; height: 680px;
    border: 1px dashed rgba(212, 175, 55, 0.06);
    border-radius: 50%;
    animation: sivRing2 35s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes sivRing2 { to { transform: translate(-50%, -50%) rotate(-360deg); } }

/* ===== DOTS ===== */
.siv-dots {
    position: absolute;
    bottom: 36px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.siv-dot {
    width: 11px; height: 11px;
    border: 2px solid rgba(255,255,255,.45);
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s ease;
    background: transparent;
}

.siv-dot.active {
    background: #d4af37;
    border-color: #d4af37;
    transform: scale(1.2);
}

.siv-dot:hover { border-color: #d4af37; }

@keyframes sivUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== PLACES DATA (hidden) ===== */
.siv-places-data { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .siv-guide { flex: 0 0 440px; }
    .siv-guide-frame { width: 400px; height: 560px; border-radius: 200px 200px 26px 26px; }
    .siv-guide-frame::before { border-radius: 208px 208px 34px 34px; }
    .siv-guide-frame::after { border-radius: 192px 192px 18px 18px; }
    .siv-guide-img { width: 370px; max-height: 540px; }
    .siv-ring { width: 520px; height: 520px; }
    .siv-ring2 { width: 570px; height: 570px; }
}

@media (max-width: 1024px) {
    .siv-content {
        flex-direction: column-reverse;
        padding: 20px;
        justify-content: center;
    }
    .siv-text {
        padding-right: 0;
        text-align: center;
        align-items: center;
    }
    .siv-guide {
        flex: 0 0 auto !important;
        margin-bottom: 10px;
    }
    .siv-guide-frame { width: 280px !important; height: 390px !important; border-radius: 140px 140px 20px 20px !important; }
    .siv-guide-frame::before { border-radius: 148px 148px 28px 28px !important; }
    .siv-guide-frame::after { border-radius: 132px 132px 12px 12px !important; }
    .siv-guide-img { width: 260px !important; max-height: 370px; }
    .siv-ring { width: 380px !important; height: 380px !important; }
    .siv-ring2 { width: 420px !important; height: 420px !important; }
    .siv-buttons { justify-content: center; }
    .siv-dots { right: 50% !important; transform: translateX(50%); }
}

@media (max-width: 600px) {
    .siv-hero { min-height: 100vh !important; max-height: none !important; }
    .siv-title { font-size: 30px !important; }
    .siv-desc { font-size: 15px !important; }
    .siv-guide-frame { width: 220px !important; height: 310px !important; border-radius: 110px 110px 16px 16px !important; }
    .siv-guide-frame::before { border-radius: 118px 118px 24px 24px !important; }
    .siv-guide-frame::after { border-radius: 102px 102px 8px 8px !important; }
    .siv-guide-img { width: 200px !important; max-height: 290px; }
    .siv-ring { width: 300px !important; height: 300px !important; }
    .siv-ring2 { width: 340px !important; height: 340px !important; }
    .siv-buttons { flex-direction: column; width: 100%; }
    .siv-btn { width: 100%; justify-content: center; padding: 14px 28px !important; font-size: 12px !important; }
}
