/* ═══════════════════════════════════════════════════════════════
   Kosmos Apart Hotel – Main Stylesheet
   Flask rebuild of kosmoshotelcorfu.com
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────── */
:root {
    --primary:      #3a7bd5;
    --primary-dark: #2a60b5;
    --dark:         #222;
    --footer-bg:    #2c2c2c;
    --footmenu-bg:  #1a1a1a;
    --white:        #fff;
    --light-bg:     #f5f5f5;
    --text:         #444;
}

/* ── Reset / Base ────────────────────────────────────────────── */
body {
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: #fff;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5 {
    font-family: 'Georgia', serif;
    letter-spacing: 0.03em;
    line-height: 1.3;
    color: var(--dark);
}

/* ── Background Video (home) ─────────────────────────────────── */
#bgvid {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    object-fit: cover;
}

/* ── Header ──────────────────────────────────────────────────── */
#header {
    background: rgba(0,0,0,0.72);
    position: relative;
    z-index: 100;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

#header .row {
    display: flex;
    align-items: center;
}

#header #logo {
    display: flex;
    align-items: center;
}

#header #logo img {
    max-width: 260px;
    height: auto;
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar.navbar-default {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}
.navbar-fixed-top {
    position: static !important;
}

/* Nav links – bigger, spaced, uppercase */
.custom-nav-class .nav > li > a {
    color: #ccc;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 14px 16px;
    text-transform: uppercase;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 3px solid transparent;
}
.custom-nav-class .nav > li > a:hover {
    color: #fff;
    background: transparent;
    border-bottom: 3px solid rgba(58,123,213,0.55);
}
.custom-nav-class .nav > li.nav-selected > a {
    color: #fff;
    background: transparent;
    border-bottom: 3px solid var(--primary);
}

/* Nav right-aligned */
.custom-nav-class .navbar-nav {
    float: right;
}

/* Mobile hamburger */
.navbar-toggle .icon-bar {
    background-color: #ddd;
}
.navbar-toggle {
    border-color: rgba(255,255,255,0.2);
}
.navbar-toggle:hover,
.navbar-toggle:focus {
    background: rgba(255,255,255,0.08);
}

/* Sticky header on scroll */
#header.sticky {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.94);
    z-index: 999;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
body.page-home.sticky-active { padding-top: 86px; }

/* ── Banner ──────────────────────────────────────────────────── */
#banner {
    height: 70vh;
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-home #banner,
#banner.home-banner {
    height: 100vh;
    min-height: 600px;
    background: rgba(0,0,0,0.35);
}

.bancontcenter {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 30px 20px;
}
.bancontcenter h1 {
    color: #fff;
    text-shadow: 1px 2px 10px rgba(0,0,0,0.7);
    font-size: 2.8em;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 16px;
    margin-bottom: 16px;
}
.bancontcenter p {
    color: #e8e8e8;
    font-size: 1.25em;
    letter-spacing: 0.02em;
}
.banner-logo {
    max-width: 200px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.55));
}

/* Scroll indicator */
.scroller {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    opacity: 0.65;
    animation: bounce 2s infinite;
}
.scroller p { margin: 0; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.scroller::before {
    content: '▼';
    display: block;
    font-size: 20px;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(9px); }
}

/* ── Inner pages ─────────────────────────────────────────────── */
.innerpage #banner { height: 50vh; min-height: 300px; }

#innerwrapper {
    padding: 40px 0 60px;
}

/* ── Section headings (shared style) ────────────────────────── */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}
.section-heading h2,
.section-heading h1 {
    font-size: 2em;
    margin-bottom: 12px;
}
.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Home page content headings */
#home-pagetype h1 {
    font-size: 2.1em;
    text-align: center;
    margin-bottom: 10px;
}
#home-pagetype h2 {
    font-size: 1.65em;
}
#home-pagetype h3 {
    font-size: 1.3em;
    line-height: 1.6;
}

