@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Nixie+One&display=swap');

/* =========================================================
   Base / Global
========================================================= */

:root {
    --accent: #ed2564;
    --accent-dark: #9b0d3a;
    --dark: #050505;
    --text: #222222;
    --muted: #666666;
    --paper: #ffffff;
    --soft: #f7f7f7;
    --footer-gray: #333333;
    --container: 960px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: Lato, Arial, sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

/* =========================================================
   Header
========================================================= */

.site-header {
    background: #ffffff;
    color: #000000;
    border-bottom: 1px solid #eeeeee;
    box-shadow: none;
    position: relative;
    z-index: 20;
}

.header-inner {
    position: relative;
    height: 135px;
}

.brand {
    position: absolute;
    left: 0;
    top: 45px;
    color: #333333;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.18);
}

.header-contact {
    position: absolute;
    right: 0;
    top: 19px;
    text-align: left;
    color: #000000;
}

.header-phone {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
}

.header-address {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
}

.site-nav {
    position: absolute;
    right: 0;
    bottom: 27px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    position: relative;
    color: #000000;
    text-decoration: none;
    padding: 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: #b00000;
}

.site-nav a.active {
    color: #000000;
}

.site-nav a.active::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -16px;
    width: 22px;
    height: 3px;
    background: #000000;
    transform: translateX(-50%);
}

.menu-toggle {
    display: none;
}

/* =========================================================
   General Hero Banner
========================================================= */

.hero {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
    color: white;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    opacity: 80%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
}

.hero-content {
    position: relative;
    padding: 80px 0;
}

.eyebrow {
    margin: 0 0 10px;
    color: #ffffff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
}

.hero h1 {
    margin: 0;
    max-width: 850px;
    font-family: "Nixie One", Georgia, serif;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.05;
    text-shadow: 2px 2px 18px rgba(0, 0, 0, 0.65);
}

/* =========================================================
   Page Layout
========================================================= */

.page-section {
    padding: 64px 0;
}

.content-layout {
    display: grid;
    gap: 46px;
    align-items: start;
}

.content-layout.two-column {
    grid-template-columns: minmax(0, 1fr) 410px;
}

.content-layout.single-column {
    grid-template-columns: 1fr;
}

.page-content {
    min-width: 0;
}

.content-block {
    margin-bottom: 28px;
    font-size: 18px;
}

.content-block h1,
.content-block h2,
.content-block h3,
.content-block div:first-child {
    font-family: "Nixie One", Georgia, serif;
}

.content-block h1,
.content-block h2 {
    color: var(--accent);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin: 0 0 18px;
}

.content-block p,
.content-block div {
    margin-top: 0;
}

/* =========================================================
   Home Page
========================================================= */

.home-welcome-section {
    padding-top: 0;
}

.home-title-section {
    text-align: center;
}

.home-big-heading {
    margin: 0;
    color: #555555;
    font-family: "Nixie One", Georgia, serif;
    font-size: clamp(54px, 10vw, 126px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
}

/* Home peace banner */
.feature-images-peace {
    position: relative;
    width: 80%;
    max-width: 918px;
    margin: 0 auto 50px;
    overflow: hidden;
    background: #999999;
    text-align: center;
}

.feature-images-peace img.peace-banner-full {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center top;
    border-radius: 0;
    margin: 0 auto;
    filter: brightness(0.74) contrast(0.92) saturate(0.78);
}

.peace-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: none;
    padding-top: 70px;
}

.peace-banner-title {
    margin: 0;
    color: #b40000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1.5px;
    text-shadow:
        2px 2px 0 rgba(0, 0, 0, 0.55),
        0 0 1px rgba(0, 0, 0, 0.8);
}

.peace-banner-line {
    width: min(77%, 920px);
    height: 4px;
    background: #111111;
    margin: 11px auto 115px;
}

.peace-banner-subtitle {
    margin: 0;
    max-width: 92%;
    color: #050505;
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(28px, 4.4vw, 52px);
    font-style: italic;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow:
        1px 1px 0 rgba(255, 255, 255, 0.28),
        0 0 1px rgba(0, 0, 0, 0.35);
}

