@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
#intro{
display: flex;
position: fixed;
background-color: white;
z-index: 100;
width: 100%;
height: 100%;
display: none;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}
.logo-area{
cursor: pointer;
}

:root {
    --main-color: #f4f1f1; /* Gold */
    --bg-color: #3d3c3c;
    --card-bg: #727272;
    --text-color: #000000;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}
#wood{
display: block;
}
/* --- Header Styles (Fixed Height එක් කළා) --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    
    /* ලා අළු සිට ලා කළු දක්වා වර්ණ 4ක් */
    background: linear-gradient(-45deg, #9c9c9c, #2d2d2d, #1a1a1a, #9c9c9c);
    background-size: 400% 400%; 
    animation: softGradient 8s ease infinite; /* තත්පර 8 ක සුමට ඇනිමේෂන් එකක් */
    
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* සියුම් රේඛාවක් */
}

/* වර්ණ මාරු වන ආකාරය */
@keyframes softGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 1px;
    color: var(--main-color);
}

/* --- Animations (එලෙසම පවතී) --- */
@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-40vw); }
}

@keyframes slideRight {
    0% { transform: translateX(-40vw); }
    100% { transform: translateX(0); }
}

.go-to-shop {
    animation: slideLeft 0.8s forwards ease-in-out;
    z-index: 1100;
}

.go-to-home {
    animation: slideRight 0.8s forwards ease-in-out;
    z-index: 1000;
}

/* Logo Styles */
.logo-variants-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.v-card {
    width: 65px; 
    height: 65px;
    border-radius: 50%; 
    cursor: pointer;
    transition: 0.4s ease;
    background-size: cover;
    background-position: center;
    border: none;
}

.gold { background-image: url('gold logo.png'); }
.silver { background-image: url('silvar logo.png'); }
.black { background-image: url('black logo.png'); }

.v-card:hover { transform: scale(1.1); }

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative; /* ඇතුළේ තියෙන දේවල් සකස් කරන්න අත්‍යවශ්‍යයි */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Video එක එළියට පනින එක වළක්වන්න */
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 22px;
    z-index: -1; /* Content එකට යටින් video එක තියන්න */
    width: 95%;
    height: 80%;
    object-fit: cover; /* Video එක screen එකට හරියටම fit වෙන්න */
}

/* Video එක උඩින් අර කළු පැහැති ගතිය (Overlay) ගන්න */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    /* වම් පැත්තේ පහළටම ගේන්න */
    align-items: flex-end; 
    justify-content: flex-start; 
    padding-left: 8%; 
    padding-bottom: 2%; /* පහළ කෙළවරේම නොවී ලස්සනට පේන්න */
    overflow: hidden;
}

/* ඔයාගේ පරණ code එක ඒ විදිහටම */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 254, 254, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 0;
}


.content {
    z-index: 1;
    color: rgb(189, 189, 189);
    text-align: left;
}

.since-text {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: -5px;
    display: block;
}

.content h1 {
    font-family: 'Montserrat', sans-serif; 
    font-style: italic;
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 10px;
}
/* Video එක background එකේ පේන්න මේක අත්‍යවශ්‍යයි */
.back-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--main-color);
    color: black;
    font-weight: 600;
    border-radius: 5px;
    margin-top: 1.5rem;
}

