/* Interaction Typography Page Specific Styles */
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
/* SVG common styles */
svg {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

/* Design 1: Hover Effects */
.design-1 {
    width: 100%;
}

.hover-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hover-image {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hover-text {
    text-align: center;
    color: #fff;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.hover-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.hover-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}

.hover-container:hover .hover-image {
    transform: scale(1.1);
}

.hover-container:hover .hover-overlay {
    opacity: 1;
}

.hover-container:hover .hover-text {
    transform: translateY(0);
}

/* Design 2: Click to Expand */
.design-2 {
    width: 100%;
}

.click-container {
    width: 100%;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.click-header {
    padding: 20px;
    text-align: center;
}

.click-image {
    height: 150px;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.click-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.click-hint {
    color: #6366f1;
    font-size: 0.85rem;
    font-weight: 600;
}

.click-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.click-content p {
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.click-container.expanded .click-content {
    max-height: 300px;
    opacity: 1;
    padding: 0 20px 20px;
}

.click-container.expanded {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Design 3: Scroll Parallax */
.design-3 {
    width: 100%;
}

.parallax-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.parallax-image {
    width: 100%;
    height: 100%;
}

.parallax-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: #fff;
    pointer-events: none;
    width: 100%;
    padding: 20px;
}

.parallax-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.parallax-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.parallax-stars-bg,
.parallax-mountains-mid,
.parallax-mountains-fg {
    transition: transform 0.3s ease-out;
}

/* Design 4: Text Animation */
.design-4 {
    width: 100%;
}

.animation-container {
    width: 100%;
    height: 300px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.animation-image {
    width: 100%;
    height: 100%;
}

.animation-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.animated-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 1.5s ease forwards;
}

.animated-paragraph {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    animation: fadeInUp 1.5s ease 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Design 5: Cursor Interaction */
.design-5 {
    width: 100%;
}

.cursor-container {
    width: 100%;
    height: 300px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cursor-image {
    width: 100%;
    height: 100%;
}

.cursor-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.cursor-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.cursor-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.cursor-follower {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    z-index: 1;
}

#interactive-dots circle {
    transition: r 0.3s ease, opacity 0.3s ease;
}

/* Responsive styles - keep only what's specific to this page */
@media (max-width: 767px) {
    .hover-text h3,
    .cursor-text h3,
    .parallax-text h3,
    .animated-heading {
        font-size: 1.3rem;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .hover-container,
    .cursor-container,
    .parallax-container,
    .animation-container {
        height: 220px;
    }

    .click-image {
        height: 120px;
    }
}
