:root {
    --text-color: #333;
    --border-color: #d8c2b7;
    /* Rose-goldish taupe */
    --bg-color: #fdfdfd;
    /* Very slightly warm white */
    --font-sans: 'Montserrat', sans-serif, Arial;
    --font-serif: 'Montserrat', sans-serif, Arial;
    --font-script: 'Montserrat', sans-serif, Arial;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Background watermark */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('images/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    padding: 30px 20px 40px; /* Reduced top padding to minimize blank space */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.header-logo {
    max-width: 100%;
    height: auto;
    width: 480px; /* Default max width, will scale down on mobile */
    margin: 0 auto;
    display: block;
}

.header-subtitle {
    font-family: 'Montserrat', sans-serif, Arial;
    color: #000000;
    font-size: 24px;
    letter-spacing: 4px;
    margin: 20px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    align-items: stretch;
}

/* Pricing Card */
.pricing-card {
    background-color: var(--bg-color);
    padding: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    /* In the original image, there is a very faint outer border */
    border: 1px solid rgba(216, 194, 183, 0.4);
}

.card-inner {
    border: 1px solid var(--border-color);
    padding: 35px 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* Adding angled corners effect */
    position: relative;
    background: inherit;
}

/* The small notch effect for corners */
.card-inner::before,
.card-inner::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}
/* We can do a simple clip path to get the exact corners, but it cuts the border. 
   I'll just use a subtle styling. */

/* Most Popular Tag */
.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d1b8a8;
    color: #fff;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    z-index: 2;
    white-space: nowrap;
}

.tier-name {
    font-family: var(--font-serif);
    font-size: 22px;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eaeaea; /* Faint line below name */
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
}

.tier-level {
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 25px;
    text-transform: uppercase;
    padding-top: 10px;
}

.cookie-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.features {
    list-style-type: none;
    padding: 0 5px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.features li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #444;
    padding-left: 12px;
    position: relative;
}

.features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
    font-size: 10px;
    top: 2px;
}

/* Price Section */
.price-section {
    text-align: center;
    border-top: 1px solid #eaeaea; /* Faint line above price */
    padding-top: 20px;
    margin-top: auto;
}

.price-line {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: #2b2b2b;
    margin-bottom: 5px;
}

.price-currency {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin-right: 2px;
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.price-plus {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 400;
    vertical-align: super;
}

.price-unit {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    color: #444;
    margin-left: 2px;
}

.minimum {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: #555;
}

/* Footer */
footer {
    margin-top: 60px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #555;
    padding: 20px 0;
    width: 100%;
}

footer a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

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

.est {
    margin-top: 30px;
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 45px;
    margin-bottom: 15px;
    /* Reduced to group closer to socials */
    letter-spacing: 0.5px;
    font-weight: 500;    
    text-align: center;
}

.socials {
    margin-bottom: 15px;
    margin-top: 20px;
    font-size: 1rem;
}

.socials a {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
}

.socials a:hover {
    color: #555;
}

/* Carousel Styles */
.carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin-top: 40px;
    /* Space for scaling effect */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 33.333%;
    /* Show 3 slides */
    box-sizing: border-box;
    padding: 0 10px;
    /* Gap between images */
    opacity: 0.4;
    transform: scale(0.85);  
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 10;
}

.carousel-slide img {
    width: 100%;
    border-radius: 12px;
    /* Smooth corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: block;
    aspect-ratio: 1/1;
    /* Force square for consistency */
    object-fit: cover;    
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;    
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;    
}

 
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: default;    
}
   
.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #333;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;    
}

h1 {
    padding: 0;
    color: #FFF;
    font-size: 10px;
    text-align: center;    
}

/* Hamburger Menu */
.hamburger-menu {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 20px 25px 5px 0;
    z-index: 1001;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger-icon.open span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

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

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

.nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-color);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

.nav-links.open {
    right: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 18px;
    padding: 15px 30px;
    font-family: var(--font-sans);
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
    border-left: 4px solid transparent;
}

.nav-link:hover {
    background-color: rgba(216, 194, 183, 0.2);
}

.nav-link.active {
    background-color: rgba(216, 194, 183, 0.4);
    border-left: 4px solid var(--border-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card:last-child {
        max-width: 100%;
    }

    footer {
        line-height: 2;
        padding: 20px 10px;
    }

    .header-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
        text-align: center;
        padding: 0 10px;
    }

    .container {
        padding: 10px 15px 30px;
    }

    .hamburger-menu {
        padding: 15px 20px 5px 0;
    }
}