/* --- Social Sidebar (පින්තූර වැසීම වැළැක්වීමට මඳක් වමට කළා) --- */
/* --- Social Sidebar Update --- */
.social-sidebar {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.social-sidebar a {
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-color);
    font-size: 22px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Hover Animation: දකුණට මඳක් ලිස්සා යාම */
.social-sidebar a:hover {
    transform: translateX(10px);
    color: #fff;
}

/* අනෙකුත් අයිකන වල වර්ණ */
.social-sidebar a.TIKTOK:hover{ background: #a6a6a6; box-shadow: 0 0 15px #dfdfdf; }
.social-sidebar a.INSTAGRAM:hover { background: #a6a6a6; box-shadow: 0 0 15px #dfdfdf; }
.social-sidebar a.FACEBOOK:hover { background: #a6a6a6; box-shadow: 0 0 15px #dfdfdf; }
.social-sidebar a.YOUTUBE:hover { background: #a6a6a6; box-shadow: 0 0 15px #dfdfdf; }
.social-sidebar a.WHATSAPP:hover { background: #a6a6a6; box-shadow: 0 0 15px #dfdfdf; }

/* --- Shop Sections Update (වැදගත් කොටස) --- */
.shop-page {
    padding-top: 130px !important; /* Header එකට වඩා පල්ලෙහාට පළමු කාඩ් එක තල්ලු කළා */
    min-height: 100vh;
}

.product-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    padding: 20px 5% 20px 8% !important; /* වම් පසින් Sidebar එකට ඉඩ තැබුවා */
    width: 100%;
}

.product-card {
    display: flex !important;
    flex-direction: row !important;
    background: #111;
    border: 1px solid #222;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    width: 100% !important;
    min-height: 220px;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--main-color);
}

.product-img {
    flex: 0 0 250px !important; /* පින්තූරයට ලැබෙන ඉඩ මඳක් වැඩි කළා */
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    flex: 1;
    padding: 30px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left !important;
}

.product-info h3 { 
    margin: 0 0 10px; 
    color: #fff; 
    font-size: 1.8rem;
}

.product-info p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
.shop-header {
    margin-bottom: 40px;
    text-align: left !important; /* මැද සිට වම් පැත්තට (ඉදිරියට) ගැනීම */
    padding-left: 8%; /* පින්තූර පෙළගැසී ඇති මට්ටමටම මාතෘකාවත් ගැනීමට */
}

.shop-header h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
/* --- අලුත් කොටස සඳහා පමණක් වූ CSS --- */
.main-details {
    padding: 80px 8%;
    background-color: #1a1a1a;
    color: white;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

/* ලෝගෝ එකේ size එක මෙතනින් වෙනස් කරන්න පුළුවන් */
.category-logo {
    width: 130px; 
    height: auto;
    border-radius: 50%;
    object-fit: contain;
}

.text-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: rgb(189, 189, 189);
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #bbb;
}

/* පතුලේ ඇති විස්තර (Footer) */
.footer-bottom-info {
    background: #000000;
    padding: 40px 8%;
    color: #888;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px;
}

.footer-contact p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: #d4af37;
    margin-right: 5px;
}

.footer-about {
    max-width: 5000px;
    font-size: 1rem;
}
.timber-card{
background-color: rgb(89, 88, 88);
display: flex;
width: 100%;
height: 100%;
justify-content: center;
}


/* Mobile responsive */
@media (max-width: 768px) {
    .category-item {
        flex-direction: column;
        text-align: center;
    }
}
.timber-gallery { padding: 50px 20px; text-align: center; background: #5a5a5a; }
.section-title { font-size: 2.5rem; margin-bottom: 30px; color: #333; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* පේළියට 4 බැගින් */
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.timber-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1/1;
}

.timber-card img {
width: 85%; 
height: 85%; 
padding: 20px;
transition: 0.3s; 
border-radius: 50%;

}

.overlay {
    position: absolute; bottom: 0; background: rgba(255, 255, 255, 0.6);
    color: #fff; width: 100%; padding: 10px; font-weight: bold; 
}

/* Modal Styling */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); }
.modal-content { background: #fff; margin: 15% auto; padding: 20px; width: 50%; border-radius: 10px; text-align: left; }
.close { float: right; font-size: 28px; cursor: pointer; }

@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } } /* Mobile එකේදී 2 බැගින් */

/* Mobile Responsive */
@media (max-width: 768px) {
    header { height: 90px; }
    .shop-page { padding-top: 110px !important; }
    
    .product-card {
        flex-direction: row !important;
        min-height: 160px;
    }
    .product-img {
        flex: 0 0 130px !important;
    }
    .product-info h3 {
        font-size: 1.1rem;
    }
}
/* =========================================================
   ADDED — Loading Screen
   ========================================================= */
html { scrollbar-width: thin; }

body.loading {
    overflow: hidden;
    height: 100vh;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(135deg, #141414, #232323 45%, #141414);
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.site-loader.loader-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.loader-ring-track {
    fill: none;
    stroke: rgba(212, 175, 55, 0.15);
    stroke-width: 3;
}

.loader-ring-fill {
    fill: none;
    stroke: #d4af37;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 327; /* 2 * PI * 52 */
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 0.25s linear;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

.loader-percent {
    position: absolute;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #f4f1f1;
    font-weight: 600;
}

.loader-word {
    overflow: visible;
}

.loader-letters {
    display: inline-flex;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #f4f1f1;
}

/* Each letter rides in like a wave rolling ashore, left to right,
   then keeps a very light bob so the word feels "alive" while it waits. */
.loader-letters .lw {
    display: inline-block;
    opacity: 0;
    color: #f4f1f1;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    animation-name: letterWaveIn, letterFloat;
    animation-duration: 0.7s, 3.2s;
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1), ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
}

.loader-letters .lw-space {
    width: 0.4em;
}

@keyframes letterWaveIn {
    0% { opacity: 0; transform: translateY(34px) rotate(10deg); }
    55% { opacity: 1; }
    100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}

@keyframes letterFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.loader-sub {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #9c9c9c;
    opacity: 0;
    animation: loaderFadeIn 0.8s ease 0.4s forwards;
}

.loader-track {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-track-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4af37, #f4e4a1);
    transition: width 0.25s linear;
}

@keyframes loaderShine {
    0% { background-position: 0% 0%; }
    100% { background-position: 220% 0%; }
}

@keyframes loaderRise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderFadeIn {
    to { opacity: 1; }
}

/* =========================================================
   ADDED — Entrance Animations (play once loader completes)
   ========================================================= */
body.loading .content,
body.loading .social-sidebar a,
body.loading header .logo-area,
body.loading header .logo-variants-header .v-card {
    opacity: 0;
}

body.loaded .content {
    animation: heroContentIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.loaded .since-text {
    animation: heroContentIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

body.loaded .content h1 {
    animation: heroContentIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

body.loaded header .logo-area {
    animation: fadeSlideDown 0.7s ease 0.1s both;
}

body.loaded header .logo-variants-header .v-card {
    animation: fadeSlideDown 0.7s ease both;
}
body.loaded header .logo-variants-header .v-card.gold { animation-delay: 0.2s; }
body.loaded header .logo-variants-header .v-card.silver { animation-delay: 0.32s; }
body.loaded header .logo-variants-header .v-card.black { animation-delay: 0.44s; }

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

body.loaded .social-sidebar a {
    animation: sidebarIn 0.6s ease both;
}
body.loaded .social-sidebar a:nth-child(1) { animation-delay: 0.5s; }
body.loaded .social-sidebar a:nth-child(2) { animation-delay: 0.6s; }
body.loaded .social-sidebar a:nth-child(3) { animation-delay: 0.7s; }
body.loaded .social-sidebar a:nth-child(4) { animation-delay: 0.8s; }
body.loaded .social-sidebar a:nth-child(5) { animation-delay: 0.9s; }

@keyframes sidebarIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* =========================================================
   ADDED — Scroll Reveal
   ========================================================= */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.category-item.reveal-on-scroll:nth-child(odd) { transform: translateX(-40px); }
.category-item.reveal-on-scroll:nth-child(even) { transform: translateX(40px); }
.category-item.reveal-on-scroll.is-visible { transform: translateX(0); }

/* =========================================================
   ADDED — Micro-interaction polish (existing elements only)
   ========================================================= */
.v-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.v-card:hover {
    transform: scale(1.12) rotate(3deg);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.45);
}

.btn {
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, letter-spacing 0.35s ease;
    overflow: hidden;
}
.btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35);
    letter-spacing: 0.5px;
}
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn:hover::after {
    left: 130%;
}

.social-sidebar a {
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.social-sidebar a:hover {
    transform: translateX(10px) scale(1.08);
}

.product-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}
.product-img img {
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
    transform: scale(1.06);
}

.timber-card img {
    transition: transform 0.5s ease;
}
.timber-card:hover img {
    transform: scale(1.12) rotate(2deg);
}
.timber-card .overlay {
    transition: background 0.4s ease, transform 0.4s ease;
}
.timber-card:hover .overlay {
    background: rgba(212, 175, 55, 0.75);
    color: #111;
}

.category-logo {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.category-item:hover .category-logo {
    transform: scale(1.08) rotate(-3deg);
}

/* Re-trigger a soft entrance on shop pages every time they're shown
   (display:none -> block restarts CSS animations automatically) */
.shop-page {
    animation: pageFadeIn 0.6s ease both;
}
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.shop-page .product-card {
    animation: cardRiseIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.shop-page .product-card:nth-child(1) { animation-delay: 0.05s; }
.shop-page .product-card:nth-child(2) { animation-delay: 0.15s; }
.shop-page .product-card:nth-child(3) { animation-delay: 0.25s; }
.shop-page .product-card:nth-child(4) { animation-delay: 0.35s; }
.shop-page .product-card:nth-child(5) { animation-delay: 0.45s; }
@keyframes cardRiseIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal restarts its animation each time display flips none -> block */
.modal-content {
    animation: modalPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.close {
    display: inline-block;
    transition: transform 0.35s ease, color 0.35s ease;
}
.close:hover {
    transform: rotate(90deg);
    color: #d4af37;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================================
   ADDED — Hotline / Map (footer-contact) animations
   ========================================================= */
.footer-contact p {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-contact p.is-visible { opacity: 1; transform: translateX(0); }
.footer-contact p:nth-child(1) { transition-delay: 0.05s; }
.footer-contact p:nth-child(2) { transition-delay: 0.15s; }
.footer-contact p:nth-child(3) { transition-delay: 0.25s; }

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.35s ease, transform 0.35s ease;
}
.footer-contact a:hover {
    color: #d4af37;
    transform: translateX(6px);
}
.footer-contact a i {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-contact a:hover i {
    transform: scale(1.25) rotate(-8deg);
}

/* Hotline number: a gentle "ring" every few seconds to draw the eye */
.footer-contact .bx-phone,
.footer-contact .bx-mobile-alt {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: hotlineRing 3.2s ease-in-out infinite;
}
.footer-contact p:nth-child(2) .bx-mobile-alt {
    animation-delay: 0.4s;
}

@keyframes hotlineRing {
    0%, 75%, 100% { transform: rotate(0deg); }
    78% { transform: rotate(-16deg); }
    81% { transform: rotate(14deg); }
    84% { transform: rotate(-10deg); }
    87% { transform: rotate(6deg); }
    90% { transform: rotate(0deg); }
}

/* Map pin: a soft radar-style ping behind the icon */
.footer-contact .bx-map {
    position: relative;
    display: inline-block;
}
.footer-contact .bx-map::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.55);
    animation: mapPing 2.4s ease-out infinite;
}

@keyframes mapPing {
    0% { transform: scale(0.55); opacity: 0.9; }
    100% { transform: scale(1.9); opacity: 0; }
}

/* Bonus: let the footer-about paragraph and gallery title breathe in too */
.footer-about {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.footer-about.is-visible { opacity: 1; transform: translateY(0); }

.section-title {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-title.is-visible { opacity: 1; transform: translateY(0); }
