/* base styles */

:root {
  --nav-blue: #3d4c82;
  --text-dark: #485B97;
  --accent-dark: #485B97;
  --lace: #fdf5e6;
  --white: #ffffff;
  --max-width: 1100px;
}


body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans",  sans-serif;
  background-color: var(--lace);
  color: var(--text-dark);
  line-height: 1.5;
}

/* layout stuff */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  padding-top: 80px;
}

#header-img {
  height; 32px;
  width
}

/* top nav */

.site-header {
  background-color: var(--nav-blue);
  color: var(--lace);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: "Bebas Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: "Open Sans", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--lace);
}

.nav-links a:hover,
.nav-link:hover {
  text-decoration: underline;
}

/* hero */

.hero {
  background-color: var(--lace);
  margin-top: 0;
  padding: 2rem 0 2.5rem;
  min-height: 100vh;      /* fills at least one full screen height */
  display: flex;
  align-items: center;    /* vertically center the grid inside */
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: center;
  animation: fadeInUp 0.9s ease-out;
}

.hero-text-card {
  background-color: var(--lace);
  padding: 1.75rem;
  max-width: 320px;
}

.hero-text-card h1 {
  font-family: "Bebas Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  font-size: 3rem;
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
}

.hero-text-card p {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.hero-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* checker button */


/* video */
.video-section {
  padding: 3rem 0;
}

.video-inner {
  background-color: var(--lace);
  padding: 0.75rem;
}


#video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.checkered-frame {
  padding: 0.75rem;
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
}

/* products */

.products {
  padding: 3rem 0 2rem;
}

.section-title {
  text-align: center;
  font-family: "Bebas Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--accent-dark);
}

.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: var(--lace);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


.product-card:nth-child(even) {

  
  grid-template-columns: 1fr 1.3fr;
}

.product-text h3 {
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--accent-dark);
}

.product-text p {
  margin: 0;
  font-size: 0.95rem;
}

.product-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* table */

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

/* center the table itself */
#data-table {
  border-collapse: collapse;
  min-width: 400px;
  margin: 0 auto;
}

#data-table th,
#data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.9rem;
}

#data-table thead {
  background-color: #FFB6C1;
  color: #222222;
}

#data-table tbody tr:hover {
  background-color: rgba(209, 189, 161, 0.35);
}

/* contact form */
.mailing-list {
  padding: 3rem 0;
}

.mailing-bg {
  background-image: url("https://snipboard.io/x0Xqb6.jpg");
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: center;   
  justify-content: center;
}


.mailing-overlay {
  background-color: rgba(253, 245, 230, 0.9);
  padding: 2rem 1.5rem;
  max-width: 480px;
  width: 100%;
}

.mailing-overlay h2 {
  font-family: "Bebas Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.mailing-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.maling-form label {
  font-size: .85rem;  
}

.mailing-form input,
.mailing-form textarea {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #d1bda1;
  background-color: var(--lace);
  font-family: "Open Sans", sans-serif;
}



/* focus state */

.mailing-form input:focus,
.mailing-form textarea:focus {
  outline: 3px solid var(--accent-dark);
}

/* invalid state */

mailing-form input:invalid
mailing-form textarea:invalid {
  border-color: #c0392b;
}

/* primary button */
.primary-btn {
  margin-top: 0.4rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--nav-blue);
  color: var(--lace);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* footer */

.site-footer {
  background-color: var(--nav-blue);
  color: var(--lace);
  text-align: left;
  padding: 0.8rem 1.5rem;
  margin-top: 0;
  font-size: 0.8rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* keyframe */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* media query */

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  
  .hero-text-card {
    max-width: none;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.8rem;
  }
  
  .site-footer {
    flex-direction: column;
    align-items: flex-start
  }
}



