/* Main Variables - Careox Theme */
:root {
    --primary-color: #ff9d00;
    /* Orange from reference */
    --secondary-color: #1a2b25;
    /* Dark Green/Black */
    --text-color: #555;
    --light-bg: #f9f9f9;
    --white: #fff;
    --font-heading: 'Outfit', sans-serif;
    --font-hand: 'Caveat', cursive;
    /* For the "People" decorative text */
    --font-body: 'Inter', sans-serif;
    --border-radius: 30px;
    /* Soft round corners */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23f0f0f0" fill-opacity="0.4"><circle cx="10" cy="10" r="2"/><circle cx="50" cy="50" r="2"/><circle cx="90" cy="90" r="2"/></g></svg>');
    /* Subtle texture */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.2;
}

/* Custom Shape Utils */
.text-hand {
    font-family: var(--font-hand);
    color: var(--primary-color);
}

.btn {
    border-radius: 50px;
    padding: 15px 35px;
    text-transform: capitalize;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 157, 0, 0.3);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e68a00;
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-dark:hover {
    background: #000;
}

/* Header */
.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Lang Switcher */
.lang-switch a {
    font-weight: 600;
    font-size: 0.9rem;
}

.lang-switch a.active {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background: #222;
    color: #ddd;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: #bbb;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Utilities */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        /* Header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-slider {
        height: 400px;
    }
}

/* Gallery Styles */
.gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.img-wrapper img {
    transition: transform 0.5s ease;
}

.gallery-item:hover .img-wrapper img {
    transform: scale(1.1);
}

.hover-overlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .hover-overlay {
    opacity: 1;
}

/* Pagination Styling */
.pagination .page-link {
    color: var(--secondary-color);
    border: none;
    margin: 0 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 157, 0, 0.3);
}

.pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: #ccc;
}