/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-brown) 0%, var(--color-brown-dark) 100%);
    overflow: visible;
    z-index: 1;
    margin-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.8) 0%, rgba(224, 120, 86, 0.7) 50%, rgba(164, 198, 57, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: var(--spacing-md);
    margin-bottom: 2rem;
    pointer-events: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 2;
    font-weight: 600;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    animation: fadeInUp 1.2s ease;
    position: relative;
    z-index: 2;
    font-feature-settings: "liga" 1, "kern" 1, "calt" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    pointer-events: none;
    cursor: pointer;
}

.scroll-indicator i {
    color: var(--color-white);
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

/* ===== CONTENT GRIDS ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 4rem;
    min-height: 500px;
}

.content-grid.reverse {
    direction: rtl;
    margin-top: 0;
    padding-top: 4rem;
    min-height: 500px;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.content-image img {
    width: 100%;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.content-image:hover img {
    transform: scale(1.05);
    z-index: 3;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(164, 198, 57, 0.2) 0%, rgba(139, 115, 85, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Equal height image/text for 'Cine sunt eu' (desktop) */
#despre .content-image {
    height: 560px;
}

#despre .content-image img {
    height: 100%;
    object-fit: cover;
}

#despre .content-text {
    max-height: 560px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Equal height image/text for 'Body Symphony' (desktop) */
#body-symphony .content-image {
    height: 560px;
}

#body-symphony .content-image img {
    height: 100%;
    object-fit: cover;
}

#body-symphony .content-text {
    max-height: 560px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Equal height image/text for 'Grupurile de Suport' (desktop) */
#grupuri-suport .content-image {
    height: 560px;
}

#grupuri-suport .content-image .group-placeholder {
    height: 100%;
}

#grupuri-suport .content-text {
    max-height: 560px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.content-text {
    padding: var(--spacing-md);
    position: relative;
    z-index: 2;
    background: rgba(240, 235, 224, 0.95);
    border-radius: 10px;
    margin: 1rem;
    box-shadow: var(--shadow-sm);
}

.content-text.centered {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
    z-index: 2;
    background: rgba(240, 235, 224, 0.95);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.intro-text {
    font-size: 1.25rem;
    color: var(--color-brown);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.content-text p {
    margin-bottom: var(--spacing-md);
    color: var(--color-gray);
    position: relative;
    z-index: 2;
}

/* Bio columns for 'Cine sunt eu' */
.bio-columns {
    columns: 2 280px; /* two columns when space allows, min width 280px */
    column-gap: 2rem;
    line-height: 1.85;
}

.bio-columns p {
    break-inside: avoid;
}

.bio-quote {
    font-style: italic;
    text-align: center;
    margin-top: 1.25rem;
    color: var(--color-brown);
    background: var(--color-beige);
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--color-orange);
    border-radius: 8px;
}

.highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    background: rgba(240, 235, 224, 0.8);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--color-beige);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.highlight-item:hover {
    background: var(--color-beige-dark);
    transform: translateX(10px);
    z-index: 3;
    box-shadow: var(--shadow-md);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--color-orange);
}

.highlight-item span {
    font-weight: 600;
    color: var(--color-brown-dark);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    min-height: 600px;
}

.therapy-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    min-height: 400px;
}

.therapy-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

/* ===== GROUPS SECTION ===== */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    min-height: 600px;
}

/* ===== WORKSHOP FEATURES ===== */
.workshop-features {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    min-height: 500px;
}

