/*--------------Youtube---------*/

.youtube-header{

  background: url('WebsiteImages/Still\ F8.jpg') center/cover no-repeat;
}


.youtube-offers {
  width: 100%;
  padding: 80px 20px 60px;
  text-align: center;
  color: #fff;
}

.youtube-offers h2 {
  font-size: 2rem;
  color: #fc3f40;
  margin-bottom: 15px;
}

.youtube-offers p {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #ddd;
}

.youtube-row {
  display: flex;
  flex-direction: column; /* Stack vertically */
  align-items: center;    /* Center the cards */
  gap: 30px;              /* Space between cards */
}

.youtube-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url(WebsiteImages/boxes3.jpg);
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  padding: 25px;
  max-width: 1000px;
  width: 100%;
  text-align: left;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.youtube-card h3 {
  color: #fc3f40;
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.youtube-card p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 15px;
  text-align: center;
}

.youtube-price {
  display: inline-block;
  background: #fc3f40;
  color: #fff;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  margin: 20px auto 0;
  width: fit-content;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.youtube-price:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(252, 63, 64, 0.8);
  background: #ff5b5b;
}

.youtube-card.left .youtube-image {
  order: 0;
}

.youtube-card.right .youtube-image {
  order: 1;
}

.youtube-image img {
  width: 320px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

.youtube-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the content horizontally */
  text-align: center;  /* Centers all text */
}s
.youtube-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(252, 63, 64, 0.6);
}

@media (max-width: 768px) {
  .youtube-card {
    flex-direction: column;
    text-align: center;
  }

  .youtube-image img {
    width: 100%;
    height: auto;
  }
}

.youtube-list {
  list-style: disc;
  margin: 15px 0 0 20px;
  text-align: left;
  color: #ccc;
  font-size: 0.95rem;
}

.youtube-list li {
  margin-bottom: 8px;
}

.youtube-card ul {
  list-style: none; /* Remove default bullets */
  padding-left: 0;
  margin: 15px 0;
  text-align: left;
}

.youtube-card ul li {
  position: relative;
  padding-left: 30px; /* space for the image */
  margin-bottom: 10px;
  color: #ddd;
  font-size: 1rem;
}

/* Use your triangle image as the bullet */
.youtube-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px; /* adjust based on your image */
  height: 12px;
  background: url("WebsiteImages/redtriangle.png") no-repeat center;
  background-size: contain;
}

.youtube-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(252, 63, 64, 0.8), 0 0 40px rgba(252, 63, 64, 0.4);
  border: 2px solid #fc3f40;
}

.youtube-link {
  color: #fc3f40;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.youtube-link:hover {
  text-decoration: underline;
  color: #ff5758;
}

.youtube-builder .hero-btn:hover {
    transform: translateY(-2px);
    transition: 0.2s ease;
}

/* ===== YOUTUBE BUILDER ===== */

.youtube-builder {
  background: linear-gradient(to bottom, #070707, #000);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.youtube-builder h2 {
  color: #fc3f40;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.youtube-builder p {
  color: #ccc;
  margin-bottom: 40px;
}

.client-info input {
  padding: 12px;
  margin: 10px;
  border-radius: 8px;
  border-color: #fc3f40;
  border: none;
  width: 350px;
}



.builder-row:last-child {
  border-bottom: none;
}

.builder-row:hover {
  background: rgba(252, 63, 64, 0.15);
}

.builder-row input {
  transform: scale(1.3);
  accent-color: #fc3f40;
}

.base {
  font-weight: bold;
  color: #fc3f40;
}

.total-box {
  margin-top: 30px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fc3f40;
  margin-bottom: 20px;
}

.youtube-submit-btn {
  margin-top: 25px;
  background: #fc3f40;
  color: #fff;
  padding: 14px 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.youtube-submit-btn:hover {
  background: #ff5b5b;
  box-shadow: 0 0 20px rgba(252,63,64,0.8);
}

.builder-table {
    max-width: 800px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.705); /* semi-transparent black */
    backdrop-filter: blur(6px);  /* optional frosted effect */
}
.builder-row {
    display: grid;
    grid-template-columns: 1fr 120px 80px;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid rgba(65, 65, 65, 0);
    cursor: pointer;
    transition: 0.3s ease;
}

.builder-row:last-child {
    border-bottom: none;
}


.service {
  text-align: left;
}

.price {
  text-align: left;
  font-weight: 600;
  white-space: nowrap; /* prevents £700 breaking */
}

.tick {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tick input {
  display: none;
}


.base {
    background: rgba(211, 24, 24, 0.15);
    font-weight: bold;
}

.tick {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tick input {
    display: none;
}

.custom-check {
  width: 24px;
  height: 24px;
  border: 2px solid #fc3f40;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: 0.3s ease;
}


/* Glow on hover */
.builder-row:hover .custom-check {
    box-shadow: 0 0 10px rgba(252,63,64,0.6);
}

/* Checked state */
.tick input:checked + .custom-check {
    background: #fc3f40;
}

.tick input:checked + .custom-check::after {
    content: "✓";
    color: #fff;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.section-divider {
    grid-column: 1 / -1;  /* full width */
    background: rgba(170, 170, 170, 0.2);
    color: #fc3f40;
    font-weight: bold;
    padding: 12px 20px;
    font-size: 1.2rem;
    text-align: center;

}

.base {
    background: rgba(252,63,64,0.15); /* keep the red-ish highlight */
    font-weight: bold;
    color: #fff; /* change text to white */
}

.builder-item {
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: 0.3s;
}

.builder-header {
  display: grid;
  grid-template-columns: 1fr 120px 60px; 
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  column-gap: 15px;
}

.builder-header:hover {
  background: #1a1a1a;
}

.builder-header label {
  font-size: 1rem;
  cursor: pointer;
}

.builder-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  text-align: left;
  background: #0c0c0c;
  padding: 0 20px;
}

/* Two-column layout inside dropdown */
.builder-details ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 30px; /* row gap / column gap */
  padding: 15px 0;
  margin: 0;
  list-style: none;
}

.builder-details li {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 6px;
  text-align: left;
}


.builder-item.active .builder-details {
  max-height: 300px;
}

.dropdown-arrow {
  font-size: 1.2rem;
  transition: 0.3s;
}

.builder-item.active .dropdown-arrow {
  transform: rotate(45deg);
}

/* Glow on hover */
.builder-header:hover .custom-check {
  box-shadow: 0 0 10px rgba(252,63,64,0.6);
}

/* Checked box */
.tick input:checked + .custom-check {
  background: #fc3f40;
}

/* Tick icon */
.tick input:checked + .custom-check::after {
  content: "✓";
  color: #fff;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Highlight whole card when selected */
.builder-item:has(input:checked) {
  border: 1px solid #fc3f40;
  box-shadow: 0 0 15px rgba(252,63,64,0.3);
}

.builder-item:has(input:checked) .service,
.builder-item:has(input:checked) .price {
  color: #fc3f40;
  font-weight: 600;
}

@media (max-width: 768px) {
  .builder-details ul {
    grid-template-columns: 1fr; /* back to single column */
  }
}
