/* STARBAKE - Custom CSS */
/* 
Color Palette Based on Logo:
- Primary Deep Red: #7C0A02 / #8B0000 
- Primary Gold/Yellow: #D4AF37 / #C5A059
- Dark Red/Maroon (Shadows/Accents): #5C0000
- Light Gold/Cream (Backgrounds): #FDFBF7
- White: #FFFFFF
- Dark Text: #333333
*/

:root {
    --primary-red: #8B0000;
    --primary-red-dark: #660000;
    --primary-gold: #D4AF37;
    --primary-gold-light: #F4E2A8;
    --bg-light: #FDFBF7;
    --bg-white: #FFFFFF;
    --text-main: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-red);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section-title {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}



.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--primary-gold);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-red);
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-secondary {
    background-color: var(--primary-red);
    color: var(--text-white);
    border-color: var(--primary-red);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-red);
    border-color: var(--primary-gold);
}

.btn-outline:hover {
    background-color: var(--primary-gold);
    color: var(--primary-red);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo-img {
    height: 140px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Added shadow for readability */
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-links .btn {
    padding: 8px 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-red);
    background-image: url('home-banner.png');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
}

.page-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-red);
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.page-hero-title {
    font-size: 3rem;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: var(--font-heading);
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Abstract pattern using gold color */
    background-image: radial-gradient(var(--primary-gold) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--bg-light);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-pulse {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    border-radius: 40px !important;
    background: linear-gradient(45deg, var(--primary-gold), #FFD700) !important;
    color: var(--primary-red) !important;
    font-weight: 800 !important;
    border: 2px solid white !important;
    transition: transform 0.3s ease;
    text-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pulse:hover {
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(45deg, #FFD700, var(--primary-gold)) !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--primary-gold-light);
    border-radius: 20px;
    position: relative;
    border: 4px solid var(--primary-gold);
    box-shadow: 15px 15px 0px var(--primary-red);
}

.pattern-bg {
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, var(--primary-gold-light) 0, var(--primary-gold-light) 10px, transparent 10px, transparent 20px);
    opacity: 0.3;
    border-radius: 16px;
}

/* Quality Promise */
.promise {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.promise-card {
    background-color: var(--bg-white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.05);
    border-bottom: 4px solid var(--primary-gold);
    transition: var(--transition);
}

.promise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary-gold-light);
    color: var(--primary-red);
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.promise-card p {
    color: var(--text-main);
    font-weight: 600;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.product-category {
    margin-top: 60px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-red-dark);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-gold);
    padding-left: 15px;
}

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

.product-card {
    background-color: var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.08);
    transform: translateY(-5px);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card h4 {
    font-size: 1.4rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-tagline {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.product-card p:last-child {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-us {
    padding: 100px 0;
    background-color: var(--primary-red);
    color: var(--bg-white);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, var(--primary-red-dark) 0%, transparent 50%);
}

.why-us .section-title {
    color: var(--primary-gold);
}

.why-us-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    margin-bottom: 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.benefits-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    border-left: 4px solid var(--primary-gold);
    transition: var(--transition);
}

.benefits-list li:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.benefits-list li span {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.cta-desc {
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #B8922C 100%);
    padding: 50px;
    border-radius: 20px;
    color: var(--primary-red);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.cta-box h3 {
    color: var(--primary-red-dark);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-box .btn-primary {
    background-color: var(--primary-red);
    color: var(--primary-gold);
    border: 2px solid var(--primary-red);
}

.cta-box .btn-primary:hover {
    background-color: var(--primary-red-dark);
}

.cta-box .btn-outline {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.cta-box .btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--primary-gold);
}

/* Blogs Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--primary-gold);
}

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-content .btn {
    align-self: flex-start;
}

/* Footer */
.footer {
    background-color: var(--primary-red-dark);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    grid-column: 1;
}

.footer-links {
    grid-column: 2;
    text-align: left;
}

.footer-contact {
    grid-column: 3;
    text-align: left;
}

.footer-logo-img {
    height: 90px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--primary-gold);
    opacity: 0.9;
}

.footer-links h4, .footer-contact h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    padding: 10px 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 220px;
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    top: 100%;
    left: -20px;
    overflow: hidden;
    border-top: 3px solid var(--primary-gold);
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary-red);
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-cta, .cta-buttons {
        flex-direction: column;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-logo, .footer-links, .footer-contact {
        grid-column: 1;
        text-align: center;
    }
    .social-links {
        justify-content: center !important;
    }
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1);
    color: white;
}

.call-btn {
    background-color: var(--primary-gold);
}

.wa-btn {
    background-color: #25D366;
}

/* Detailed Product Layout */
.product-detail-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.product-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    align-items: center;
}

.product-detail-img-container {
    height: 100%;
    min-height: 400px;
}

.product-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-content {
    padding: 40px;
}

.product-detail-title {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.product-detail-tagline {
    font-size: 1.1rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 20px;
}

.product-detail-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-health-benefits h5 {
    font-size: 1.2rem;
    color: var(--primary-red-dark);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-gold);
    display: inline-block;
    padding-bottom: 5px;
}

.product-health-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-health-benefits li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
}

.product-health-benefits li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
    color: var(--primary-gold);
}

@media (max-width: 992px) {
    .product-detail-card {
        grid-template-columns: 1fr;
    }
    .product-detail-img-container {
        min-height: 300px;
    }
}