/* ===== WORKSHOP BENEFITS ===== */
.workshop-benefits {
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    background: rgba(240, 235, 224, 0.8);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.workshop-benefits h4 {
    color: var(--color-brown-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    color: var(--color-gray);
    border-bottom: 1px solid rgba(139, 115, 85, 0.1);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li:hover {
    color: var(--color-brown-dark);
    transform: translateX(5px);
    z-index: 3;
}

.benefits-list li i {
    color: var(--color-green);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

/* ===== GROUP TOPICS ===== */
.group-topics {
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    background: rgba(240, 235, 224, 0.8);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.group-topics h4 {
    color: var(--color-brown-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

.topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.topics-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: var(--color-beige);
    border-radius: 8px;
    border-left: 4px solid var(--color-orange);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    flex-direction: column;
    line-height: 1.6;
}

.topics-list li:nth-child(2) {
    border-left-color: var(--color-green);
}

.topics-list li:nth-child(3) {
    border-left-color: var(--color-coral);
}

.topics-list li:nth-child(4) {
    border-left-color: var(--color-yellow-dark);
}

.topics-list li:nth-child(5) {
    border-left-color: var(--color-brown);
}

.topics-list li:nth-child(6) {
    border-left-color: var(--color-orange-dark);
}

.topics-list li:nth-child(7) {
    border-left-color: var(--color-green-dark);
}

.topics-list li:nth-child(8) {
    border-left-color: var(--color-coral-dark);
}

.topics-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.topics-list li i {
    font-size: 1.2rem;
    color: var(--color-orange);
    margin-bottom: var(--spacing-xs);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    align-self: flex-start;
}

.topics-list li:nth-child(2) i {
    color: var(--color-green);
}

.topics-list li:nth-child(3) i {
    color: var(--color-coral);
}

.topics-list li:nth-child(4) i {
    color: var(--color-yellow-dark);
}

.topics-list li:nth-child(5) i {
    color: var(--color-brown);
}

.topics-list li:nth-child(6) i {
    color: var(--color-orange-dark);
}

.topics-list li:nth-child(7) i {
    color: var(--color-green-dark);
}

.topics-list li:nth-child(8) i {
    color: var(--color-coral-dark);
}

.topics-list li strong {
    color: var(--color-brown-dark);
    font-weight: 600;
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.topics-list li span:not(strong) {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.group-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-cream) 100%);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.group-placeholder i {
    font-size: 4rem;
    color: var(--color-orange);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.group-placeholder p {
    color: var(--color-brown-dark);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--color-beige);
    border-radius: 8px;
    border-left: 4px solid var(--color-orange);
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.feature-item:nth-child(2) {
    border-left-color: var(--color-green);
    z-index: 2;
}

.feature-item:nth-child(3) {
    border-left-color: var(--color-yellow-dark);
    z-index: 2;
}

.feature-item i {
    font-size: 2rem;
    color: var(--color-orange);
    margin-top: 5px;
    position: relative;
    z-index: 2;
}

.feature-item:nth-child(2) i {
    color: var(--color-green);
    z-index: 2;
}

.feature-item:nth-child(3) i {
    color: var(--color-yellow-dark);
    z-index: 2;
}

.feature-item h4 {
    color: var(--color-brown-dark);
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 2;
}

.feature-item p {
    color: var(--color-gray);
    margin: 0;
    position: relative;
    z-index: 2;
}

/* ===== BOOK SHOWCASE ===== */
.book-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    align-items: center;
    background: var(--color-beige);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    margin-top: 4rem;
    padding-top: 4rem;
    min-height: 500px;
}

/* ===== BOOK GALLERY ===== */
.book-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    min-height: 500px;
}

.book-gallery > div {
    background: var(--color-beige);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 3 / 4; /* uniform card ratio */
    position: relative;
    transition: var(--transition);
}

.book-gallery > div:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.book-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.book-gallery > div:hover img {
    transform: scale(1.05);
}

/* Mobile-specific: disable hover effect on touch devices */
@media (hover: none) and (pointer: coarse) {
    .book-gallery > div:hover {
        transform: none;
    }
    
    .book-gallery > div:hover img {
        transform: none;
    }
}

.book-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    background: rgba(240, 235, 224, 0.8);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.book-purchase-info {
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    background: rgba(240, 235, 224, 0.9);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-orange);
}

.purchase-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.price-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--color-beige);
    border-radius: 8px;
    border-left: 4px solid var(--color-green);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.price-info:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.price-info i {
    font-size: 1.5rem;
    color: var(--color-green);
    position: relative;
    z-index: 2;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-brown-dark);
    position: relative;
    z-index: 2;
}

.delivery-info {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--color-beige);
    border-radius: 8px;
    border-left: 4px solid var(--color-coral);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.delivery-info:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.delivery-info i {
    font-size: 1.5rem;
    color: var(--color-coral);
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.delivery-info span {
    color: var(--color-gray);
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.contact-purchase {
    background: var(--color-cream);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--color-orange);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
    text-align: center;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--color-white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #0E6B5C);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.btn-whatsapp i {
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

.book-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-cream) 100%);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    padding: var(--spacing-lg);
}

.book-placeholder i {
    font-size: 4rem;
    color: var(--color-orange);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.book-placeholder p {
    color: var(--color-brown-dark);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.4;
}

.book-details {
    background: rgba(240, 235, 224, 0.9);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.book-details p {
    color: var(--color-gray);
    margin: var(--spacing-xs) 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.book-details strong {
    color: var(--color-brown-dark);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.book-cover {
    position: relative;
    z-index: 2;
}

.book-cover img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.book-cover:hover img {
    transform: translateY(-10px) rotate(-2deg);
    z-index: 3;
}

.book-details h3 {
    font-size: 2rem;
    color: var(--color-brown-dark);
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 2;
}

.book-subtitle {
    color: var(--color-green);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.book-description {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.book-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-brown);
}

.info-item i {
    color: var(--color-orange);
    font-size: 1.2rem;
}

.book-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ===== MEDIA SECTION ===== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    min-height: 600px;
}

.media-item {
    background: var(--color-beige);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.media-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    z-index: 2;
}

.media-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.media-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-cream) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-brown-dark);
    position: relative;
    z-index: 2;
}

.media-placeholder i {
    font-size: 3rem;
    color: var(--color-orange);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

.media-placeholder span {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.media-link:hover .media-overlay {
    opacity: 1;
}

.media-overlay i {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 3;
}

.media-overlay span {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 3;
}

.media-info {
    padding: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.media-info h3 {
    color: var(--color-brown-dark);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.media-info p {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Mobile-specific: disable hover effect on touch devices */
@media (hover: none) and (pointer: coarse) {
    .media-item:hover {
        transform: none;
    }
    
    .media-link:hover .media-overlay {
        opacity: 0.8;
    }
}

/* ===== ARTICLES SECTION ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    min-height: 600px;
}

.article-item {
    background: var(--color-beige);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.article-header {
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    padding: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.article-header h3 {
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.article-content {
    padding: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.article-content p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-quote {
    font-style: italic;
    text-align: center;
    margin-top: var(--spacing-lg) !important;
    color: var(--color-brown-dark) !important;
    background: var(--color-cream);
    padding: var(--spacing-md);
    border-left: 4px solid var(--color-orange);
    border-radius: 8px;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    position: relative;
    z-index: 2;
}

/* Responsive adjustments for articles */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .article-content {
        padding: var(--spacing-md);
    }
    
    .article-header h3 {
        font-size: 1.2rem;
    }
}

/* Body Symphony media layout: consistent cards */
#body-symphony .media-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

#body-symphony .media-grid > div {
    background: var(--color-beige);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 3 / 4; /* uniform card ratio */
    position: relative;
}

#body-symphony .media-grid > div video,
#body-symphony .media-grid > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Mobile video optimization */
    -webkit-user-select: none;
    user-select: none;
}

#body-symphony .media-grid > div video {
    /* Prevent full-screen on double tap */
    -webkit-touch-callout: none;
}

#body-symphony .media-grid > div:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    transition: var(--transition);
}

/* Mobile-specific: disable hover effect on touch devices */
@media (hover: none) and (pointer: coarse) {
    #body-symphony .media-grid > div:hover {
        transform: none;
    }
}