/* Home images */
.feature-images {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.feature-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.4 / 1;
    object-fit: cover;
    border: 6px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

.feature-images-circle img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 6px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

.feature-images-ClassSchedules img {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border: 6px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

/* Home image sections with moving white overlay title */
.home-image-title-section {
    text-align: center;
}

.home-image-title-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

.home-image-title-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.4 / 1;
    object-fit: cover;
    border: 6px solid #ffffff;
    border-radius: 12px;
}

.home-image-title-card::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.home-image-overlay-title {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    margin: 0;
    color: #ffffff;
    font-family: "Nixie One", Georgia, serif;
    font-size: clamp(58px, 12vw, 126px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
    text-align: center;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%);
    will-change: transform;
    pointer-events: none;
}

/* Home motion: fade-up sections + zoom-in images */
.home-page .scroll-reveal {
    opacity: 0;
    transform: translateY(44px);
    transition:
        opacity 0.85s ease,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.home-page .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.home-page .image-zoom-reveal {
    opacity: 0;
    transform: scale(1.075);
    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease;
    will-change: opacity, transform;
}

.home-page .image-zoom-reveal.is-visible {
    opacity: 1;
    transform: scale(1);
}

.home-page .feature-images img:hover,
.home-page .feature-images-circle img:hover,
.home-page .feature-images-ClassSchedules img:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

/* Keep peace banner from zooming; only fade it in */
.home-page .feature-images-peace img.image-zoom-reveal {
    transform: none;
}

.home-page .feature-images-peace img.image-zoom-reveal.is-visible {
    transform: none;
}

/* =========================================================
   Testimonials
========================================================= */

.testimonials-section {
    background: #ffffff;
    padding: 72px 0 90px;
}

.testimonials-container {
    max-width: 1160px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-header h2 {
    margin: 0;
    color: #050505;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.1;
}

.testimonials-divider {
    width: 80px;
    height: 2px;
    margin: 22px auto 16px;
    background: #c7cbd1;
}

.testimonials-header p {
    margin: 0;
    color: #1c2f4a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.4;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    min-height: 216px;
    padding: 28px 28px 30px;
    background: #ffffff;
    border-left: 4px solid #b40000;
    box-shadow: 18px 18px 42px rgba(0, 0, 0, 0.035);
}

.testimonial-card p {
    margin: 0;
    color: #001f3c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.65;
}

.testimonial-card:nth-child(4),
.testimonial-card:nth-child(5) {
    min-height: 300px;
}

@media (max-width: 980px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-section {
        padding: 55px 0 65px;
    }

    .testimonials-header {
        margin-bottom: 34px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card,
    .testimonial-card:nth-child(4),
    .testimonial-card:nth-child(5) {
        min-height: auto;
    }

    .testimonial-card p {
        font-size: 16px;
        line-height: 1.55;
    }
}

/* =========================================================
   Classes Page
========================================================= */

.classes-container {
    width: min(1150px, calc(100% - 36px));
    max-width: 1150px;
}

.classes-content {
    width: 100%;
}

.classes-notes {
    text-align: center;
    margin-top: 28px;
}

.free-class {
    font-size: 22px;
    font-weight: 700;
    color: #ea0505;
}

.family-discount {
    font-size: 20px;
    font-weight: 700;
    color: #3400e2;
    text-decoration: underline;
}

.private-lessons {
    font-size: 16px;
    font-weight: 700;
    color: #f00000;
}

/* =========================================================
   Rules Page
========================================================= */

.rules-page .rules-hero {
    min-height: 480px;
    background-size: cover;
    background-position: center;
}

.rules-page .rules-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.42);
}

.rules-page .rules-hero .hero-content {
    padding: 70px 0;
}

.rules-page .rules-hero h1 {
    margin: 0;
    max-width: 900px;
    color: #ffffff;
    font-family: Lato, Arial, sans-serif;
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: -2px;
    text-shadow: none;
}

.rules-page-section {
    background: #ffffff;
    padding: 92px 0 150px;
}

.rules-container {
    max-width: 960px;
}

.rules-block {
    margin-bottom: 76px;
}

.rules-heading {
    position: relative;
    margin: 0 0 42px;
    color: #555555;
    font-family: "Nixie One", Georgia, serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
}

.rules-heading::after {
    content: "";
    display: block;
    width: 82px;
    height: 1px;
    margin-top: 6px;
    background: #bdbdbd;
}

.rules-list {
    margin: 0;
    padding-left: 18px;
    color: #07344a;
    font-size: 15px;
    font-weight: 700;
    line-height: 2.05;
}

.rules-list li {
    margin-bottom: 2px;
    padding-left: 2px;
}

.rules-list li::marker {
    font-weight: 900;
}

.rules-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 62px;
    align-items: start;
    margin-bottom: 72px;
}

.rules-commandments-row {
    grid-template-columns: 390px minmax(0, 1fr);
    align-items: center;
    margin-top: 20px;
}

.rules-text-column {
    min-width: 0;
}

.rules-image-card {
    margin: 0;
    padding: 8px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow:
        0 0 0 7px rgba(0, 0, 0, 0.07),
        0 12px 30px rgba(0, 0, 0, 0.10);
}

.rules-image-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
}

