/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Segoe UI", sans-serif; background: linear-gradient(180deg, #eaf8ff, #d9f3ff, #c7ebff); color: #21475f; }
h3 { text-shadow: 0 2px 4px rgba(0, 0, 0, .9), 0 8px 20px rgba(0, 0, 0, .7), 0 16px 40px rgba(0, 0, 0, .5) !important; color: #fff !important; font-size: xxx-large !important; text-align: center;}
html {
    scroll-behavior: smooth;
}
/* NAVBAR */
.navbar { display: flex; justify-content: flex-end; align-items: center; position: sticky; top: 0; z-index: 100; padding: 20px 40px; background-color: rgb(255 255 255); background-image: radial-gradient(circle at 10% 50%, #0099d244 15%, transparent 30%), radial-gradient(circle at 30% 20%, #0099d222 10%, transparent 25%), radial-gradient(circle at 45% 80%, #0099d233 20%, transparent 35%); background-repeat: no-repeat; background-size: 100% 100%; transition: all 0.3s ease; }
.navbar.scrolled { padding: 10px 40px; }
.site-title { display: flex; flex-direction: row-reverse; align-items: center; gap: 20px; font-size: 2rem; font-weight: bold; text-shadow: 0 2px 10px rgba(255,255,255,.8); transition: all 0.3s ease; }
.site-logo { width: 245px; height: 245px; object-fit: contain; transition: all 0.3s ease; }
.navbar.scrolled .site-logo { width: 80px; height: 80px; }
.mobile-menu { display: none; }

/* CAROUSEL */
.carousel-container { height: 350px; overflow: hidden; }
.slide { position: relative; overflow: hidden; display: none; height: 350px; justify-content: center; align-items: center; flex-direction: column; text-align: center; color: white; }
.slide.active { display: flex; }
.slide h2, .slide p { position: relative; z-index: 10; text-shadow: 0 2px 4px rgba(0,0,0,.9), 0 8px 20px rgba(0,0,0,.7), 0 16px 40px rgba(0,0,0,.5); }
.slide h2 { font-size: 3rem; margin-bottom: 15px; letter-spacing: .05em; }
.slide p { font-size: 1.15rem; max-width: 700px; padding: 0 20px; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.45)); z-index: 2; }

/* SLIDE PATTERNS */
.welcome-slide { --s: 100px; --c1: #c5ecfd; --c2: #5f5b5c; --_g: #0000, #0004 5%, var(--c2) 6% 14%, var(--c1) 16% 24%, var(--c2) 26% 34%, var(--c1) 36% 44%, var(--c2) 46% 54%, var(--c1) 56% 64%, var(--c2) 66% 74%, var(--c1) 76% 84%, var(--c2) 86% 94%, #0004 95%, #0000; background: radial-gradient(100% 50% at 100% 0, var(--_g)), radial-gradient(100% 50% at 0 50%, var(--_g)), radial-gradient(100% 50% at 100% 100%, var(--_g)); background-size: var(--s) calc(2 * var(--s)); background-color: var(--c1); }
.gallery-slide { --s: 100px; --c1: #0279a0; --c2: #c5ecfd; --_g: #0000, #0004 5%, var(--c2) 6% 14%, var(--c1) 16% 24%, var(--c2) 26% 34%, var(--c1) 36% 44%, var(--c2) 46% 54%, var(--c1) 56% 64%, var(--c2) 66% 74%, var(--c1) 76% 84%, var(--c2) 86% 94%, #0004 95%, #0000; background: radial-gradient(100% 50% at 100% 0, var(--_g)), radial-gradient(100% 50% at 0 50%, var(--_g)), radial-gradient(100% 50% at 100% 100%, var(--_g)); background-size: var(--s) calc(2 * var(--s)); background-color: var(--c1); }
.eyes-slide { --s: 100px; --c1: #fff; --c2: #5f5b5c; --_g: #0000 24%, var(--c2) 26% 34%, var(--c1) 36% 44%, var(--c2) 46% 54%, var(--c1) 56% 64%, var(--c2) 66% 74%, #0000 76%; background: radial-gradient(100% 100% at 100% 0,var(--_g)), radial-gradient(100% 100% at 0 100%,var(--_g)), radial-gradient(var(--c2) 14%,var(--c1) 16%) calc(var(--s)/2) calc(var(--s)/2); background-size: var(--s) var(--s); }

/* STORY SECTION (New Layout) */
.story-content-wrapper { display: flex; flex-direction: column; align-items: center; }
.story-img { width: 50vw; padding: 5%; }
@media(min-width: 769px) {
    .story-content-wrapper { flex-direction: row; align-items: flex-start; text-align: left; }
    .story-content-wrapper p { flex: 1; padding-right: 40px; }
    .story-img { width: 20vw; padding: 0; }
}

/* CARDS & CONTENT */
.section-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 40px; }
.selector-card { padding: 40px; border-radius: 20px; cursor: pointer; transition: .3s; background-color: #1b0e38; background-image: url('img/BnBG2.JPG'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.selector-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,.1); }
.content-area { padding: 40px; }
.hidden { display: none; }
.content-panel { 
    display: none; 
    /* Adjust the value below to match your header's height */
    scroll-margin-top: 80px; 
}

.content-panel.active { 
    display: block; 
}

.gallery-slide2 {
    background-image: url(img/CSBPSBK1.jpg);
    background-size: var(--s) calc(2 * var(--s));
    background-color: var(--c1);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;

}

/* GALLERY & MODAL */
.gallery-filters { display: flex; justify-content: center; gap: 15px; list-style: none; padding: 0; margin-bottom: 20px; flex-wrap: wrap; }
.gallery-filters a { text-decoration: none; color: #555; padding: 8px 16px; border-radius: 20px; transition: background 0.3s; }
.gallery-filters a.active { background: #0099d2; color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; padding: 20px; }
.gallery-item { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; cursor: pointer; background: #0d1527; border: 2px solid rgba(0, 153, 210, 0.25); box-shadow: 0 0 12px rgba(0, 153, 210, 0.1), inset 0 0 12px rgba(0, 153, 210, 0.05); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); content-visibility: auto; contain-intrinsic-size: 200px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) contrast(1.1); transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s; }
.gallery-item:hover { border-color: #0099d2; transform: translateY(-5px); box-shadow: 0 0 25px rgba(0, 153, 210, 0.55), inset 0 0 15px rgba(0, 153, 210, 0.3); }
#galleryModal { display: none; position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 15, 25, 0.9); backdrop-filter: blur(8px); }
.modal-content { position: relative; margin: 5% auto; padding: 20px; width: 80%; max-width: 700px; background: #0d1527; border: 1px solid rgba(0, 153, 210, 0.5); border-radius: 20px; box-shadow: 0 0 30px rgba(0, 153, 210, 0.2); }
#closeModal { position: absolute; top: 10px; right: 20px; color: #0099d2; font-size: 40px; font-weight: bold; cursor: pointer; transition: color 0.3s; }
#closeModal:hover { color: #fff; }
#modalDisplay img { border-radius: 12px; border: 1px solid rgba(0, 153, 210, 0.3); }

/* CONTACT FORM & COMMISSION STYLING */
.contact-form { 
    max-width: 700px; 
    margin: 0 auto;
    padding: 35px;
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    background: #fdfbf7; 
    border: 2px dashed #e2d4c7; 
    border-radius: 20px; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.form-header {
    text-align: center;
    margin-bottom: 5px;
}

.form-header h3 {
    margin: 0 0 8px 0 !important;
    color: #5c4b43 !important;
    font-size: 1.5rem !important;
    text-shadow: none !important;
}

.form-header p {
    margin: 0;
    color: #8c786d;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #5c4b43;
    font-size: 0.95rem;
}

.contact-form input[type="text"], 
.contact-form input[type="email"], 
.contact-form textarea, 
.form-select { 
    width: 100%;
    padding: 14px 16px; 
    border-radius: 12px; 
    border: 1px solid #d4c5b9; 
    background-color: #ffffff;
    color: #333333;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus, 
.contact-form textarea:focus, 
.form-select:focus {
    outline: none;
    border-color: #0099d2;
    box-shadow: 0 0 0 3px rgba(0, 153, 210, 0.15);
}

.form-select {
    cursor: pointer;
}

.contact-form button { 
    padding: 15px; 
    border: none; 
    border-radius: 12px; 
    cursor: pointer; 
    color: white; 
    background: #0099d2; 
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.contact-form button:hover {
    background: #007bb5;
}

.contact-form button:active {
    transform: scale(0.98);
}

/* MISC & FOOTER */
footer { margin-top: 60px; padding: 30px; text-align: center; color: white; background: linear-gradient(90deg, #0099d2, #69d9c7); }

/* MOBILE OVERRIDES */
@media(max-width:768px){
    .navbar { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 20px 10px; width: 100%; background: #fff; }
    .site-logo { max-width: 300px; height: auto; }
    #mobileNav { appearance: none; background: #0d1527; color: #0099d2; font-weight: bold; padding: 12px 45px 12px 25px; border: 2px solid rgba(0, 153, 210, 0.4); border-radius: 25px; }
    .section-links { grid-template-columns: 1fr; }
    .slide h2 { font-size: 2rem; }
}