:root{
    /* Amber shades */
  --color-amber-50: #fffbeb; /* You can get these values from Tailwind's color palette or documentation */
  --color-amber-100: #fef3c7;
  --color-amber-200: #fde68a;
  --color-amber-300: #fcd34d;
  --color-amber-400: #fbbf24;
  --color-amber-500: #f59e0b;
  --color-amber-600: #d97706;
  --color-amber-700: #b45309;
  --color-amber-800: #92400e;
  --color-amber-900: #78350f;
  --color-amber-950: #482b1a;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}
.bg-background {
  --tw-bg-opacity: 1;
  background-color: hsl(0 0% 98% / var(--tw-bg-opacity, 1));
}

/* Simple Fade-in Animation for sections (optional but nice) */
section {
    animation: fadeIn 0.7s ease-out;
}

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

/* --- How it Works (Interactive) --- */
.how-step.active {
    /* Tailwind classes equivalent to @apply bg-amber-500 text-white shadow-lg scale-105; */
    background-color: #f59e0b; /* bg-amber-500 */
    color: #ffffff; /* text-white */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    transform: scale(1.05); /* scale-105 */
}
.how-icon.active {
     /* Tailwind classes equivalent to @apply bg-amber-500 text-white shadow-lg; */
    background-color: #f59e0b; /* bg-amber-500 */
    color: #ffffff; /* text-white */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
}
/* Cookie consent custom style */
#cc-main {
    --cc-font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    --cc-modal-border-radius: .5rem;
    --cc-btn-border-radius: .4rem;
    --cc-modal-transition-duration: .25s;
    --cc-modal-margin: 1rem;
    --cc-z-index: 2147483647;
}
#cc-main,
#cc-main .cm,
#cc-main .pm {
    --cc-modal-transition-duration: 0;
}
#cc-main {
    /** Change font **/
    --cc-font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";

    /** Change button primary color to black **/
    --cc-btn-primary-bg: var(--color-amber-200);
    --cc-btn-primary-border-color: var(--color-amber-200);
    --cc-btn-primary-hover-bg: var(--color-amber-300);
    --cc-btn-primary-hover-border-color: var(--color-amber-300);
    /** Also make toggles the same color as the button **/
    --cc-toggle-on-bg: var(--cc-btn-primary-bg);

    /** Make the buttons a bit rounder **/
    --cc-btn-border-radius: 10px;
}
#cc-main .cm__btn{
    color: var(--color-amber-700);
}
#cc-main .cm__btn:hover{
    color: var(--color-amber-700);
}
#cc-main .cm__btn--secondary {
    color: var(--cc-btn-secondary-color);
}
#cc-main .cm__btn--secondary:hover {
    color: var(--cc-btn-secondary-color);
}

#cc-main .pm__btn{
    color: var(--color-amber-700);
}
#cc-main .pm__btn:hover{
    color: var(--color-amber-700);
}
#cc-main .pm__btn--secondary {
    color: var(--cc-btn-secondary-color);
}
#cc-main .pm__btn--secondary:hover {
    color: var(--cc-btn-secondary-color);
}

/* Youtube vide container */
.video-container {
    /* 1. Set the container to be 100% of its parent's width */
    position: relative;
    width: 100%;
    /* 2. Create the 16:9 aspect ratio using padding-bottom */
    /* (9 / 16) * 100 = 56.25% */
    /*padding-bottom: 56.25%; */
    height: 100%;
    overflow: hidden;
    max-width: 800px; /* Example max width */
    margin: 0 auto;
}

.video-container iframe {
    /* 3. Position the iframe to cover the entire container */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* .video-container video {
    /* 3. Position the iframe to cover the entire container */
   /*  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; */
    /*object-fit: cover; /* Or 'contain', 'fill', etc. */
/*} */

/* 2. The video element */
.video-container video {
    width: 100%;
    display: block; /* Removes any default bottom spacing */
}

/* 3. The play button */
#play-button {
    position: absolute; /* Positions the button relative to the .video-container */
    
    /* 4. The centering magic */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* This shifts the button back by half its own width and height to truly center it */
    
    /* Styling */
    width: 70px;
    height: 70px;
    background-color: var(--color-amber-500);
    border: 2px solid white;
    border-radius: 50%; /* Makes it a circle */
    cursor: pointer;
    z-index: 10; /* Ensures it's on top of the video */
    
    /* Prevents the button from "flashing" on click */
    transition: background-color 0.1s ease;
}

#play-button:hover {
    background-color: var(--color-amber-700)
}

/* The play icon (a triangle) using CSS borders */
#play-button::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 55%; /* Slightly offset to the right to look centered */
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid white;
}

