/* CSS for Tasmiah Gold Honey website */

/* Root variables for easy colour management */
:root {
    --dark-brown: #2c1a10;
    --brown: #51311d;
    --gold: #c89a40;
    --light-gold: #e5b76b;
    --cream: #fdf9f3;
    --green: #788f38;
    --text-dark: #2c1a10;
    --text-light: #ffffff;
}

/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: var(--dark-brown);
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
}

h2.section-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

/* Underline accent for section titles */
h2.section-title::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

/* Container utility */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(44, 26, 16, 0.85);
    color: var(--text-light);
    backdrop-filter: blur(6px);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
}
.logo img {
    width: 32px;
    height: 32px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-list a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-list a:hover {
    color: var(--light-gold);
}
.nav-list a:hover::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('assets/swirl-horizontal.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding-top: 5rem; /* offset for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 26, 16, 0.65);
    backdrop-filter: brightness(0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

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

.script-font {
    font-family: 'Great Vibes', cursive;
    color: var(--light-gold);
    font-weight: 400;
}

.hero-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--cream);
}

.hero-subheading {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    color: #f6eada;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark-brown);
}
.btn-primary:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--dark-brown);
    color: var(--cream);
    border: 2px solid var(--gold);
}
.btn-secondary:hover {
    background: var(--brown);
    color: var(--light-gold);
}

.hero-image {
    text-align: center;
}
.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Features Section */
.features {
    background: var(--cream);
    color: var(--dark-brown);
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--dark-brown);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--brown);
}
.feature-item p {
    font-size: 0.95rem;
    color: #5f4c40;
}

/* Product Section */
.product-info {
    background: var(--light-gold);
    color: var(--dark-brown);
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.product-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-details {
    max-width: 600px;
}

.details-list {
    list-style: none;
    margin-bottom: 1.5rem;
}
.details-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}
.details-list i {
    color: var(--dark-brown);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
}

.price-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-align: center;
}
.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-brown);
    line-height: 1;
}
.currency {
    font-size: 1.5rem;
    vertical-align: super;
}
.weight {
    font-size: 0.9rem;
    color: #6a4f3a;
    margin-bottom: 1rem;
}
.gift {
    font-size: 0.95rem;
    color: #4f3622;
    margin-bottom: 1.5rem;
}

/* Gallery Section */
.gallery-section {
    background: var(--cream);
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Allergy Section */
.allergy-section {
    background: var(--brown);
    color: var(--cream);
    padding: 3rem 0;
}

.allergy-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}
.allergy-icon {
    font-size: 3rem;
    color: var(--light-gold);
}
.allergy-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Contact Section */
.contact-section {
    background: url('assets/swirl-vertical.webp') center/cover no-repeat;
    color: var(--cream);
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
}
.contact-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(44, 26, 16, 0.7);
    z-index: 0;
}
.contact-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Adjust heading colours specifically within the contact section so they are legible on dark backgrounds */
.contact-section h2.section-title {
    color: var(--light-gold);
}
.contact-section h2.section-title::after {
    background: var(--light-gold);
}
.contact-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #f2e1c9;
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.contact-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    width: 220px;
    color: var(--cream);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.contact-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--light-gold);
}
.contact-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--light-gold);
}
.contact-card a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
}
.contact-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--dark-brown);
    color: #bfa68b;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer-container p {
    margin-bottom: 0.3rem;
}
.footer-container .small {
    font-size: 0.8rem;
    color: #927454;
}

/* Scroll to top button */
#scrollToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--gold);
    color: var(--dark-brown);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}
#scrollToTop.visible {
    opacity: 1;
    pointer-events: auto;
}
#scrollToTop:hover {
    transform: translateY(-3px);
}
.amount-sub {
    font-size: 1.2rem;
    vertical-align: super;
}
.order-now {
    height: 45px;
}
/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image {
        margin-top: 2rem;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .product-container {
        grid-template-columns: 1fr;
    }
    .contact-cards {
        flex-direction: column;
    }
    .contact-card {
        width: auto;
    }
}

@media (max-width: 600px) {
    header .nav-list {
        display: none; /* hide navigation links on small screens */
    }
    header .nav-container {
        justify-content: center;
    }
}\\
