/*========================================================
    VARIABLES
========================================================*/
:root {
    /* Neutral Palette */
    --clr-bg-light: #fafafa;
    --clr-bg-dark: #1e1e1e;
    --clr-primary: #3e8ed0;      /* A calm, readable blue */
    --clr-primary-dark: #2f6ca3;
    --clr-accent: #ffb347;       /* A warm accent for CTAs */
    --clr-accent-dark: #e29a39;
    --clr-text-dark: #222222;
    --clr-text-light: #ffffff;
    --clr-muted: #666666;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    --grad-accent:  linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-dark) 100%);

    /* Typography */
    --ff-heading: 'Playfair Display', serif;
    --ff-body: 'Source Sans Pro', sans-serif;
}

/*========================================================
    BASE
========================================================*/
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--ff-body);
    color: var(--clr-text-dark);
    background-color: var(--clr-bg-light);
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    color: var(--clr-text-dark);
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
.section {
    padding: 4rem 1.5rem;
}
a {
    color: var(--clr-primary);
    transition: color .3s ease;
}
a:hover,
a:focus {
    color: var(--clr-primary-dark);
    text-decoration: underline;
}
/*========================================================
    HERO
========================================================*/
#hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#hero .title,
#hero .subtitle {
    color: var(--clr-text-light) !important;
}
/*========================================================
    NAVBAR
========================================================*/
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.85);
}
.navbar-item,
.navbar-link {
    font-weight: 600;
}
.navbar-burger span {
    background-color: var(--clr-text-dark);
}
/*========================================================
    BUTTONS
========================================================*/
.button,
.btn,
button,
input[type="submit"] {
    font-family: var(--ff-body);
    font-weight: 600;
    border: none;
    border-radius: 4px;
    padding: .75rem 1.5rem;
    background-image: var(--grad-primary);
    color: var(--clr-text-light);
    cursor: pointer;
    transition: background .4s ease, transform .3s ease;
}
.button.is-primary,
.button.is-link {
    background-image: var(--grad-primary);
}
.button.is-success {
    background-image: var(--grad-accent);
}
.button:hover,
.btn:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    background-image: var(--grad-accent);
}
.button:active,
.btn:active {
    transform: translateY(0);
}
/*========================================================
    CARDS & FLEX CENTERING
========================================================*/
.card,
.item,
.testimonial,
.team-member,
.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform .4s cubic-bezier(.2,.8,.4,1);
}
.card:hover {
    transform: translateY(-6px);
}
.card-image,
.image-container {
    width: 100%;
    height: 260px;
    overflow: hidden;
}
.card-image img,
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}
/*========================================================
    GALLERY GRID
========================================================*/
#gallery .columns {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 1.5rem;
}
/*========================================================
    READ MORE LINK
========================================================*/
.read-more,
a[href*="contact"] {
    font-weight: 600;
    position: relative;
}
.read-more::after {
    content: '→';
    margin-left: .25rem;
    transition: transform .3s;
}
.read-more:hover::after {
    transform: translateX(4px);
}
/*========================================================
    PARALLAX & BACKGROUND IMAGE SETTINGS
========================================================*/
[data-prompt],
.section[style*="background-image"] {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center;
}
.parallax {
    background-attachment: fixed;
}
/*========================================================
    MORPHING ANIMATION
========================================================*/
@keyframes morph {
    0%   { border-radius: 42% 58% 63% 37% / 42% 42% 58% 58%; }
    50%  { border-radius: 58% 42% 37% 63% / 37% 63% 37% 63%; }
    100% { border-radius: 42% 58% 63% 37% / 42% 42% 58% 58%; }
}
.morph {
    animation: morph 8s infinite alternate ease-in-out;
}
/*========================================================
    GLASS EFFECT
========================================================*/
.glass {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
}
/*========================================================
    SUCCESS PAGE
========================================================*/
.page-success {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--grad-primary);
    color: var(--clr-text-light);
}
/*========================================================
    PRIVACY & TERMS OFFSET
========================================================*/
.page-legal {
    padding-top: 100px;
}
/*========================================================
    FAQ ACCORDION (BASIC)
========================================================*/
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    cursor: pointer;
}
.faq-item h3 {
    margin-bottom: .5rem;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
/*========================================================
    FOOTER
========================================================*/
footer {
    color: var(--clr-text-light);
}
footer a {
    color: var(--clr-text-light);
    margin: 0 .25rem;
}
footer a:hover {
    color: var(--clr-accent);
}
/* Social text links additional emphasis */
footer a::before {
    content: '# ';
    color: var(--clr-accent);
}
/*========================================================
    RESPONSIVE TWEAKS
========================================================*/
@media (max-width: 768px) {
    .navbar-menu {
        backdrop-filter: none;
    }
    .section {
        padding: 3rem 1rem;
    }
    .card-image,
    .image-container {
        height: 220px;
    }
}
/*========================================================
    UTILITIES
========================================================*/
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.px-2 { padding: 0 1rem; }
.py-4 { padding: 2rem 0; }
.d-grid { display: grid; }
.d-flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }