/* ============================================================
   main_styles.css
   Page-section layouts: hero, content sections, team, contact
   ============================================================ */

/* ── Hero / Masthead ──────────────────────────────────────── */

:root {
    --primary-color1: #6cd3e5;   /* default accent — overridden per page */
    --color-dark:     #1a1a2e;
    --color-dark2:    #16213e;
    --color-text:     #e0e0e0;
    --color-muted:    #888;
    --navbar-glass: rgba(22, 33, 62, 0.45);
    --navbar-border: rgba(108, 211, 229, 0.15);
    --navbar-shrunk: rgba(59, 59, 60, 0.45);
    --navbar-border-shrunk: rgba(196, 196, 196, 0.15);
    --font-heading: showclick;
    --font-body: alice;
    --font-custom: ;
    --nav-height:     84px;
}

@font-face {
  font-family: showclick; /* heading font */
  src: url(./fonts/Showclick/Showclick.otf); /* url of the font */
}
@font-face {
  font-family: alice; /* heading font */
  src: url(./fonts/Alice/Alice-Regular.ttf); /* url of the font */
}

body {
    font-family: var(--font-body);
    background: var(--color-dark);
    color: var(--color-text);
    margin: 0;
}
 
a { color: var(--primary-color1); text-decoration: none; }
a:hover { color: var(--primary-color1); opacity: .8; }
 
.text-accent { color: var(--primary-color1) !important; }

/* ── Hero / Masthead ──────────────────────────────────────── */
.masthead {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Dark gradient overlay — sits above slides, below content */
.masthead::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(13,13,26,.55), rgba(13,13,26,.75));
    z-index: 1;
    pointer-events: none;
}

/* ── Slideshow ─────────────────────────────────────────────── */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

/* ── Dot indicators ────────────────────────────────────────── */
.slide-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .75rem;
    z-index: 2;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    border: 2px solid rgba(255, 255, 255, .5);
    cursor: pointer;
    padding: 0;
    transition: background .3s ease,
                border-color .3s ease,
                transform .3s ease;
}

.slide-dot.active {
    background: var(--primary-color1);
    border-color: var(--primary-color1);
    transform: scale(1.3);
}
 
.masthead-short {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem 3rem;
    background:
        linear-gradient(rgba(13,13,26,.7), rgba(13,13,26,.85)),
        url('../assets/bkg/hero_bg.jpg') center/cover no-repeat;
}

/* ── Hero float animation ─────────────────────────────────── */
/* Gentle up-and-down bob for the whole hero text + logo block */
@keyframes float {
    0%   { transform: translateY(0px);    }
    50%  { transform: translateY(-16px);  }
    100% { transform: translateY(0px);    }
}
 
.masthead-content {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*main text on the home page*/
/* ── Hero text ────────────────────────────────────────────── */
/* main title on the home page */
.masthead-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 1;
    letter-spacing: .1em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,.6);
    margin: 1rem;
}

/* subheading uses the body font (alice), not the broken --font- var */
.masthead-subheading {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255,255,255,.85);
    margin: 1rem;
}

.masthead-image {
    width: 180px;
    height: 180px;
    display: none; /* shown only on mobile — see breakpoint below */
}

.masthead-3d {
    width: 160px;
    height: 240px;
    filter: drop-shadow(0 0 12px rgba(108, 211, 229, 0.5));
}

@media (max-width: 767px) {
    .masthead-3d    { display: none; }
    .masthead-image { display: block; }
}

/* ── General page sections ────────────────────────────────── */
.page-section {
    padding: 5rem 3.5rem;
}

.page-section .row {
    display: flex;
    flex-direction: row;
}

 
.page-section.bg-dark {
    background: var(--color-dark2) !important;
}
 
h2.text-uppercase {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: .08em;
}
 
h4.text-uppercase {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: .05em;
}
 
/* ── Team page ────────────────────────────────────────────── */
.team-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 3px solid var(--primary-color1);
}
 
.border-bottom {
    border-bottom: 1px solid rgba(108, 211, 229, .2) !important;
}
 
/* ── Contact form ─────────────────────────────────────────── */
.contact-form .form-control {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(108, 211, 229, .3);
    color: #fff;
    border-radius: 2px;
    padding: .7rem 1rem;
    transition: border-color .2s;
}
.contact-form .form-control:focus {
    background: rgba(255,255,255,.08);
    border-color: var(--primary-color1);
    box-shadow: 0 0 0 2px rgba(108,211,229,.15);
    color: #fff;
    outline: none;
}
.contact-form .form-control::placeholder { color: rgba(255,255,255,.3); }
 
.contact-form .form-label {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: rgba(255,255,255,.7);
    margin-bottom: .3rem;
}

/*----Section Iteams------*/

.section {
    padding: 3rem 1rem;
}

#crowd .section {
    padding-top: 0;
    padding-bottom: 0;
}

.section img {
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.section img.med {
    height: 15rem;
}

.page-section .container .page-items {
    display: flex;
    flex-direction: row;
}

@media (max-width: 991px) {
    .section img {
        max-height: 360px;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
    .page-section {
    padding: 5rem 1.5rem;
    }
    .section {
        padding: 1rem 1rem;
    }
    .page-section .container div {
    flex-direction: column;
    }
}
 
/* ── Parallax section ─────────────────────────────────────── */
.parallax-section {
    background-size: cover;
    background-position: center 50%;
    position: relative;
    overflow: hidden;
    will-change: background-position;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 26, 0.6);
    pointer-events: none;
}

.parallax-content {
    position: relative;
    z-index: 1;
}

/* ── Portfolio / Gallery items ────────────────────────────── */
.portfolio-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
 
.portfolio-item img {
    transition: transform .4s ease;
    width: 100%;
    display: block;
}
.portfolio-item:hover img { transform: scale(1.05); }
 
.portfolio-item-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108,211,229,.75);
    opacity: 0;
    transition: opacity .3s;
}
.portfolio-item:hover .portfolio-item-caption { opacity: 1; }
 
/* ── Modal heading ────────────────────────────────────────── */
.porfolio-md-heading-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
}
 
/* ── Utilities ────────────────────────────────────────────── */
.lead { font-size: 1.05rem; line-height: 1.7; }
 
.gap-3 { gap: 1rem; }
