@font-face {
    font-family: BebasNeue-Bold;
    src: url('../fonts/OTF/BebasNeue-Bold.otf') format('opentype'),
        url('../fonts/TTF/BebasNeue-Bold.ttf') format('truetype');
}

@font-face {
    font-family: BebasNeue-Book;
    src: url('../fonts/OTF/BebasNeue-Book.otf') format('opentype'),
        url('../fonts/TTF/BebasNeue-Book.ttf') format('truetype');
}

@font-face {
    font-family: BebasNeue-Light;
    src: url('../fonts/OTF/BebasNeue-Light.otf') format('opentype'),
        url('../fonts/TTF/BebasNeue-Light.ttf') format('truetype');
}

@font-face {
    font-family: BebasNeue-Regular;
    src: url('../fonts/OTF/BebasNeue-Regular.otf') format('opentype'),
        url('../fonts/TTF/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
    font-family: BebasNeue-Thin;
    src: url('../fonts/OTF/BebasNeue-Thin.otf') format('opentype'),
        url('../fonts/TTF/BebasNeue-Thin.ttf') format('truetype');
}


h1,
p,
span,
div {
    text-shadow: 5px 5px 10px #111;
}

button {
    box-shadow: #111 0px 7px 29px 0px;
}

/****************************** NAV *********************************/

.nav-menu {
    background-color: #000;
    color: #f8de7e;
    overflow: auto;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    text-align: center;
    padding: 20px;
    border: 1px solid #333;
}

@media (max-width: 768px) {
    .nav-menu {
        width: 210px;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
    }
}

.nav-menu.hidden {
    transform: translateX(-100%);
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}


.nav-menu ul li {
    padding: 5px;
    font-family: BebasNeue-Book;
    font-size: 1.5rem;
    border-top: 1px solid #444;
}

.nav-menu ul li:last-child {
    border-bottom: 1px solid #444;
}

.nav-menu a {
    color: #f8de7e;
    text-decoration: none;
    transition: color 0.1s ease-in-out;
}

.nav-menu a:hover {
    color: white;
}

.nav-menu ul li a {
    transition: font-size 0.1s ease-in-out;
}

.nav-menu ul li a:hover {
    color: white;
    font-size: 1.7rem;
}

.nav-menu a div {
    min-width: 44px;
    min-height: 44px;
    vertical-align: middle;
    line-height: 44px;
}

.nav-image {
    background-image: url('../images/doug-champion.jpg');
    height: 150px;
    border-radius: 50%;
    width: 150px;
    margin: 40px 30px 10px 30px;
    background-position: 50%;
    background-size: 150px;
}

/****************************** HEADER *********************************/

.header {
    background-color: #333;
    color: #f8de7e;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    line-height: 1.5;
    border-bottom: 1px solid black;
}

@media (max-width: 768px) {
    .header {
        padding: 10px 10px 0 10px;
    }
}

.header p {
    margin: 0;
}

.header-douglee {
    font-size: 4rem;
}

.header-doug {
    font-family: BebasNeue-Book;
}

.header-lee {
    font-family: BebasNeue-Bold;
}

.header-subtitle {
    padding-left: 10px;
    font-family: BebasNeue-Book;
    font-size: 24px;
    margin: 0;
}

.header.hidden {
    transform: translateY(-100%);
}

.header.hidden p {
    display: none;
}

@media (max-width: 359px) {
    .header .header-douglee {
        font-size: 3rem;
    }

    .header p {
        margin-top: 20px;
    }

}

/****************************** FOOTER  *********************************/

.footer {
    background-color: #111;
    color: #f8de7e;
    padding: 10px;
    text-align: center;
    margin-top: auto;
    line-height: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer p {
    margin: 5px;
}

.footer a {
    color: #f8de7e;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}

.footer a:hover {
    color: white;
}

@media (max-width: 359px) {
    .footer {
        font-size: 0.9rem;
    }
}

/****************************** HOMEPAGE *********************************/

main {
    display: flex;
    height: 100%;
    min-height: 730px;
    background-color: #333;
}

.image-container {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.short-bio {
    width: 50%;
    padding: 20px;
}

.short-bio .name {
    color: #f8de7e;
    font-size: 6rem;
    font-weight: normal;
    margin-bottom: 0px;
    line-height: 1.5;
}

.short-bio .name .first {
    font-family: BebasNeue-Book;
    margin-right: 10px;
}

.short-bio .name .last {
    font-family: BebasNeue-Bold;
}

.short-bio .title {
    font-family: BebasNeue-Book;
    color: #fff;
    font-size: 1.8em;
    font-weight: normal;
    margin: 0;
    line-height: 1.5;
}

.short-bio img {
    width: 75px;
    margin: 20px 0;
}

.internal-links {
    margin: 15px 0px 50px 0;
}

.internal-links a {
    text-decoration: none;
}

.internal-links div:hover {
    color: white;
    font-size: 1.6rem;
}

.internal-links div {
    font-family: BebasNeue-Book;
    color: #f8de7e;
    font-size: 1.5rem;
    min-height: 44px;
    transition: all 0.1s ease-in-out;
}

@media (max-width: 768px) {
    .image-container {
        width: 30%;
    }

    .short-bio {
        width: 70%;
    }
}

@media (max-width: 359px) {
    .short-bio .name {
        font-size: 5rem;
    }

    .short-bio .title {
        font-size: 1.5rem;
    }
}


.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-in-out;
    opacity: 0;
}

.image-container img.active {
    opacity: 1;
}

/****************************** GENERAL *********************************/

body {
    margin: 0 auto;
    font-family: Arial, sans-serif;
    display: flex;
    height: auto;
    max-width: 1200px;
    border: 1px solid #333;
    background-color: #222;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease-in-out;
    overflow-x: hidden;
    opacity: 0;
}

.main-content.visible {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.hamburger {
    font-size: 24px;
    cursor: pointer;
    color: white;
    background-color: black;
    padding: 5px;
    border-radius: 3px;
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

.hamburger.open {
    font-size: 48px;
}

.mobile-header {
    font-family: BebasNeue-Book;
    color: #f8de7e;
    display: none;
    padding: 10px 10px;
    background-color: #333;
}

.mobile-header a {
    font-size: 1.2rem;
    color: #f8de7e;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
    vertical-align: middle;
    line-height: 1.3rem;
}

.mobile-header a:hover {
    font-size: 1.3rem;
    color: white;
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
    }

    .mobile-header {
        display: block;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

/****************************** ABOUT / CONTACT *********************************/

@media (max-width: 768px) {
    main.about {
        flex-direction: column;
    }

    main.about .images-about {
        width: 100%;
        max-height: 300px;
        position: relative;
        overflow: hidden;
    }

    .page-title {
        margin: 0;
    }

    main.about .content {
        width: 90%;
        padding: 10px;
    }
}

.about .content {
    width: 50%;
    color: white;
    padding: 20px;
}

.page-title {
    font-family: BebasNeue-Book;
    color: #f8de7e;
    font-size: 4rem;
}

.text-content {
    margin-bottom: 50px;
}

.text-content a {
    color: #f8de7e;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}

.text-content a:hover {
    color: white;
    font-size: 1.05rem;
}


/****************************** POKER *********************************/

.poker-history {
    padding: 10px;
}

.live-winnings {
    font-family: BebasNeue-Book;
    color: white;
    font-size: 2.5rem;
}

.live-winnings #counter {
    font-family: BebasNeue-Bold;
    font-size: 3.5rem;
}

.poker-history .page-title {
    margin: 10px 0 20px;
}

main.poker-history {
    min-height: 0;
    height: auto;
}

/****************************** FLOATING TEXT *********************************/

.short-bio {
    position: relative;
    overflow: hidden;
}

.floating-text {
    position: absolute;
    font-size: 10rem;
    font-weight: bold;
    white-space: nowrap;
    top: 20%;
    left: 100%;
    animation: floatText 11s linear infinite;
    z-index: -1;
}

.floating-text span {
    display: inline-block;
    padding: 0 10px;
}

.floating-text .black {
    color: rgba(0, 0, 0, 0.3);
}

.floating-text .red {
    color: rgba(255, 0, 0, 0.3);
}

@keyframes floatText {
    from {
        left: 474px;
    }

    to {
        left: -550px;
    }
}


/****************************** IMAGE ZOOM IN *********************************/

.zoom-in {
    animation: slowZoom 4s linear infinite;
}

@keyframes slowZoom {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.2);
    }
}


/****************************** CONTACT FORMS *********************************/
/* === Form group === */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

/* === Labels === */
.form-group label {
  font-family: BebasNeue-Book, Arial, sans-serif;
  font-size: 1rem;
  color: #f8de7e;
  margin-bottom: 5px;
  text-shadow: 2px 2px 5px #111;
}

/* === Inputs & Textareas === */
.form-group input,
.form-group textarea {
  padding: 10px;
  border: 2px solid #444;
  border-radius: 3px;
  background-color: #222;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease, background-color 0.5s ease;
}

/* Placeholder text */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

/* === Focus states === */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border: 2px solid #f8de7e;
  box-shadow: 0 0 5px #f8de7e;
  background-color: #222; /* keeps dark background unless input-error is present */
}

/* === Error state === */
.form-group input.input-error,
.form-group textarea.input-error {
  background-color: #f8de7e33; /* semi-transparent yellow */
}

/* === Textarea specific tweaks === */
.form-group textarea {
  min-height: 120px;  /* adjust as needed */
  resize: vertical;   /* allow vertical resize only */
}

/* === Error messages === */
.form-group .error-message {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* same as footer */
  color: #f8de7e;
  font-size: 0.9rem;
  display: none;     /* hide by default */
}

/* === Button styling === */
#contactForm button {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  color: #222; /* dark text for contrast */
  background-color: #f8de7e; /* gold background */
  border: 2px solid #f8de7e; /* gold border */
  border-radius: 5px;
  padding: 10px 20px;
  margin-top: 5px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.4);
  transition: all 0.2s ease-in-out;
}

#contactForm button:hover {
  background-color: #222; /* dark background */
  color: #f8de7e; /* gold text */
  border-color: #f8de7e;
  box-shadow: 0 6px 8px rgba(0,0,0,0.6);
}

.char-counter {
    color: #f8de7e; /* gold text */
    font-size: 0.8rem;
    text-align: right;
}

.form-group-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.form-group-bottom .error-message {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f8de7e;
  font-size: 0.9rem;
  visibility: hidden; /* reserve space even when hidden */
  display: block;
}

.form-group-bottom .error-message.visible {
  visibility: visible; /* shown state */
}

.form-group-bottom .char-counter {
  color: #f8de7e;
  font-size: 0.8rem;
  margin-left: auto; /* push to right */
}


/****************************** TRAVEL *********************************/
.travel h1 {
    font-size: 2.5rem;
}

.travel .content {
    color: white;
    max-width: 500px;
    padding: 20px;
    width: 90%;
}

.carousel {
    width: 80%;
    margin: 20px auto;
}

.carousel img {
    width: 100%;
    max-height: 500px;
    margin: 0 auto;
}