/* Ashfiat Alharamain - Custom Styles */

:root {
    /* Color variables based on ashfiah.my */
    --primary: #C49A6C;
    --primary-dark: #B38A5C;
    --primary-light: #D4AA7C;
    --secondary: #8B4513;
    --accent: #FFD700;
    --light: #f8f9fa;
    --gray: #6c757d;
    --dark: #2C1810;
    --white: #ffffff;
    --gold: #FFD700;
    
    /* Font variables */
    --font-primary: 'Poppins', sans-serif;
}


/* Base styles */
body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark);
}

a {
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Flying Bees Animation */
.bee-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.bee {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAYdJREFUOE+11D9IVXEYxvHPvVcjQoJoCIKWCIQgGhqiwaEhgoYIHBqipaUhAqGhIYKGhoYIHBoaIoSGaAiCpiAQgqAhAqEhGiKEICgI+sBLeO69557zO0dO23ne7/t7n/f9nVP7z1Fr4P8qcBBPcBt9eI+3eI+TWEzCxvEeW/iLn/iDX/iBb/iOb/iMz/iET/iIj/iAHRzDCB6jF7fQjR50YQzP8Qxh+hVvcB0DOBPGEfkFnuIJ7uMebuIGrqEfVzCEQVxEJw7gP07jFC7gPC7hMq6iFxdxDmcRhvtwHGdwFp24iE5cQD9O4xSO4hAO4iD24wD24yD24RAO4wgO4ygO4zh24Th24ygO4jB2YR924wB2Yj924AB2YDu2YTu2Yiu2YCM2YD3WYS3WYA3WYBVWYRWWY2lZWIrlWIGlWIalWIrFWIzFWIQFWIAFmI95mId5mIs5mIPZmI1ZmIWZmImZmIHpmI7pmIapmIqpmILJmIzJmIRJmIiJmIBxGIdxGIsxGIPR+AcHwHYwJgWwMAAAAABJRU5ErkJggg==') no-repeat center center;
    background-size: contain;
    animation: flyBee 15s linear infinite;
}

@keyframes flyBee {
    0% {
        transform: translate(-100px, 0) rotate(0deg);
    }
    25% {
        transform: translate(25vw, 25vh) rotate(45deg);
    }
    50% {
        transform: translate(50vw, -25vh) rotate(-45deg);
    }
    75% {
        transform: translate(75vw, 25vh) rotate(45deg);
    }
    100% {
        transform: translate(100vw, 0) rotate(0deg);
    }
}

/* Custom button colors */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

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

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

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

/* Text utilities */
.text-primary {
    color: var(--primary) !important;
}

/* Navbar styling */
.navbar {
    padding: 15px 0;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 10px 15px;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary);
}

/* Hero carousel */
.carousel-item {
    height: 70vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    background-size: cover;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.carousel-caption .btn {
    font-size: 1.1rem;
    padding: 0.5rem 2rem;
}

/* Product cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Testimonial cards */
.testimonial-card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: scale(1.1);
}

/* Form styling */
.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(74, 142, 74, 0.25);
}

/* Footer styling */
footer {
    background-color: var(--dark);
}

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

/* Section styling */
.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

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

/* Animation for elements */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 50vh;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 40vh;
    }
    
    .carousel-caption {
        padding: 15px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 30vh;
    }
    
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .carousel-caption .btn {
        font-size: 0.875rem;
        padding: 0.375rem 1.5rem;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
}