/*
 * Main stylesheet for Wellness Corners at Home
 * A responsive website focused on creating relaxation zones
 */

/* CSS VARIABLES */
:root {
    /* Colors */
    --color-primary: #C9BBA9;    /* Warm taupe */
    --color-secondary: #A2B9A6;  /* Sage green */
    --color-accent: #EAE2D6;     /* Sand beige */
    --color-background: #FAF8F4; /* Off-white */
    --color-text: #2F2E2E;       /* Deep charcoal */

    /* Neutral shades */
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-dark: #333333;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;

    /* Spacing */
    --space-xxs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;

    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --border-thin: 1px solid var(--color-primary);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.03);

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;

    /* Container width */
    --container-max-width: 1200px;
    --container-padding: var(--space-md);
}

/* RESET & BASE STYLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}
.site-footer {
    background-color: #FAF8F4;
    color: #333;
    padding: 3rem 1rem 2rem;
    border-top: 1px solid #e5e3df;
    font-family: 'Poppins', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
    gap: 2rem;
    text-align: left;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.footer-nav-list li {
    margin-bottom: 0.5rem;

}

.footer-nav-list a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.footer-nav-list a:hover {
    color: #000;
}

.footer-info p {
    margin: 0.4rem 0;
    display: flex;
    align-items: center;
}

.footer-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #e5e3df;
    padding-top: 1rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }

    .footer-info p {
        justify-content: center;
    }
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover, a:focus {
    color: var(--color-secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p, ul, ol {
    margin-bottom: var(--space-md);
}

ul, ol {
    padding-left: var(--space-lg);
}

button, .button {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.button2 {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    color:black;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}



/* LAYOUT */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-xl) 0;
}

.flex {
    display: flex;
}

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

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

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

.grid {
    display: grid;
    gap: var(--space-md);
}

/* HEADER */
.site-header {
    position: relative;
    padding: var(--space-md) 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-left: var(--space-md);
}

.nav-link {
    display: block;
    padding: var(--space-xs) var(--space-sm);
    font-family: var(--font-primary);
    font-weight: 500;
}

/* Mobile Menu */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: var(--space-xxl) 0;
    background-image: url("../images/2.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
}

.cta-button {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

/* CARDS */
.card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-fast);
}

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

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: var(--space-lg);
}

.card-title {
    margin-bottom: var(--space-sm);
}

/* FEATURES */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature {
    text-align: center;
    padding: var(--space-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
}

/* GALLERY */
.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    padding: var(--space-sm);
    transform: translateY(100%);
    transition: transform var(--transition-fast);
}

.gallery-item:hover .gallery-label {
    transform: translateY(0);
}

/* TESTIMONIALS */
.testimonial {
    text-align: center;
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    font-family: var(--font-primary);
    font-weight: 600;
}

/* PRODUCTS */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.product {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.product-img-container {
    height: 250px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.product:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: var(--space-lg);
}

.product-title {
    margin-bottom: var(--space-xs);
}

.product-price {
    color: var(--color-secondary);
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: var(--space-md);
}

/* CONTACT FORM */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-family: var(--font-primary);
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: var(--space-sm);
    font-family: var(--font-secondary);
    font-size: 1rem;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    background-color: var(--color-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-input {
    margin-right: var(--space-sm);
    margin-top: 5px;
}

/* MAP */
.map-container {
    height: 400px;
    margin: var(--space-xl) 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
}

/* FOOTER */
.site-footer {
    background-color: var(--color-secondary);
    color: black;
    padding: var(--space-xl) 0;
}

.site-footer a{
    color: black;

}

.footer-logo {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.footer-nav {
    margin-bottom: var(--space-lg);
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.footer-nav-item {
    margin-right: var(--space-md);
    margin-bottom: var(--space-xs);
}

.footer-nav-link {
    color: var(--color-white);
}

.footer-nav-link:hover {
    text-decoration: underline;
}

.footer-info {
    font-size: 0.9rem;
}

.footer-info p {
    margin-bottom: var(--space-xs);
}

.copyright {
    margin-top: var(--space-lg);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* PRIVACY POLICY POPUP */
.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: var(--space-md);
    z-index: 1000;
    display: none;
}

.privacy-popup.show {
    display: block;
}

.privacy-popup-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.privacy-popup-text {
    flex: 1;
    min-width: 280px;
    margin: 0;
}

.privacy-popup-buttons {
    display: flex;
    gap: var(--space-sm);
}

/* 404 PAGE */
.error-container {
    text-align: center;
    padding: var(--space-xxl) 0;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.error-message {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

/* THANK YOU PAGE */
.thank-you-container {
    text-align: center;
    padding: var(--space-xxl) 0;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--color-secondary);
    margin-bottom: var(--space-lg);
}

.thank-you-message {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-white);
        box-shadow: var(--shadow-md);
        z-index: 100;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-item {
        margin-left: 0;
        margin-bottom: var(--space-xs);
    }

    .nav-link {
        padding: var(--space-sm) var(--space-lg);
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero-title { font-size: 2rem; }
}

@media (max-width: 576px) {
    :root {
        --container-padding: var(--space-sm);
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }

    .section {
        padding: var(--space-lg) 0;
    }

    .hero {
        padding: var(--space-xl) 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: var(--space-md);
    }

    .hero-text {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }

    .footer-nav-list {
        flex-direction: column;
    }

    .footer-nav-item {
        margin-bottom: var(--space-xs);
    }

    .privacy-popup-content {
        flex-direction: column;
        text-align: center;
    }
}

/* UTILITY CLASSES */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mx-auto { margin-left: auto; margin-right: auto; }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-accent { background-color: var(--color-accent); }
.bg-white { background-color: var(--color-white); }

.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }