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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto Mono", monospace;
    background: #fff;
    color: #333;
}

/* =========================
   HERO
========================= */

    .hero {
    position: relative;
    min-height: 505px;

    background:
        linear-gradient(
            rgba(35, 35, 35, 0.70),
            rgba(35, 35, 35, 0.70)
        ),
        url("background.jpg");

    background-size: cover;
    background-position: center top 20%;

    color: white;
}


.container {
    width: min(1170px, 90%);
    margin: auto;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    height: 105px;
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    gap: 48px;
    list-style: none;
}

.nav a {
    position: relative;
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.nav a:hover {
    color: white;
}

.nav a::after {
    content: "_";
    position: absolute;
    right: -12px;
    bottom: -3px;
    opacity: 0;
    transition: 0.3s;
}

.nav a:hover::after {
    opacity: 1;
}

/* =========================
   PROFILE
========================= */

/* ===== TOP KOBRA COUNTDOWN ===== */
.top-countdown {
    width: 100%;
    padding: 34px 20px;
    text-align: center;
    color: #f5f5f5;
    background:
        radial-gradient(ellipse at top, #292b30 0%, #17181b 65%);
    border-bottom: 1px solid #35373d;
    font-family: "Roboto Mono", monospace;
}

.countdown-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: #a6a8ae;
    font-size: 10px;
    letter-spacing: 2.5px;
}

.countdown-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d8dbe1;
    box-shadow: 0 0 10px #777b85;
    animation: countdownPulse 1.8s infinite;
}

.top-countdown h2 {
    margin: 0 0 9px;
    color: #f5f5f5;
    font-size: clamp(23px, 3vw, 35px);
    font-weight: 600;
    letter-spacing: -1px;
}

.countdown-subtitle {
    margin: 0;
    color: #9699a1;
    font-size: 12px;
    line-height: 1.8;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 105px));
    justify-content: center;
    gap: 10px;
    margin: 25px auto 0;
}

.countdown-box {
    padding: 16px 5px 13px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid #3a3c43;
    border-radius: 6px;
    transition: border-color 0.2s ease,
                transform 0.2s ease;
}

.countdown-box:hover {
    border-color: #9296a0;
    transform: translateY(-2px);
}

.countdown-box span {
    display: block;
    color: #f5f5f5;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.countdown-box small {
    display: block;
    margin-top: 7px;
    color: #9699a1;
    font-size: 9px;
    letter-spacing: 1.5px;
}

@keyframes countdownPulse {
    50% {
        opacity: 0.4;
    }
}

@media (max-width: 480px) {
    .top-countdown {
        padding: 27px 12px;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .countdown-box {
        padding: 13px 2px 11px;
    }

    .countdown-box small {
        font-size: 7px;
        letter-spacing: 0.5px;
    }

    .countdown-subtitle {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .countdown-dot {
        animation: none;
    }
}

.profile {
    display: flex;
    align-items: flex-start;
    gap: 65px;
    margin-top: 35px;
}

.profile-image {
    width: 335px;
    height: 390px;
    object-fit:cover;
    object-position: 50% 0%;
    margin-bottom: -30px;

    border-radius: 3px;

    filter: grayscale(100%);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);

}

.profile-info {
    padding-top: 0;
}

.profile-info h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 700;
}

.profile-info h1 span {
    font-weight: 400;
}

.job-title {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 40px;
}

.details {
    display: grid;
    grid-template-columns: 85px auto;
    row-gap: 18px;
    font-size: 14px;
}

.details .label {
    color: #aaa;
    font-weight: 700;
}

.details .value {
    color: #eee;
}

.socials {
    display: flex;
    gap: 22px;
    margin-top: 30px;
}

.socials a {
    color: #aaa;
    text-decoration: none;
    font-size: 21px;
    transition: 0.3s;
}

.socials a:hover {
    color: white;
}

/* =========================
   ABOUT
========================= */

.about {
    padding: 105px 0 90px;
}

