/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #fbfbfb;
    color: #222;
    overflow-x: hidden;
    line-height: 1.7;
}

body[dir="rtl"] .language-switcher {
    right: auto;
    left: 20px;
}

/* === LANGUAGE SWITCHER === */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 10px 20px;
}


.language-switcher {
    position: relative;
    z-index: 10001;
}


.language-switcher a {
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.language-switcher a:hover {
    transform: scale(1.2);
}


/* === HERO === */
.hero {
    position: relative;
    height: 100vh;
    background: url('images/hero.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #222;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Rock Salt', cursive;
    font-size: 64px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 22px;
    font-style: italic;
    color: #444;
}

/* === SECTIONED STORY === */
.story-section {
    position: relative;
    background-size: 105%;
    transition: background-size 0.5s ease-out;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 1;
    overflow: hidden;
    padding: 185px 0;
}

.story-section .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.story-section .text {
    opacity: 1;
    transform: none;
    transition: none;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.parallax-stack {
    position: sticky;
    top: 0;
    z-index: 0;
}

.story-section h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

.story-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.story-section blockquote {
    font-style: italic;
    font-size: 20px;
    margin: 30px 0;
    padding-left: 20px;
    border-left: 4px solid #ccc;
    color: #555;
    text-align: left;
}
.split-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.split-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}
.text {
    padding: 10rem;
}

.split-section blockquote {
    font-style: italic;
    font-size: 20px;
    margin: 30px 0;
    padding-left: 20px;
    border-left: 4px solid #ccc;
    color: #555;
    text-align: left;
}

.final-line {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin-top: 40px;
}

/* === CANDLE === */
.candle {
    padding: 60px 20px;
    text-align: center;
    background: #f3f3f3;
    color: #444;
}

.candle h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#candle-img {
    width: 80px;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: flicker 1.2s infinite;
}

#candle-img:hover {
    transform: scale(1.1);
}

#candle-area p {
    font-size: 18px;
    margin-top: 10px;
}

@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.85; }
    100% { opacity: 1; }
}

/* === PLAYER === */
#player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 9999;
    font-size: 14px;
}

.player-center {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

#playPauseBtn {
    background: none;
    border: none;
    color: #222;
    font-size: 18px;
    cursor: pointer;
}

.progress-container {
    flex: 1;
    height: 4px;
    background: #ddd;
    position: relative;
    cursor: pointer;
    border-radius: 2px;
}

.progress {
    background: #444;
    height: 100%;
    width: 0%;
    transition: width 0.2s ease;
}

#currentTime,
#duration {
    width: 40px;
    text-align: center;
}

#volumeBar {
    width: 100px;
}

#muteBtn {
    background: none;
    border: none;
    color: #222;
    font-size: 16px;
    cursor: pointer;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        background-position: top;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .story-section {
        padding: 60px 15px;
        min-height: 60vh;
    }

    .story-section h2 {
        font-size: 28px;
    }

    .story-section p,
    .story-section blockquote {
        font-size: 16px;
    }

    #player-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .player-center,
    .player-right {
        width: 100%;
        justify-content: center;
    }

    #volumeBar {
        width: 150px;
    }
}
.message-item {
    list-style: none;
    margin-bottom: 20px;
}

.message-bubble {
    background: #fff;
    border-left: 4px solid #999;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.messages-section {
    padding: 4rem 1rem;
    background-color: #f9f9f9;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.message-form input,
.message-form textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
}

.message-form button {
    align-self: flex-start;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.message-form button:hover {
    background-color: #444;
}

.message-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.message-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f1f1f1;
    border-radius: 8px;
}

.message-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.message-date {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}
.depoiments-link {
    text-align: center;
    margin: 60px 0 100px;
}

.depoiments-link a {
    display: inline-block;
    background: #222;
    color: #fff;
    padding: 14px 26px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.depoiments-link a:hover {
    background: #444;
    transform: translateY(-2px);
}
.back-home-link {
    text-align: center;
    margin: 40px 0 80px;
}

.back-home-link a {
    color: #444;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 24px;
    transition: all 0.25s ease;
    display: inline-block;
    background: #f7f7f7;
}

.back-home-link a:hover {
    background-color: #eaeaea;
    border-color: #aaa;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

@keyframes zoomIn {
    from {
        background-size: 105%;
    }
    to {
        background-size: 110%;
    }
}
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.split-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}

.split-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    padding: 319px 0;
}

.split-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

@media (max-width: 768px) {
    .split-section {
        flex-direction: column;
    }
    .split-image {
        height: 50vh;
    }
    .split-text {
        padding: 2rem;
    }
}

.depoiment-grid-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    gap: 1.5rem;
}
.depoiment-grid-section {
    padding: 4rem 1rem;
    text-align: center;
    background: #fff;
}

.depoiment-grid-section h2 {
    font-size: 32px;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #222;
}

.depoiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.depoiment-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    background: #222;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    padding: 0.8rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}
.nav-btn:hover {
    background: #444;
}

.nav-btn.left {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-btn.right {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}
.depoiment-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    position: relative;
}

.depoiment-card::before {
    content: "“";
    font-size: 50px;
    color: #00bcd4;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
}

.depoiment-card .message {
    font-style: italic;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 1rem;
}

.depoiment-card .name {
    font-weight: 600;
    font-size: 1rem;
    color: #555;
}
