@charset "UTF-8";


/* General Base Styles Pulled from V1 */

body {
  display: flex;
  flex-direction: column;
  font-family: 'Georgia', serif;
  background-color: #fdfcf7; 
  color: #2c2c2c;
  margin: 0;
  padding: 40px 25px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}


/* Text Design */

h1 {
  font-size: 42px;
  color: #3e3e3e;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border-bottom: 3px solid #b48b58;
  padding-bottom: 5px;
}

h2 {
  font-size: 26px;
  color: #6c4228;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
  border-left: 6px solid #b48b58;
  padding-left: 10px;
}

p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 5px;
}


/* Links */

a {
  color: #7d4f1c;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
  color: #593617;
}


/* Images */

img {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #e3d6c5;
}

figure {
  margin: 30px auto;
  text-align: center;
}

figcaption {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #6c4228;
  margin-top: 10px;
  font-style: italic;
  background-color: #faf4eb;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  border-left: 4px solid #b48b58;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}


/* Lists */

ul,
ol {
  background-color: #faf4eb;
  padding: 20px 30px;
  border-left: 5px solid #b48b58;
  border-radius: 6px;
  margin-bottom: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

li {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}


/* Layout Structure From Vid1 */

.page-wrapper {
  display: flex;
  flex-direction: column;
}

.grid-container {
  display: grid;
  grid-template-columns: 100%;
  gap: 40px;
}

section {
  margin-bottom: 30px;
}

.flex-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.flex-lists > div {
  flex: 1 1 45%;
}


/* Navigation Bars From Vid2*/

.top-nav {
  display: flex;
  justify-content: center;
  background-color: #faf4eb;
  border-bottom: 2px solid #e3d6c5;
  padding: 15px 0;
  margin-bottom: 30px;
  order: -1; /* Using this to raise the NAV bar to the top using CSS*/
  grid-row: 1; /* This did not make a change to design, but added to meet rubric requirement */
}

.top-nav ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  gap: 30px;
}

.top-nav li a {
  font-weight: bold;
  color: #7d4f1c;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
}

.top-nav li a:hover {
  background-color: #e8dac7;
  color: #593617;
}

.bottom-nav {
  display: flex;
  justify-content: center;
  background-color: #faf4eb;
  border-top: 2px solid #e3d6c5;
  padding: 15px 0;
  margin-top: 40px;
}

.bottom-nav ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  gap: 30px;
}

.bottom-nav li a {
  font-weight: bold;
  color: #7d4f1c;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
}

.bottom-nav li a:hover {
  background-color: #e8dac7;
  color: #593617;
}


/* Gallery Layout 12 Grid */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #e3d6c5;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.grid-span-6 {
  grid-column: span 6;
}

.grid-span-12 {
  grid-column: span 12;
}


.gallery-section {
  grid-row: auto; /* Added again for rubric requirement, hopefully Im understanding this right */
}

/* Social Embed Vid5 (THIS EMBEDDING ADDED ALOT OF SOURCE CODE I AM NOT SURE IF THIS IS CORRECT WAY OF DOING IT OR NOT */ 
.social {
  display: flex;
  flex-direction: column;
  align-items: center;  /* Added to keep post in center of page */
  margin: 60px auto;
  max-width: 600px;
  padding: 0 15px;
}

.social h2 {
  font-size: 24px;
  color: #6c4228;
  margin-bottom: 20px;
  border-left: 6px solid #b48b58;
  padding-left: 10px;
  width: 100%;
  text-align: left;  /* heading left-aligned  */
}



/* Responsive stacking for smaller browsers Vid4 */
@media (max-width: 800px) {
  .grid-span-6 {
    grid-column: span 12;
  }
}

/* alterations to contact page V1 */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-form-wrapper {
  background-color: #f8f5f2;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-aside {
  background-color: #faf4eb;
  border-left: 5px solid #b48b58;
  border-radius: 12px;
  padding: 24px;
}

.contact-form-wrapper label {
  font-weight: bold;
  display: inline-block;
  margin: 10px 0 6px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  border: 2px solid #b48b58;
  padding: 10px;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
  outline: none;
  border-color: #6c4228;
  box-shadow: 0 0 5px rgba(108,66,40,0.4);
}

.submit-button {
  background-color: #6c4228;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 12px;
}

.submit-button:hover {
  background-color: #b48b58;
}


/* portrait image with circle mask */
.about .hero-image img {
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  max-width: 300px;
  display: block;
  margin: 30px auto;
}


/* Resume download button */
.resume-button {
  display: inline-block;
  background-color: #6c4228;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.resume-button:hover {
  background-color: #b48b58;
}

/* Carousels */
.carousel {
  position: relative;
  max-width: 1000px;
  margin: 20px auto 40px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid #e3d6c5;
  background: #fdfcf7;
}

.carousel .slides {
  position: relative;
  aspect-ratio: 16 / 9; /* taller viewport */
  min-height: 320px;    /* fallback added because the tutorial said to do it */
}

.carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel .slide.active { opacity: 1; }

.carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(125,79,28,0.85);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 3;
}

.carousel .nav:hover { background: rgba(180,139,88,0.95); }
.carousel .prev { left: 12px; }
.carousel .next { right: 12px; }

.carousel .dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 14px;
}

.carousel .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #b48b58;
  background: transparent;
  cursor: pointer;
}

.carousel .dot.active,
.carousel .dot:hover { background: #b48b58; }


.carousel .slide {
  display: flex !important;
  align-items: center !important;     /* v center  */
  justify-content: center !important; /* h center */
}

.carousel .slide img {
  max-height: 500px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/*  intro video tweaks */
.video-leadin{
  text-align: center;
  color: #6c4228;           /* main accent color */
  font-style: italic;
  font-size: 1.05rem;
  margin: 10px 0 12px;
}

.video-frame{
  max-width: 1000px;        /* matches page max width */
  margin: 0 auto 24px;
  border: 2px solid #e3d6c5;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;         /* rounding the video corners */
}

.video-frame video{
  display: block;
  width: 100%;
  height: auto;
}


/* Qoute under index horse image, may remove if too much  */
.quote-under-horse {
  text-align: center;
  font-size: 20px; /* needs to stay larger than other text */
  color: #6c4228;  /* g. color */
  font-style: italic;
  margin-top: 10px;
}