.about-content {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about h2 {
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 35px;
}

.about p {
    color: #777;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: #555;
    color: white;

    text-decoration: none;

    padding: 17px 28px;
    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s;
}

.button:hover {
    background: #222;
    transform: translateY(-2px);
}

/* =========================
   SERVICES
========================= */

.section {
    padding: 90px 0;
}

.section-title {
    font-size: 34px;
    margin-bottom: 50px;
}

.services {
    background: #f5f5f5;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service {
    background: white;
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.service-number {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.service h3 {
    margin-bottom: 15px;
}

.service p {
    color: #777;
    font-family: Arial, sans-serif;
    line-height: 1.7;
}

/* =========================
   RESUME
========================= */

.resume-item {
    border-left: 2px solid #555;
    padding: 0 0 35px 30px;
    margin-bottom: 30px;
}

.resume-item .date {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.resume-item h3 {
    margin-bottom: 8px;
}

.resume-item p {
    color: #777;
    font-family: Arial, sans-serif;
    line-height: 1.7;
}

/* =========================
   PORTFOLIO
========================= */

.portfolio {
    background: #f5f5f5;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #222;

    display: block;
    text-decoration: none;
    color: inherit;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit:inherit;
    
    transition: 0.5s;
}

.project:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 25px;

    color: white;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.9)
    );
}

/* =========================
   BLOG
========================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: block;
    border: 1px solid #eee;
    padding: 30px;

    text-decoration: none;
    color: inherit;

    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.blog-card small {
    color: #999;
}

.blog-card h3 {
    margin: 15px 0;
}

.blog-card p {
    color: #777;
    font-family: Arial, sans-serif;
    line-height: 1.7;
}

/* =========================
   CONTACT
========================= */

.contact {
    position: relative;
    padding: 70px 0 45px;
    color: white;

    background:
        linear-gradient(
            rgba(40, 40, 40, 0.88),
            rgba(40, 40, 40, 0.88)
        ),
        url("background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-title {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-details {
    padding-top: 5px;
}

.contact-row {
    display: flex;
    margin-bottom: 25px;
    font-size: 14px;
}

.contact-row span {
    width: 100px;
    font-weight: 700;
    color: #eee;
}

.contact-row a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.contact-row a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 55px;
}

.social-links a {
    width: fit-content;
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.social-links a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-form p {
    margin-bottom: 22px;
    font-size: 15px;
    color: #eee;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(40, 40, 40, 0.65);
    border: 2px solid #aaa;
    outline: none;
    color: white;
    font-family: "Roboto Mono", monospace;
    font-size: 14px;
    padding: 12px;
}

.contact-form input {
    height: 45px;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #eee;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: white;
}

.contact-form button {
    width: 100%;
    height: 58px;
    margin-top: 25px;
    border: none;
    border-radius: 30px;
    background: #666;
    color: white;
    font-family: "Roboto Mono", monospace;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #777;
    transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */

footer {
    background: #111;
    color: #777;
    text-align: center;
    padding: 25px;
    font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .profile {
        gap: 35px;
    }

    .profile-image {
        width: 280px;
        height: 340px;
    }

    .profile-info h1 {
        font-size: 34px;
    }

    .service-grid,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {

    .hero {
        min-height: auto;
        padding-bottom: 70px;
    }

    .navbar {
        height: auto;
        padding: 30px 0;
    }

    .nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .profile {
        flex-direction: column;
        gap: 35px;
    }

    .profile-image {
        width: 100%;
        height: 400px;
    }

    .profile-info h1 {
        font-size: 32px;
    }

    .service-grid,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about {
        padding-top: 70px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-title {
        font-size: 30px;
    }

    .contact-row {
        flex-direction: column;
        gap: 7px;
    }

    .contact-row span {
        width: auto;
    }
}

/* =========================
   BOOKING PAGE
========================= */

.booking-page {
    background: #f5f5f5;
    min-height: 100vh;
}

.booking-header {
    background: #242424;
    color: white;
}

.booking-header-inner {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.booking-brand {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
}

.booking-brand span,
.booking-intro h1 span {
    color: #999;
}

.back-link {
    color: #ddd;
    text-decoration: none;
    font-size: 12px;
}

.booking-main {
    max-width: 900px;
    padding-top: 60px;
    padding-bottom: 70px;
}

.booking-intro {
    margin-bottom: 30px;
}

.booking-intro .eyebrow,
.step-label {
    color: #888;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.booking-intro h1 {
    font-size: clamp(30px, 5vw, 43px);
    margin: 14px 0;
}

.booking-intro > p:last-of-type {
    color: #777;
    font-family: Arial, sans-serif;
    line-height: 1.7;
}

.local-demo-notice {
    margin-top: 20px;
    padding: 14px;
    background: #eee;
    border-left: 3px solid #777;
    color: #555;
    font-size: 11px;
    line-height: 1.7;
}

.booking-panel {
    background: white;
    border: 1px solid #e7e7e7;
    padding: 30px;
    margin-bottom: 22px;
}

.booking-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.booking-panel-heading h2 {
    font-size: 19px;
    margin-top: 8px;
}

.month-control {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.month-control button {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
}

.calendar-weekdays {
    margin-bottom: 8px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 10px;
    color: #999;
    padding: 8px 0;
}

.day-cell {
    min-height: 62px;
    border: 1px solid #e5e5e5;
    background: white;
    color: #333;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

button.day-cell {
    cursor: pointer;
}

.day-cell.available:hover {
    background: #f3f3f3;
    border-color: #555;
}

.day-cell.selected {
    background: #333;
    color: white;
    border-color: #333;
}

.day-mark {
    font-size: 9px;
    color: #888;
}

.day-cell.unavailable {
    background: #f5f5f5;
    color: #bbb;
    cursor: not-allowed;
}

.day-cell.unavailable .day-mark {
    font-size: 16px;
    color: #999;
}

.day-cell.outside {
    visibility: hidden;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    color: #888;
    font-size: 10px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.time-slot {
    min-height: 48px;
    background: white;
    border: 1px solid #ddd;
    color: #333;
    font: 12px "Roboto Mono", monospace;
    cursor: pointer;
}

.time-slot:hover:not(:disabled) {
    border-color: #555;
    background: #f5f5f5;
}

.time-slot.selected {
    background: #333;
    color: white;
}

.time-slot:disabled {
    color: #aaa;
    background: #f4f4f4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.empty-times {
    grid-column: 1 / -1;
    color: #999;
    font-size: 13px;
}

.selected-date-label,
.timezone-note {
    color: #888;
    font-size: 10px;
}

.timezone-note {
    margin-top: 18px;
    line-height: 1.7;
}

.booking-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.booking-fields label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #555;
    font-size: 11px;
    font-weight: 700;
}

.booking-fields input,
.booking-fields textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    font: 12px "Roboto Mono", monospace;
}

.booking-fields input {
    height: 45px;
}

.booking-fields textarea {
    resize: vertical;
}

.booking-fields .full-field {
    grid-column: 1 / -1;
}

.optional {
    color: #999;
    font-weight: 400;
}

.confirm-booking {
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
    border: none;
    border-radius: 28px;
    background: #333;
    color: white;
    font: 700 12px "Roboto Mono", monospace;
    cursor: pointer;
}

.confirm-booking:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.booking-status,
.booking-disclaimer {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.7;
}

.booking-disclaimer {
    color: #999;
}

.back-to-top {
    display: inline-block;
    margin-top: 12px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

@media (max-width: 600px) {
    .booking-main {
        padding-top: 35px;
    }

    .booking-panel {
        padding: 18px;
    }

    .booking-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .calendar-weekdays,
    .calendar-grid {
        gap: 4px;
    }

    .calendar-weekdays span {
        font-size: 8px;
    }

    .day-cell {
        min-height: 48px;
    }

    .time-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-fields {
        grid-template-columns: 1fr;
    }

    .booking-fields .full-field {
        grid-column: auto;
    }
}

/* Contact form status */
#contact-status {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
}

#contact-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* Hero booking button */
.booking-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 24px;
    padding: 12px 20px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    vertical-align: middle;
    position: relative;
}

.booking-hero-button i {
    font-size: 18px;
}

.booking-hero-button:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Keep spacing comfortable on smaller screens */
@media (max-width: 768px) {
    .booking-hero-button {
        margin-top: 18px;
    }
}
