/*
Theme Name: Pre Roll
Author: JPDA
Version: 1.0
Description: Theme synced with Dutchie
*/
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 220px;
    scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6,p {
    margin: 0;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Bree Serif", serif;
    font-weight: 400;
}
a,p {
    font-family: "Lato", sans-serif;
    text-decoration: none;
    transition: color .3s ease-in-out;
}

header {
    background: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    width: 100%;
}

.header-container {
    position: fixed;
    z-index: 20;
    width: 100%;
}

header .cont {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

header .cont > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

main {
    padding-top: 180px;
    padding-bottom: 20px;
}

header a {
    font-size: 20px;
    color: white;
}

header a:hover {
    color: var(--tertiary-color);
}

header svg {
    height: 80px;
    width: auto;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #FFF;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.footer-column p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
    position: relative;
    color: white;
    margin-left: -2rem;
    transition: margin-left .3s ease-in-out;
}

.footer-links a:hover {
    margin-left: -1rem;
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-item span {
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item a {
    color: white;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lighter);
    transition: var(--transition);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link:hover::after {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Newsletter */
.newsletter {
    margin-top: 1.5rem;
}

.newsletter p {
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 0.85rem 1.25rem;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--lighter);
    font-size: 0.95rem;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: var(--gray);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.newsletter-btn {
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    border: none;
    background: var(--primary);
    color: var(--lighter);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.85rem;
}

.copyright a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.copyright a:hover {
    color: var(--primary);
    text-decoration: underline;
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeIn 0.6s ease forwards;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column h3::after {
        width: 40px;
    }
    
    header .cont {
        flex-direction: column;
        gap: 24px;
    }
}

main, section, iframe {
    width: 100%;
}

footer {
    margin-top: 60px;
}

.categories {
    background: var(--secondary-color);
    padding: 20px;
    color: white;
    margin: 0 !important;
}

.categories div {
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: auto;
    gap: 24px;
}

.categories a {
    white-space: nowrap;
    color: white;
    font-weight: bold;
    position: relative;
    font-size: 20px;
    transition: color .2s ease-in-out;
}

.categories a:hover {
    color: var(--primary-color);
}

#banner {
    background-size: cover;
    background-position: center;
    height: calc(100vh - 132px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-direction: column;
    margin-bottom: 40px !important;
}

#about-banner {
    background-size: cover;
    background-position: center;
    height: calc(50vh - 132px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-direction: column;
}

.button {
    padding: 16px 45px;
    background: var(--primary-color);
    transition: color .3s ease-in-out, background .3s ease-in-out;
    border-radius: 6px;
    color: white;
}

.button:hover {
    background: var(--secondary-color);
}

#banner > * {
    z-index: 10;
    color: white;
}

#about-banner > * {
    z-index: 10;
    color: white;
}

h1 {
    font-size: 80px;
    max-width: 750px;
    text-align: center;
}

#banner::after {
    content: '';
    background: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;

}

#about-banner::after {
    content: '';
    background: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;

}

.cont {
    max-width: 1280px;
    margin: auto;
    padding: 0 20px;
}

#find h2 {
    font-size: 56px;
    margin-bottom: 24px;
    width: 100%;
    text-align: center;
}

section {
    margin-bottom: 60px !important;
}

h2 {
    font-size: 56px;
}

#deals {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-direction: column;
}

#deals img {
    height: 500px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    border-radius: 12px;
}

.slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-direction: column;
    width: 100%;
}

.slider > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.slider a {
    color: var(--secondary-color);
    font-weight: bold;
    position: relative;
    font-size: 20px;
}

.slider a::before {
    width: 100%;
    content: '';
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: background .3s ease-in-out;
}

.slider a:hover {
    color: var(--tertiary-color);
}

.slider a:hover::before {
    background: var(--tertiary-color);
}

#loyalty {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

#loyalty div:first-child {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
}

#loyalty div:last-child {
    padding: 100px 48px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
}

#loyalty a, header .button {
    background: var(--secondary-color);
}

#loyalty a:hover, header .button:hover {
    background: var(--tertiary-color);
    color: white;
}

#about-text p {
    margin: 16px 0;
    font-size: 24px;
}

#about-text h3 {
    font-size: 36px;
}

#about-images {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
}

#about-images img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#about-images img:nth-child(1) {
    height: 300px;
}

#about-images img:nth-child(2) {
    height: 400px;
}

#about-images img:nth-child(3) {
    height: 260px;
}

#about-images img:nth-child(4) {
    height: 400px;
}

@media only screen and (max-width: 768px) {
    #banner {
        padding: 0 20px;
    }

    #banner h1 {
        font-size: 48px;
    }
    #about-banner {
        padding: 0 20px;
    }

    #about-banner h1 {
        font-size: 48px;
    }

    .cont h2 {
        font-size: 36px;
    }

    #deals img {
        height: 300px;
    }

    #loyalty {
        grid-template-columns: 1fr;
    }
    #loyalty > div:first-child {
        min-height: 400px;
    }
    #loyalty > div:last-child {
        padding: 24px;
    }

    header {
        gap: 20px;
    }
    header a {
        font-size: 16px;
    }

    header svg {
        height: 40px;
        width: 100px;
    }

    #about-images {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 538px) {
    .slider > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #about-images {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
    }

    #banner {
        height: 60vh;
    }
}