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

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    font-family: "owners", sans-serif;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
}

header {
    padding: 30px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Center the logo */
    align-items: center;
    position: relative; /* For absolute positioning of cart */
}

.logo-container {
    text-align: center;
}

.logo {
    max-width: 150px; /* Increased from 120px to 150px */
    height: auto;
}

.cart-icon {
    position: fixed;
    top: 60px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.cart-icon svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: yellow;
    color: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

/* Cart drawer styles */
.cart-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: white;
    color: black;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h2 {
    font-size: 24px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.close-cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    background-color: #f5f5f5;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.cart-item-variant {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: none;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.cart-qty-btn {
    width: 25px;
    height: 25px;
    background-color: #f2f2f2;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty {
    margin: 0 10px;
    width: 25px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    text-transform: none;
    padding: 0;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: black;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Media queries for cart drawer */
@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-size: cover;
    background-position: center top;
    position: relative;
    padding: 20px;
    margin-top: 60px;
    padding-bottom: 100px; /* Add padding at the bottom to prevent cropping */
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2;
    padding-top: 50px;
}

.product-title {
    font-size: 140px; /* Increased from 120px to 140px */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 0.85;
    margin-bottom: 350px; /* Increased from 40px to 200px as requested */
    font-family: "owners", sans-serif;
}

.hero-description {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
    font-family: "owners", sans-serif;
    letter-spacing: 1px;
}

.product-description {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
    font-family: "owners", sans-serif;
    letter-spacing: 1px;
}

.product-description span {
    font-size: 45px;
    font-weight: 700;
}

.add-to-cart {
    background-color: yellow;
    color: black;
    border: none;
    padding: 15px 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    text-transform: uppercase;
    font-family: "owners", sans-serif;
    letter-spacing: 1px;
}

.add-to-cart:hover {
    background-color: gold;
    transform: translateY(-2px);
}

.flying-product {
    position: fixed;
    width: 150px; /* Increased from 60px to 150px */
    height: 150px; /* Increased from 60px to 150px */
    z-index: 9999;
    pointer-events: none;
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    opacity: 1;
    transform: scale(1);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: contain; /* Ensures the image maintains its aspect ratio */
    background-color: rgba(255, 255, 255, 0.1); /* Slight background to help with visibility */
    backdrop-filter: blur(3px); /* Optional: adds a blur effect behind the image */
}
  
.flying-product.added {
    width: 30px; /* Slightly larger end size */
    height: 30px; /* Slightly larger end size */
    opacity: 0;
    transform: scale(0.3);
}

/* Animation for cart when product is added */
@keyframes highlight-cart {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 255, 0, 0.7);
    }
    50% {
      transform: scale(1.3); /* Increased scale effect */
      box-shadow: 0 0 0 15px rgba(255, 255, 0, 0); /* Larger glow effect */
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 255, 0, 0);
    }
}

.cart-highlight {
    animation: highlight-cart 0.6s ease-out;
}

.product-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 40px 20px;
}

.product-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    padding-top: 30px;
}

/* Target specifically the last product section */
.product-section:last-child .product-content {
    padding-top: 100px; /* Increased padding to move "STRAIGHT BUCKETS" text further down */
}

.product-content h2 {
    font-size: 48px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: "owners", sans-serif;
    letter-spacing: 1.5px;
    line-height: 1.1;
    margin-top: 30px;
}

footer {
    background-color: #111;
    padding: 40px 20px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-logo-img {
    max-width: 80px;
}

.footer-info {
    font-size: 14px;
    line-height: 1.5;
    color: #999;
    font-family: "owners", sans-serif;
    letter-spacing: 1px;
}

.terms-link {
    color: yellow;
    text-decoration: none;
    transition: all 0.3s ease;
}

.terms-link:hover {
    color: gold;
    text-decoration: underline;
}

.footer-info p {
    margin-bottom: 8px;
}

/* Marquee with consistent bullet spacing */
.marquee-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: yellow;
    color: black;
    overflow: hidden;
    height: 40px;
    display: none;
    z-index: 1000;
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
    font-weight: 500;
    font-family: "owners", sans-serif;
    letter-spacing: 1px;
    height: 100%;
    align-items: center;
}

/* Create consistent spacing in each repetition */
.marquee-inner {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 100%;
    /* Make sure each inner span has the same amount of space on both sides of the bullet */
    padding: 0 15px; /* Even padding on both sides */
}

/* Style the text directly to ensure consistent spacing */
.marquee-text {
    margin-right: 15px; /* Space before bullet */
}

.marquee-bullet {
    margin: 0 15px; /* Space around bullet */
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    color: black;
    padding: 15px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    animation: slideIn 0.5s forwards;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin-bottom: 10px;
}

.notification-icon {
    background-color: yellow;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.notification-content {
    font-size: 14px;
    font-family: "owners", sans-serif;
    font-weight: 500;
    line-height: 1.4;
}

.notification-content .name {
    font-weight: 700;
    position: relative;
    padding-left: 0px;
}

.notification-content .name::before {
    display: none;
  }

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.slideOut {
    animation: slideOut 0.5s forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.cart-bounce {
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

footer {
    background-color: #111;
    padding: 30px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-img {
    max-width: 80px;
}

.footer-info {
    font-size: 14px;
    line-height: 1.5;
    color: #999;
    font-family: "owners", sans-serif;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .product-title {
        font-size: 100px;
    }
    
    .product-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 90px;
    }
    
    .hero-description {
        font-size: 20px;
    }
    
    .product-content h2 {
        font-size: 28px;
    }
    
    .product-section {
        min-height: 80vh;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 70px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .add-to-cart {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .parallax-hat {
        max-width: 120px;
    }
}

@media (min-width: 992px) {
    .hero-section {
      background-position: center center; /* Changed from top -50px to center for better visibility */
      background-size: 100% auto; /* Make sure the image fits fully in the viewport */
      position: relative;
      overflow: hidden;
      min-height: 120vh; /* Increased height to show more of the background */
    }
    .hero-content {
      padding-top: 100px;
      position: relative;
      z-index: 5;
    }
    .hero-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
    .product-title {
      margin-bottom: 400px; /* Increased to provide more space */
    }
}
  
@media (min-width: 1440px) {
    .hero-section {
        background-position: center center; /* Changed to center center */
        background-size: cover;
        position: relative;
        overflow: hidden;
        min-height: 120vh; /* Increased height */
        padding-bottom: 150px; /* Added more padding at the bottom */
    }
}