@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* --- CSS Variables & Core Reset --- */
:root {
    --primary-color: #f0c435;
    --background-color: #000000; /* Unified black to resolve logo background mismatch */
    --text-color: #f4f4f4;
    --card-bg-color: #121212;     /* Dark gray card background for high-end depth */
    --border-color: #222;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* --- Base Layout Elements --- */
img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
p { margin-bottom: 20px; font-size: 1.1rem; }

.section-center {
    text-align: center;
    margin-bottom: 40px;
}

/* --- Buttons & Calls to Action --- */
.cta-button, .buy-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover, .buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(240, 196, 53, 0.3);
}

/* Large button modifier */
.cta-button-large {
    margin-top: 20px;
    font-size: 1.5rem;
    padding: 20px 40px;
}

/* --- Hero Section (index.html) --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('images/deZalf2.png') no-repeat center center/cover;
    background-attachment: fixed;
}

.hero .logo {
    max-width: 375px;
    margin-bottom: 2rem;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* --- Main Sections (index.html) --- */
section {
    padding: 80px 0;
}

#about .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

#about img {
    max-width: 200px; /* Reduced to 200px (50% smaller than the original 400px) */
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    width: 100%;
    height: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

#ingredients {
    background-color: var(--card-bg-color);
}

#ingredients p {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 900px;
    margin: auto;
}

#purchase {
    text-align: center;
}

/* --- Order Page Layout (order.html) --- */
.order-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.purchase-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.purchase-card { 
    background: var(--card-bg-color); 
    padding: 40px; 
    border-radius: 10px; 
    text-align: center; 
    width: 380px; 
    border-top: 5px solid var(--primary-color); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.purchase-card h3 { font-size: 1.8rem; }

.price { 
    font-size: 2.2rem; 
    font-weight: 700; 
    color: var(--primary-color); 
    margin-bottom: 10px; 
}

.price-note {
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 30px;
}

.buy-button {
    width: 100%;
    margin-top: 20px;
    font-size: 1.2rem;
}

.back-link { 
    display: block; 
    text-align: center; 
    margin-top: 40px; 
    color: var(--primary-color); 
    text-decoration: none;
}

/* --- Thank You Page Layout (thankyou.html) --- */
.thankyou-card {
    background: var(--card-bg-color);
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    max-width: 600px;
    margin: 40px auto;
    border-top: 5px solid var(--primary-color);
}

.thankyou-card h2 {
    margin-bottom: 15px;
}

.thankyou-card p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: #ccc;
}

.thankyou-next-steps {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
    background: rgba(255,255,255,0.02);
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.thankyou-support-note {
    font-size: 0.9rem;
    margin-top: 20px;
    color: #888;
}

.link-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* --- Footer --- */
footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.8;
}

footer p {
    margin: 0;
    padding: 0 10px;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 768px) { 
    h1 { font-size: 2.5rem; } 
    h2 { font-size: 2rem; } 
    #about .about-content { flex-direction: column; } 
    .hero .logo { max-width: 280px; } 
    .purchase-card { width: 100%; max-width: 380px; }
}
