/* assets/css/style.css */

:root {
    --primary-color: #0F4C5C;
    /* Deep Teal */
    --secondary-color: #D4AF37;
    /* Gold */
    --light-bg: #F9F9F9;
    /* Cream/White */
    --text-color: #333333;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: 0.3s;
}

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

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin-left: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    /* Occupy most of the screen */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1);
    animation: slideAnimation 24s infinite;
    /* 3 slides * 8s each */
}

/* Stagger animations for each slide */
.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 8s;
}

.hero-slide:nth-child(3) {
    animation-delay: 16s;
}

/* Keyframes for Fade + Scale (Ken Burns Effect) */
@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    4% {
        opacity: 1;
        /* Fade in quickly */
    }

    33.33% {
        opacity: 1;
        /* Stay visible */
        transform: scale(1.1);
        /* Zoom in slightly */
    }

    37.33% {
        opacity: 0;
        /* Fade out */
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.hero-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 0;
    /* Boxy look for luxury feel */
}

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

.btn-outline-light {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 30px;
    border-radius: 0;
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Section Common */
.section-padding {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    margin-top: auto;
}

footer a {
    color: #ccc;
}

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

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

/* Product Card */
.product-card {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
}

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

.product-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
    text-align: center;
}

.card-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        /* Smaller hero on mobile */
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Smaller font */
    }

    .hero p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 2.5rem 0;
        /* Less whitespace */
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* Google Translate Styling */
#google_translate_element {
    margin-top: 5px;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid var(--secondary-color) !important;
    padding: 4px 8px !important;
    border-radius: 4px;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: var(--primary-color) !important;
    font-family: var(--font-body) !important;
    font-weight: bold;
}

.goog-te-gadget-simple .goog-te-menu-value span:first-child {
    border-right: none !important;
}

.goog-te-gadget-simple img {
    display: none !important;
    /* Hide Google Icon */
}

/* Hide 'Powered by Google' */
.goog-te-gadget-icon {
    display: none !important;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
}