:root {
    /* Color Palette Options */
    --muted-blue: #30404D;
    --muted-blue-light: #485B6B;
    --grey-dark: #2C2C2C;
    --grey-soft: #D9D9D9;
    --grey-bg: #1E2226;
    --dusty-rose: #C89F9C;
    --dusty-rose-dark: #A57C79;
    --white: #F8F9FA;

    --font-heading: 'Lora', serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    font-family: var(--font-body);
    line-height: 1.8;
    background-color: var(--grey-bg);
    color: var(--grey-soft);
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Rain Canvas Virtual Background Layer */
#rainCanvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2; pointer-events: none; opacity: 0.8;
}

.rain-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(to bottom, rgba(30, 34, 38, 0.75), rgba(48, 64, 77, 0.85));
    z-index: -3;
}

.sky-parallax {
    position: fixed; top: 0; left: 0; width: 100vw; height: 110vh;
    background-image: url('https://images.unsplash.com/photo-1515694346937-94d85e41e6f0?auto=format&fit=crop&w=1920&q=80'); /* Rain on window */
    background-size: cover; background-position: center;
    filter: grayscale(40%) blur(5px) opacity(0.5);
    z-index: -4; /* Deepest layer */
    transition: filter 1s ease;
    will-change: transform, filter;
}

/* Base Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-dusty-rose { color: var(--dusty-rose); }
.container { max-width: 1000px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 5; }
.container-sm { max-width: 750px; }
.section { padding: 130px 0; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 4rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.footer-space { height: 12vh; }
.flex-center-col { display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Custom Typography Details */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; color: var(--white); }

.hero-title {
    font-size: 5.5rem; letter-spacing: 2px; line-height: 1.1; margin-bottom: 40px; font-style: italic;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.hero-quote {
    font-size: 1.45rem; color: var(--grey-soft); max-width: 800px; margin: 0 auto;
    font-weight: 300; line-height: 2.1; padding: 0 15px;
    background: rgba(48, 64, 77, 0.45); border-left: 3px solid var(--dusty-rose);
    border-right: 3px solid var(--dusty-rose); padding: 35px 50px; border-radius: 4px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.section-title { font-size: 3rem; margin-bottom: 30px; letter-spacing: 1px; }
.section-para { font-size: 1.25rem; color: #D1D8DB; margin-bottom: 25px; line-height: 1.95; font-weight: 300; }
.section-icon { font-size: 3.5rem; color: var(--dusty-rose-dark); margin-bottom: 25px; text-shadow: 0 0 30px rgba(200, 159, 156, 0.3); }

/* Custom JS Ripple Button Design */
.btn-ripple {
    position: relative; overflow: hidden; display: inline-block;
    padding: 16px 45px; border-radius: 40px; border: none; font-size: 1.1rem; font-family: var(--font-body);
    font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; text-decoration: none;
    transition: all 0.4s ease; z-index: 1; outline: none;
}
.btn-ripple.primary { background-color: var(--muted-blue-light); color: var(--white); box-shadow: 0 10px 35px rgba(48, 64, 77, 0.6); }
.btn-ripple.primary:hover { background-color: var(--muted-blue); transform: translateY(-3px); box-shadow: 0 15px 40px rgba(48, 64, 77, 0.8); }

.btn-ripple.outline { background-color: transparent; color: var(--grey-soft); border: 1px solid var(--grey-soft); padding: 14px 40px;}
.btn-ripple.outline:hover { background-color: rgba(255,255,255,0.08); color: var(--white); border-color: var(--white); letter-spacing: 3px;}

/* Pure CSS Generated Ripple logic */
.ripple {
    position: absolute; border-radius: 50%; transform: scale(0);
    animation: ripple-anim 0.6s linear; background-color: rgba(255, 255, 255, 0.4);
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* Music Floating Play Button */
.music-btn {
    position: fixed; top: 30px; right: 30px; width: 50px; height: 50px;
    border-radius: 50%; background: rgba(30, 34, 38, 0.7); color: var(--grey-soft);
    border: 1px solid var(--grey-soft); display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 100; transition: all 0.4s ease; backdrop-filter: blur(5px);
}
.music-btn:hover { background: var(--dusty-rose-dark); color: var(--white); border-color: transparent; }

/* Structural Content Areas */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; }

.glass-card {
    background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 70px 60px; box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.split-layout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 70px; }
.split-layout.reverse { flex-direction: row-reverse; }
.text-col { flex: 1; min-width: 320px; }
.img-col { flex: 1; min-width: 320px; }
.pr-md { padding-right: 3rem; }
.pl-md { padding-left: 3rem; }

.rounded-image {
    width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    filter: brightness(0.85) contrast(1.1); transition: filter 0.6s ease; border: 1px solid rgba(255,255,255,0.05);
}
.rounded-image:hover { filter: brightness(1.05) contrast(1.15); }

/* Response System Modal Layer */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(30, 34, 38, 0.9); backdrop-filter: blur(10px); }
.modal-content {
    margin: 15vh auto; width: 90%; max-width: 550px; position: relative; padding: 60px 50px;
    background: linear-gradient(135deg, var(--muted-blue), #1E2226); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; border-top: 5px solid var(--dusty-rose);
    animation: fadeInModal 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28); box-shadow: 0 40px 80px rgba(0,0,0,0.9);
}
.close-modal { position: absolute; top: 15px; right: 25px; color: var(--grey-soft); font-size: 30px; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: var(--dusty-rose); }
#modalMessage img { width: 100%; max-width: 250px; margin-bottom: 30px; opacity: 0.95; border-radius: 6px; box-shadow: 0 15px 35px rgba(0,0,0,0.5);}
#modalMessage h3 { font-size: 2.4rem; color: var(--white); margin-bottom: 15px; font-style: italic; }
#modalMessage p { font-size: 1.2rem; color: #D1D8DB; font-weight: 300; line-height: 1.8; }

@keyframes fadeInModal { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* Mobile View Scaling Modifications */
@media (max-width: 768px) {
    .container { padding: 0 7%; }
    .hero-title { font-size: 3.8rem; }
    .hero-quote { font-size: 1.15rem; padding: 25px 20px; border-left: none; border-right: none; border-top: 2px solid var(--dusty-rose); border-bottom: 2px solid var(--dusty-rose); }
    .split-layout { flex-direction: column; gap: 45px; }
    .split-layout.reverse { flex-direction: column; }
    .pr-md, .pl-md { padding-right: 0; padding-left: 0; }
    .section-title { font-size: 2.3rem; text-align: center; }
    .section-para { font-size: 1.1rem; text-align: center !important; }
    .glass-card { padding: 40px 25px; }
    .btn-ripple { width: 100%; text-align: center; margin-bottom: 10px; padding: 16px 20px;}
    .modal-content { padding: 40px 25px; }
}