/* See more tile */
.see-more-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.see-more-tile span {
    background: rgba(0,0,0,0.55);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    user-select: none;
    -webkit-user-select: none;
}

/* Overlay variant placed over the 4th visible video */
.see-more-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease;
}

.see-more-overlay:active {
    background: rgba(0,0,0,0.6);
}

.see-more-overlay span {
    background: rgba(0,0,0,0.6);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
    overflow: hidden;
    padding: var(--spacing-md);
    z-index: 2;
    background: var(--color-beige);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    min-height: 400px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.slider-btn:hover {
    background: var(--color-orange-dark);
    transform: scale(1.1);
    z-index: 3;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    min-height: 600px;
}

.contact-info h3,
.contact-form h3 {
    color: var(--color-brown-dark);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
    background: var(--color-beige);
    padding: var(--spacing-sm);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.contact-info p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
    background: var(--color-beige);
    padding: var(--spacing-sm);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
    background: var(--color-beige);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-cream);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-orange);
    margin-top: 5px;
    position: relative;
    z-index: 2;
}

.contact-item:nth-child(2) i {
    color: var(--color-green);
    z-index: 2;
}

.contact-item:nth-child(3) i {
    color: var(--color-coral);
    z-index: 2;
}

.contact-item h4 {
    color: var(--color-brown-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.contact-item a,
.contact-item p {
    color: var(--color-gray);
    margin: 0;
    position: relative;
    z-index: 2;
}

.contact-item a:hover {
    color: var(--color-orange);
    z-index: 3;
}

.social-links {
    padding: var(--spacing-md);
    background: var(--color-beige);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
    margin-top: var(--spacing-md);
}

.social-links h4 {
    color: var(--color-brown-dark);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.social-icons a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-orange), var(--color-coral));
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.social-icons a:nth-child(2) {
    background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
    z-index: 2;
}

.social-icons a:nth-child(3) {
    background: linear-gradient(135deg, var(--color-yellow-dark), var(--color-yellow));
    z-index: 2;
}

.social-icons a:nth-child(4) {
    background: linear-gradient(135deg, var(--color-orange-dark), var(--color-orange));
    z-index: 2;
}

.social-icons a:nth-child(5) {
    background: linear-gradient(135deg, var(--color-coral), var(--color-orange-light));
    z-index: 2;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.contact-form {
    background: var(--color-beige);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    min-height: 500px;
}

.contact-form .btn {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-brown-dark);
    color: var(--color-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
    position: relative;
    z-index: 2;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
    z-index: 2;
    width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.footer-logo i {
    color: var(--color-orange);
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.footer-logo-image {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-right: 0.5rem;
    background: transparent;
}

.footer p {
    color: var(--color-gray-light);
    margin: 0;
    position: relative;
    z-index: 2;
}

.developer-credit {
    margin-top: var(--spacing-sm) !important;
    font-size: 0.95rem;
    opacity: 0.95;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
}

.developer-link {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.developer-link:hover {
    color: var(--color-orange-light);
    z-index: 3;
}

/* Icon and underline accent */
.developer-credit::before {
    content: "\f121"; /* code icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-orange);
}

.developer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-coral));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.developer-link:hover::after {
    transform: scaleX(1);
}