/* 360 view container */
.carousel-container {
    /* 1. Set the container to be 100% of its parent's width */
    position: relative;
    width: 100%;
    min-height: 352px;
    /* 2. Create the 16:9 aspect ratio using padding-bottom */
    /* (9 / 16) * 100 = 56.25% */
    padding-bottom: 0%;
    overflow: hidden;
}


/* Existing styles for the carousel container remain the same */

#loading-overlay {
    position: absolute; /* Ensures it covers the entire carousel area */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Changed to slightly transparent black */
    color: white;
    
    /* --- Centering via Flexbox --- */
    display: flex;
    flex-direction: column; /* Stacks the circle and the text vertically */
    justify-content: center; /* Centers items vertically in the overlay */
    align-items: center; /* Centers items horizontally in the overlay */
    gap: 15px; /* Adds space between the circle and the text */
    
    z-index: 10;
    transition: opacity 0.5s;
}

/* Ensure the text is also centered */
#loading-overlay p {
    margin: 0; /* Remove default paragraph margins */
    text-align: center;
}

/* Circular Progress Bar Styles (No changes needed here if the above is correct) */
#circular-progress-container {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #555;
}

#circular-progress-fill {
    /* ... (conic-gradient styles) ... */
    background: conic-gradient(#ffcc00 var(--progress, 0%), #555 0%);
    transition: background 0.3s ease-out;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

#progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    /* --- Ensures the text inside the circle is centered --- */
    transform: translate(-50%, -50%); 
    font-size: 1.5em;
    font-weight: bold;
    color: white;
}

.show-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Placeholder container to maintain the carousel's size before the image loads */
#image-placeholder {
    width: 100%;
    height: 100%;
    display: block; /* Ensures it occupies the space */
    position: relative; /* To contain the image we insert */
}

/* Updated selector to target the dynamically created image */
#image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    display: block;
    transition: opacity 1s ease-in-out; 
}

/* This class will still be added to the dynamic <img> element */
.visible {
    opacity: 1 !important;
}



/* --- Refined Control Styles for a Single Toggle Button --- */
.carousel-controls {
            
    display: flex; 
    justify-content: left;
    gap: 10px; /* Space between buttons */
    z-index: 5;
    padding-top: 5px;
}

/* Base style for the new navigation buttons */
.nav-button {
    width: 50px; /* Slightly smaller size than the main toggle button */
    height: 50px;
    border-radius: 50%; 
    border: none;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.9); /* Light, slightly transparent background */
    color: #333; /* Dark icon color */
    transition: background-color 0.3s, transform 0.1s;
    
    /* Ensure icon is centered */
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-button:hover:not(:disabled) {
    background-color: white;
    transform: scale(1.05);
}

.nav-button:disabled {
    background-color: #eee;
    color: #aaa;
    cursor: not-allowed;
}

/* Ensure the icon size is appropriate for the new buttons */
.nav-button .icon-control {
    width: 25px; 
    height: 25px;
    position: static; /* Override absolute positioning for icons in the nav buttons */
}

/* --- Toggle Button Styles --- */
#toggle-button {
    /* ... (Button container size and centering remains the same) ... */
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    display: flex; 
    justify-content: center;
    align-items: center;
    
    /* Key change: Ensure icons are centered and don't overlap strangely */
    position: relative; 
    
    font-size: 0; /* Hide any accidental text characters */
    color: white; /* Default icon color */
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, transform 0.1s;
}

/* Base style for all icons inside the button */
.icon-control {
    position: absolute;
    width: 40px;  /* Icon size */
    height: 40px; /* Icon size */
    transition: opacity 0.3s;
}

/* Class to hide the inactive icon */
.hidden-icon {
    opacity: 0;
    pointer-events: none; /* Prevents interaction issues */
}

/* State when playing (Action is to STOP/PAUSE - so Pause icon is visible) */
.state-playing {
    background-color: #f59e0b; /* Red */
}

/* State when paused (Action is to START/PLAY - so Play icon is visible) */
.state-paused {
    background-color: #f59e0b; /* Green */
}

/* Style for disabled button (before preloading is done) */
#toggle-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    color: #666;
}

#toggle-button:not(:disabled):hover {
    transform: scale(1.05); /* Subtle hover effect */
}

/* ... (All previous CSS remains the same) ... */

.multicolor-heading {
    /* Apply a linear gradient background */
    background-image: linear-gradient(
        to right, 
        #ffcc00, /* Your main color */
        #ff6600, /* A complementary orange for variety */
        #0033ff  /* A complementary blue (the color complement of #ffcc00 is #0033ff) for contrast */
    );
    /* Clip the background to the text shape */
    -webkit-background-clip: text; /* For cross-browser compatibility, especially older versions */
    background-clip: text;
    /* Make the text fill transparent so the background shows through */
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    /* Optional: Add a fallback color for browsers that don't support this feature */
    color: #ffcc00; 
}