.rules-image-wide img {
    aspect-ratio: 4 / 3;
}

.rules-page .feature-images img,
.rules-page figure img {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    will-change: transform;
}

.rules-page .feature-images img:hover,
.rules-page figure img:hover {
    transform: translateY(-6px) scale(1.025) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24) !important;
}

/* =========================================================
   Contact Page
========================================================= */

.contact-page {
    background: #eeeeee;
}

.contact-page .contact-hero {
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.contact-page .contact-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.22);
}

.contact-page .contact-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    padding: 0;
    text-align: center;
}

.contact-page .contact-hero h1 {
    margin: 0;
    color: #ffffff;
    font-family: Lato, Arial, sans-serif;
    font-size: clamp(44px, 5vw, 66px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: none;
}

.contact-info-section {
    background: #eeeeee;
    padding: 72px 0 0;
}

.contact-container {
    max-width: 960px;
}

.contact-heading {
    margin-bottom: 56px;
}

.contact-heading h2 {
    margin: 0;
    color: #555555;
    font-family: "Nixie One", Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
}

.contact-heading p {
    margin: 4px 0 0;
    color: #999999;
    font-family: "Nixie One", Georgia, serif;
    font-size: 22px;
    line-height: 1.3;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 78px;
}

.contact-info-card {
    min-height: 132px;
    padding: 0 42px;
    color: #999999;
    border-left: 1px solid #ffffff;
}

.contact-info-card:first-child {
    border-left: 0;
    padding-left: 0;
}

.contact-info-card:last-child {
    padding-right: 0;
}

.contact-icon {
    width: 30px;
    height: 34px;
    margin-bottom: 8px;
    color: #a8a8a8;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.contact-icon-empty {
    visibility: hidden;
}

.contact-info-card h3 {
    margin: 0 0 18px;
    color: #333333;
    font-family: "Nixie One", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-info-card p {
    margin: 0;
    color: #999999;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1px;
}

.contact-info-card a {
    color: #999999;
    text-decoration: none;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-map-title {
    margin: 0;
    padding-bottom: 22px;
    color: #555555;
    font-family: "Nixie One", Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-map-section {
    width: 100%;
    background: #dddddd;
}

.contact-map-section iframe {
    display: block;
    width: 100%;
    height: 390px;
    border: 0;
}

/* =========================================================
   Gallery
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    margin: 0;
    background: var(--soft);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* =========================================================
   Gallery Lightbox
========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.92);
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    border: 4px solid #ffffff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
    background: #000000;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    z-index: 10000;
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(237, 37, 100, 0.9);
    transform: scale(1.05);
}

.lightbox-close {
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    font-size: 32px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 72px;
    border-radius: 8px;
    font-size: 42px;
    line-height: 1;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}

.lightbox-caption {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.04em;
    opacity: 0.85;
}

.lightbox-image.slide-next-out {
    transform: translateX(-34px) scale(0.98);
    opacity: 0;
}

.lightbox-image.slide-prev-out {
    transform: translateX(34px) scale(0.98);
    opacity: 0;
}

.lightbox-image.slide-next-in {
    animation: lightboxNextIn 0.28s ease both;
}

.lightbox-image.slide-prev-in {
    animation: lightboxPrevIn 0.28s ease both;
}

@keyframes lightboxNextIn {
    from {
        opacity: 0;
        transform: translateX(34px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes lightboxPrevIn {
    from {
        opacity: 0;
        transform: translateX(-34px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
    background: var(--footer-gray);
    color: #ffffff;
    padding: 14px 0;
    font-size: 12px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 24px;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
    line-height: 1.25;
}

.footer-center a {
    color: #ffffff;
    text-decoration: none;
}

.footer-center a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.footer-social a {
    width: 26px;
    height: 26px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: #ffffff;
    color: var(--footer-gray);
    transform: translateY(-2px);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 820px) {
    .header-inner {
        height: auto;
        min-height: 122px;
        padding: 20px 0 18px;
    }

    .brand {
        position: static;
        display: block;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .header-contact {
        position: static;
        margin-bottom: 14px;
    }

    .header-phone {
        font-size: 21px;
    }

    .menu-toggle {
        display: inline-block;
        margin-bottom: 12px;
        border: 1px solid #111111;
        background: #ffffff;
        color: #111111;
        padding: 7px 12px;
        cursor: pointer;
    }

    .site-nav {
        display: none;
        position: static;
        background: #ffffff;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a.active::before {
        display: none;
    }

    .content-layout.two-column {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-images-peace {
        max-width: 100%;
        max-width: 100%;
    }

    .peace-banner-overlay {
        padding-top: 38px;
    }

    .peace-banner-title {
        font-size: clamp(28px, 8vw, 44px);
        letter-spacing: -0.8px;
    }

    .peace-banner-line {
        width: 82%;
        height: 3px;
        margin: 8px auto 55px;
    }

    .peace-banner-subtitle {
        font-size: clamp(24px, 6vw, 38px);
        max-width: 94%;
    }

    .testimonials-section {
        padding: 55px 0;
    }

    .testimonials-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials-left h2 {
        font-size: 34px;
    }

    .testimonials-left p {
        font-size: 20px;
    }

    .testimonials-right {
        max-width: none;
        font-size: 14px;
    }

    .rules-page .rules-hero {
        min-height: 240px;
    }

    .rules-page .rules-hero h1 {
        font-size: clamp(38px, 10vw, 62px);
        letter-spacing: -1px;
    }

    .rules-page-section {
        padding: 60px 0 90px;
    }

    .rules-two-column,
    .rules-commandments-row {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .rules-commandments-row .rules-image-card {
        order: 2;
    }

    .rules-commandments-row .rules-text-column {
        order: 1;
    }

    .rules-heading {
        font-size: 34px;
    }

    .rules-list {
        line-height: 1.75;
        text-align: left;
    }

    .contact-page .contact-hero {
        min-height: 210px;
    }

    .contact-page .contact-hero .hero-content {
        min-height: 210px;
    }

    .contact-info-section {
        padding: 48px 0 0;
    }

    .contact-heading {
        margin-bottom: 36px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        margin-bottom: 52px;
    }

    .contact-info-card {
        border-left: 0;
        border-top: 1px solid #ffffff;
        padding: 28px 0;
    }

    .contact-info-card:first-child {
        border-top: 0;
    }

    .contact-map-title {
        font-size: 28px;
    }

    .contact-map-section iframe {
        height: 340px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-social {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .page-section {
        padding: 42px 0;
    }

    .content-block {
        font-size: 16px;
    }

    .home-big-heading {
        font-size: clamp(44px, 17vw, 86px);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 230px;
    }

    .lightbox {
        padding: 12px;
    }

    .lightbox-image {
        max-width: 96vw;
        max-height: 78vh;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 58px;
        font-size: 34px;
    }
}

/* Accessibility: reduce motion if user prefers it */
@media (prefers-reduced-motion: reduce) {
    .home-page .scroll-reveal,
    .home-page .image-zoom-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
/* =========================================================
   About Page Image Hover
========================================================= */

.about-page .feature-images img,
.about-page .feature-images-circle img,
.about-page aside img {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    will-change: transform;
}

.about-page .feature-images img:hover,
.about-page .feature-images-circle img:hover,
.about-page aside img:hover {
    transform: translateY(-6px) scale(1.025) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24) !important;
}
