@tailwind base;
@tailwind components;
@tailwind utilities;

/* General Body Styles */
body {
    font-family: 'Aptos', 'Open Sans', sans-serif;
    color: #444444;
}

html {
    scroll-behavior: smooth;
}

a {
    color: #f58220; /* brand-orange */
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #d97706; /* brand-orange-dark */
}

/* Scroll Padding for Fixed Header */
html {
    scroll-padding-top: 90px;
}

/* Header */
#header {
    height: 100px;
}
#header.header-scrolled {
    height: 90px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 17px;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    padding-bottom: 8px;
}

.nav-link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f58220; /* brand-orange */
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}

.nav-link:hover:before, .nav-link.active:before {
    visibility: visible;
    transform: scaleX(1);
}

.btn-get-started {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 2px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    transition: 0.5s;
    color: #444444; /* brand-blue */
    background: #f58220; /* brand-orange */
}

.btn-get-started:hover {
    background: #d97706; /* brand-orange-dark */
    color: white;
}

/* Hero Section */
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}
.swiper-slide::before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    inset: 0;
}
.swiper-slide > * {
    position: relative;
    z-index: 10;
}
.hero-slide-1 {
    background-image: url('../images/hero-background.jpeg');
}
.hero-slide-2 {
    background-image: url('../images/hero-background-2.jpeg');
}
#hero h1, #hero h2 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.swiper-pagination-bullet-active {
    background-color: #f58220 !important;
}
.swiper-button-next, .swiper-button-prev {
    color: #f58220 !important;
}


/* Section Title */
.section-title {
    text-align: center;
    padding-bottom: 30px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    font-family: "Raleway", sans-serif;
    color: #444444; /* brand-blue */
}
.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: #f58220; /* brand-orange */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.section-title p {
    margin-bottom: 0;
    color: #777777;
}

/* Process Section */
.process-box {
    text-align: center;
    padding: 30px 20px;
    transition: all ease-in-out 0.3s;
    background: #fff;
    box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
    border-radius: 8px;
}
.process-box .icon {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    background: #f58220; /* brand-orange */
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
    color: #fff;
    font-size: 28px;
}
.process-box .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    color: #444444; /* brand-blue */
}
.process-box .description {
    line-height: 24px;
    font-size: 14px;
}
.process-box:hover {
    transform: translateY(-10px);
}

/* Value Box for About Section */
.value-box {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
}
.value-box .title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
    color: #444444;
}
.value-box .description {
    font-size: 14px;
    color: #777777;
}


/* Form Input Styling */
.form-input {
    @apply w-full px-4 py-3 bg-white border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-brand-orange transition-colors;
}

.form-input-dark {
    @apply w-full px-4 py-3 bg-gray-100 border border-gray-200 rounded text-gray-800 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-brand-orange focus:border-brand-orange transition-colors;
}


/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #a9a9a9;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 200%;
    max-height: 80vh;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

