/* Acier font for the logo */
@font-face {
    font-family: 'Acier';
    src: url('../fonts/acierdisplay-solid-TRIAL-BF640163e9e508d.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ITC Garamond Condensed for body text */
@font-face {
    font-family: 'ITC Garamond Condensed';
    src: url('../fonts/itc-garamond-std-book-condensed.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
    }

}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the bars */
    align-items: center; /* Center the bars horizontally */
    gap: 5px;
    position: fixed; /* Ensures it stays at the top right */
    top: 20px;
    right: 20px;
    z-index: 2000;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #f5f5f7; /* Ensure the color contrasts the background */
    border-radius: 2px; /* Slightly round the edges for a cleaner look */
    transition: all 0.3s ease; /* Smooth animation for the X transformation */
}

/* Sidebar Styling */
.sidebar {
    height: 100%;
    width: 300px;
    position: fixed;
    top: 0;
    right: -300px; /* Off-screen by default */
    font-family: "Helvetica Neue";
    background-color: rgba(15, 10, 8, 0.95); /* Slight transparency */
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    transition: right 0.5s ease;
    z-index: 1500;
    padding-top: 60px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 1rem 2rem;
    text-align: left;
}

.sidebar li a {
    text-decoration: none;
    color: #f5f5f7;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
}

.sidebar li a:hover {
    color: #3a6ea5;
}

.sidebar-desc {
    font-size: 0.85rem;
    color: #aaa;
    display: block;
    margin-top: 4px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #f5f5f7;
    text-decoration: none;
    cursor: pointer;
}

/* Sidebar Open State */
.sidebar-open {
    right: 0; /* Slide into view */
}

/* Animate Hamburger to "X" */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Social Icon Styles */
.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icons a {
    color: #e0e0e0;
    font-size: 24px;
}

.social-icons a:hover {
    color: #3a6ea5;
}

/* Full-page dark chocolate background */
html, body {
    min-height: 100%;
    background-color: #0f0a08;
    font-family: 'ITC Garamond Condensed', serif;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures footer stays at the bottom */
    margin: 0;
    padding-bottom: env(safe-area-inset-bottom); /* Account for the iOS safe area */
}

#hero-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: calc(7rem + env(safe-area-inset-top)) 2rem 5rem; /* Top padding respects the dynamic toolbar */
}

#hero-title h1 {
    font-size: 6rem;
    font-weight: bold;
    margin-bottom: 2rem; /* Increased spacing below "Whoa" */
    color: #e0e0e0;
}

/* Coffee Bean Image Styling */
.product-image {
    margin-bottom: 2rem; /* Added spacing below the bean image */
}

.product-image img {
    max-width: 50%;
}

/* Description Styling */
.description {
    font-size: 1.75rem;
    color: #d8d8d8;
    max-width: 600px;
    margin: 0 auto 2.5rem; /* Added more space below the description */
    line-height: 1.6;
    padding: 0 1rem;
}

/* Order Button */
.order-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #3a6ea5;
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s;
    font-family: 'Helvetica Neue', sans-serif;
}

.order-button:hover {
    background: linear-gradient(135deg, #D14D00, #FF6B00);
    box-shadow: 0 6px 14px rgba(255, 107, 0, 0.5);
    transform: scale(1.05);
}

/* Call to Action Section */
/* QR Code Styling */
.qr-code img {
    width: 150px;
    margin: 1rem auto;
    display: block;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.qr-code img {
    width: 150px;
    height: auto;
}

.qr-code img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.social-button.instagram {
    background-color: #E4405F; /* Instagram color */
}

.social-button.facebook {
    background-color: #4267B2; /* Facebook color */
}

.social-button:hover {
    opacity: 0.8;
}

/* Navigation Bar Styling */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #0f0a08;
    padding: 1.5rem 3rem;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'ITC Garamond Condensed', serif;
    z-index: 1000;
}

.logo {
    font-family: 'Acier', serif;
    font-size: 2rem;
    color: #f5f5f7;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    margin-left: 10px;
}

/* Footer Styling */
footer {
    text-align: center;
    font-size: 0.75rem;
    color: #e0e0e0;
    margin-top: auto; /* Pushes footer to the bottom */
    padding-bottom: calc(3rem + env(safe-area-inset-bottom)); /* Adjust for toolbar space */
}

/* SPECIAL && MISCELLANEOUS */
.hidden {
    display: none;
}

/* PRODUCT */
#product-page {
    text-align: center;
    padding: 2rem;
    color: #fff;
}

.gumroad-product-embed {
    margin-top: 2rem;
}