/* ── Home sections ───────────────────────────────────────────── */
.ccm-custom-style-main {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Why choose us – cards */
.why-card {
    background: var(--light-bg);
    border-radius: 6px;
    padding: 32px 24px;
    height: 100%;
    text-align: center;
    border-top: 3px solid var(--primary);
}
.why-card i {
    margin-bottom: 14px;
    color: var(--primary);
}
.why-card p {
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* Parallax-style section */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 90px 20px;
    color: #fff;
    text-align: center;
}
.parallax-section h2 {
    color: #fff;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.65);
    font-size: 1.75em;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Newsletter section */
#homesection2 {
    background: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
}
#homesection2 h3 {
    font-size: 1.6em;
    margin-bottom: 12px;
}
#homesection2 p {
    font-size: 1.05em;
    margin-bottom: 22px;
}
.arrowt {
    width: 0; height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #e8e8e8;
    margin: 0 auto;
}

/* ── Facility lists ──────────────────────────────────────────── */
.facility-list {
    list-style: none;
    padding: 0;
    font-size: 15px;
}
.facility-list li {
    padding: 7px 0;
    border-bottom: 1px solid #eee;
}
.facility-list li::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: bold;
}

/* ── Inner page headings ─────────────────────────────────────── */
#innerwrapper h2 {
    font-size: 1.9em;
    margin-bottom: 16px;
}
#innerwrapper h3 {
    font-size: 1.35em;
    line-height: 1.55;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: background 0.2s;
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-info {
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

/* ── Contact form ────────────────────────────────────────────── */
.kosmos-form .form-control {
    border-radius: 3px;
    border-color: #ccc;
    font-size: 15px;
    padding: 10px 14px;
    height: auto;
}
.kosmos-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58,123,213,0.12);
}
.kosmos-form .btn-primary {
    margin-top: 12px;
}
.kosmos-form label {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

address {
    line-height: 2.1;
    font-size: 15px;
}
address a {
    color: var(--primary);
}

/* ── Gallery ─────────────────────────────────────────────────── */
#photowall {
    margin-bottom: 30px;
}
#photowall img {
    width: 100%;
    display: block;
}

/* ── Footer ──────────────────────────────────────────────────── */
#footer {
    background: var(--footer-bg);
    color: #ccc;
    padding: 40px 0;
    border-top: 3px solid var(--primary);
}
#footer h4 {
    color: #e8e8e8;
    font-size: 1.05em;
    letter-spacing: 0.5px;
    line-height: 1.7;
    margin: 0;
}
#footer p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}
#footer .col-md-4 {
    display: flex;
    align-items: center;
    justify-content: center;
}
#footer .img-responsive {
    opacity: 0.88;
    filter: brightness(1.1);
}

/* ── Footer menu ─────────────────────────────────────────────── */
#footmenu {
    background: var(--footmenu-bg);
    padding: 14px 0;
}
#footmenu .col-md-3 {
    display: flex;
    align-items: center;
}
#footmenu p {
    color: #555;
    margin: 0;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
#footmenu .nav li a {
    color: #777;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 12px;
    transition: color 0.2s;
}
#footmenu .nav li a:hover,
#footmenu .nav li.nav-selected a {
    color: #fff;
    background: transparent;
}
.force-right {
    float: right;
}

/* ── Social links in banner ──────────────────────────────────── */
.social-links a {
    color: #fff;
    margin: 0 10px;
    transition: color 0.2s;
}
.social-links a:hover {
    color: var(--primary);
}

/* ── Flash messages ──────────────────────────────────────────── */
.alert {
    border-radius: 3px;
    margin-top: 18px;
    font-size: 15px;
}

/* ── Divider ─────────────────────────────────────────────────── */
hr {
    border-color: #e0e0e0;
    margin: 40px 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 767px) {
    #header #logo { text-align: center; padding-bottom: 8px; }
    #header #logo img { max-width: 200px; }
    .custom-nav-class .navbar-nav { float: none; }
    .custom-nav-class .nav > li > a { font-size: 13px; padding: 10px 14px; }
    .bancontcenter h1 { font-size: 1.7em; }
    .bancontcenter p  { font-size: 1.05em; }
    .parallax-section { background-attachment: scroll; }
    .parallax-section h2 { font-size: 1.35em; }
    .force-right { float: none; }
    #footmenu .nav { text-align: center; }
    body.page-home.sticky-active { padding-top: 60px; }
    #footer .col-md-4 { margin-bottom: 20px; }
    .why-card { margin-bottom: 20px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .custom-nav-class .nav > li > a {
        font-size: 12.5px;
        padding: 14px 10px;
        letter-spacing: 0.8px;
    }
}
