/* Common styles for HealthSpect 360 */

/* ----------------- BASE STYLES ----------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Serif', serif;
    color: #333;
    line-height: 1.6;
}

html,body{
    background: #000;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.3;
}

/* Apply Tailwind font classes directly to ensure consistency with configurations */
h1, h2, h3, h4, h5, h6 {
    @apply font-serif; /* Work Sans in our Tailwind config */
}

body {
    @apply font-sans; /* Roboto Serif in our Tailwind config */
}

/* Common image handling */
img {
    max-width: 100%;
    height: auto;
}

/* Utility classes */
.text-balance {
    text-wrap: balance;
}

/* Color variables */
:root {
    --green-100: #E7F2EF;
    --brand-red: #FF4600;
    --brand-green: #53D5AC;
}

.bg-green-100 {
    background-color: var(--green-100);
}

.text-green-100 {
    color: var(--green-100);
}

.border-green-100 {
    border-color: var(--green-100);
}

/* ----------------- NAVBAR STYLES ----------------- */
nav {
    background: linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

nav.mobile-menu-open {
    background-color: rgba(0, 0, 0, 1) !important;
}
nav a,
nav a:hover,
nav a:focus{
    outline: none;
}

button#mobile-menu-button {
    width: 45px;
    height: 45px; 
    outline: none;
}

#mobile-menu{
    padding-bottom: 20px;
}

img.w-30{
    width: 120px;
}

/* ----------------- SECTION STYLES ----------------- */

#hero h1,
#hero p{
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
}

.section-divider {
    width: 5rem;
    height: 0.25rem;
    background-color: #FF4600;
    margin: 1rem auto 2rem;
}

/* ----------------- COMPONENT STYLES ----------------- */
/* Buttons */
.btn-primary {
    background-color: #FF4600;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e03e00;
}

.btn-secondary {
    background-color: #53D5AC;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #45c69e;
    color: white;
}

/* Cards */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Hero and carousel styles */
.hero-swiper {
    position: relative;
}

.hero-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
}

.hero-swiper .swiper-pagination {
    position: relative;
    bottom: auto;
    padding: 0;
}

@media (min-width: 768px) {
    .hero-swiper .swiper-slide {
        display: block;
    }
    
    .hero-swiper .swiper-pagination {
        position: absolute;
        bottom: 20px;
        padding: 0;
        background-color: transparent;
    }
}

/* Hero swiper custom styles */
.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    background-color: white;
    margin: 0 5px;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #FF4600; /* brand-red */
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
    bottom: 30px !important;
}
/* .hero-swiper .swiper-slide{
    background: linear-gradient(150.59deg, rgba(251, 254, 253, 0.7) 39.04%, rgba(34, 139, 106, 0.7) 88.52%);
} */

/* Testimonials swiper custom styles */
.testimonials-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.7;
    background-color: #9ca3af; /* gray-400 */
}

.testimonials-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #FF4600; /* brand-red */
}

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

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

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid rgba(255, 70, 0, 0.5);
    outline-offset: 2px;
}

.swiper-controls-wrap {
    position: relative;
}
.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 24px;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev,
.swiper-button-prev, .swiper-rtl .swiper-button-next{
    top: 0px;
    bottom: auto;
    left: auto;
    right: auto;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev{
    transform: translateY(-40px) translateX(50px);
}
.swiper-button-prev, .swiper-rtl .swiper-button-next{
    transform: translateY(-40px) translateX(-50px);
}

/* ----------------- MEDIA QUERIES ----------------- */
/* Small screens (mobile) */
@media (max-width: 639px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    .workshop-video,
    .podcast-video {
        width: 100%;
    }
}

/* Medium screens (tablets) */
@media (min-width: 640px) and (max-width: 1023px) {
    .section-padding {
        padding: 4rem 0;
    }
}

/* Large screens (desktops) */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Print styles */
@media print {
    nav, footer, .swiper-button-next, .swiper-button-prev {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background-color: #fff;
    }
    
    main {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
}

/* Common transitions */
.transition-all {
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .sticky-share {
        display: none !important;
    }
} 