/* Global Styles */
:root {
    --primary-black: #000000;
    --secondary-black: #232323;
    --light-bg: #f5f5f5;
    --sidebar-bg: #fafaf5;
    --sidebar-width: 250px;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-main);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

/* Sidebar Trigger (Hamburger) */
#sidebar-trigger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    cursor: pointer;
    background: transparent;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

#sidebar-trigger i {
    font-size: 24px;
    color: var(--primary-black);
}

/* Sidebar */
#sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: -250px; /* Hidden by default */
    height: 100vh;
    z-index: 1000;
    background: var(--sidebar-bg);
    color: var(--secondary-black);
    transition: all 0.3s;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

#sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    background: var(--sidebar-bg);
}

.sidebar-header .logo {
    max-width: 80%;
    height: auto;
}

#sidebar ul.components {
    padding: 20px 0;
    margin: 0;
    list-style: none;
    flex-grow: 1;
    overflow-y: auto;
}

#sidebar ul li a {
    padding: 15px 20px;
    font-size: 1.1em;
    display: block;
    color: var(--secondary-black);
    text-decoration: none;
    transition: 0.3s;
    font-family: var(--font-heading);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sidebar ul li a:hover {
    color: var(--primary-black);
    background: #e9e9e5;
}

/* Submenu */
#pageSubmenu {
    list-style: none;
    padding-left: 0;
    background: #f1f1ed;
    display: none; /* Hidden by default */
}

#pageSubmenu.show {
    display: block;
}

#pageSubmenu li a {
    font-size: 0.9em;
    padding-left: 40px;
    font-family: var(--font-main);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    font-size: 0.8em;
    text-align: center;
    color: #666;
    border-top: 1px solid #ddd;
}

.sidebar-footer p {
    margin: 5px 0;
}

/* Slider */
.slider-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000; /* Fallback */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Fade transition */
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-logo {
    max-width: 400px; /* Set to 400px as requested */
    width: 100%; /* Ensure it's responsive */
    height: auto;
    /* Optional: Add a subtle scale animation or just rely on parent fade */
}

/* Adjust content for internal pages logic if needed later, 
   but for now homepage is fullscreen slider. 
   If there is content below, it flows normally. */
#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
}

/* Internal Pages Styles */
.internal-page {
    padding-top: 80px; /* Space for fixed hamburger if needed or just general top spacing */
    padding-bottom: 50px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Product Carousel */
.product-carousel-container {
    width: 100%;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    height: 400px; /* Fixed height for consistency */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align caption to bottom */
}

.product-slide.active {
    opacity: 1;
    z-index: 2;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.product-caption {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    margin-bottom: 20px;
    width: 80%;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-caption h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--primary-black);
}

.product-caption p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-black);
}
