/* Florazure Themed Colors – Light Background Style */
:root {
    --primary-color: #2db4e4; /* Bright aqua blue */
    --accent-color: #2699c8; /* Deep ocean blue */
    --link-hover: #1b7aa8; /* Darker hover shade */
    --text-color-2: #ffffff; /* Soft bluish charcoal */
    --text-color: #2b4e58; /* Soft bluish charcoal */
    --background-color: #fdfdfd;
    --header-color: azure;
    --button-text: #ffffff;
}

/* General Styles */
body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

a, a:visited {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

button, .btn {
  background-color: var(--primary-color);
  color: var(--button-text);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
  background-color: var(--accent-color);
}

header, footer {
    background-color: var(--background-color);
    color: var(--button-text);
    padding: 15px 0;
    text-align: center;
}

h1, h2, h3, h4, h5 {
  color: var(--text-color);
}

/* Hero Section Styling */
.nonmain-hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 35vh;
    position: relative;
    color: white;
    text-align: left;
    padding: 0 20px;
    border-radius: 0 0 30px 30px;
}


/* Hero Section Styling */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 55vh;
    position: relative;
    color: white;
    text-align: left;
    padding: 0 20px;
    border-radius: 0 0 30px 30px;
    animation: changeBackground 12s infinite; /* Total 12 seconds */
    transition: background-image 6s ease-in-out; /* Smooth transition */
}

/* Keyframes to change images with fade effect */
@keyframes changeBackground {
    0%, 66% { /* First image stays for 8 seconds (66% of 12 seconds) */
        background-image: url('/static/assets/img/florazurehero4.png');
        opacity: 50;
    }

    67%, 100% { /* Second image stays for 4 seconds (33% of 12 seconds) */
        background-image: url('/static/assets/img/florazurehero1.png');
        opacity: 50;
    }
}

/* Heading Styling */
.hero-heading {
    font-size: 3rem;
    margin-bottom: 10px;
    position: absolute;
    top: 15%;
    left: 20px;
}

/* Subheading Styling */
.hero-subheading {
    font-size: 1.5rem;
    font-weight: 300;
    position: absolute;
    top: 30%;
    left: 20px;
    color: azure;
}

/* Optional: Ensure text stays readable */
.hero-section h1, .hero-section p {
    z-index: 1; /* Ensure text stays above the background */
}

.navbar .btn-sm {
    padding: 0.25rem 0.6rem;
    font-size: 0.875rem;
    line-height: 1.2;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 2rem;
    }

    .hero-subheading {
        font-size: 1.2rem;
    }
}
