/* Frontend Styles */

:root {
    --primary-color: #00c79f;
    --secondary-color: #00a87c;
    --success-color: #48c774;
    --danger-color: #f14668;

    /* Light Mode */
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #f8f9fa;
    --border-color: #dee2e6;
    --navbar-bg: #2b2d42;
}

/* Dark Mode */
[data-bs-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --card-bg: #2d2d2d;
    --border-color: #444444;
    --navbar-bg: #0f0f0f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: var(--navbar-bg) !important;
    padding: 0.5rem 0 !important;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand img {
    height: 35px;
    width: 35px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.nav-link {
    transition: color 0.3s ease;
    color: #e0e0e0 !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}


/* Main Content - NO TOP MARGIN */
main {
    margin-top: 0;
    padding-top: 0;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero .lead {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    font-size: 1.3rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.card i {
    color: var(--primary-color);
}

/* Slider Carousel - RESPONSIVE FULLSCREEN */
#slider-carousel {
    /*background: linear-gradient(135deg, #00c79f 0%, #00a87c 100%);*/
    margin-bottom: 3rem;
    /*height: 100vh;*/
}

#slider-carousel .carousel-inner {
    height: 100vh;
}

#slider-carousel .carousel-item {
    height: 100vh !important;
    background-size: cover;
    background-position: center;
}

#slider-carousel .carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 10px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
}

#slider-carousel h1 {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}

#slider-carousel p {
    font-size: 1.5rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 1200px) {
    .navbar-brand {
        font-size: 0.95rem;
    }

    .navbar-brand img {
        height: 32px;
        width: 32px;
    }

    #slider-carousel h1 {
        font-size: 3rem;
    }

    #slider-carousel p {
        font-size: 1.2rem;
    }

    #slider-carousel .carousel-caption {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 0.85rem;
    }

    .navbar-brand img {
        height: 28px;
        width: 28px;
    }

    #slider-carousel {
        height: 70vh;
        margin-bottom: 2rem;
    }

    #slider-carousel .carousel-inner {
        height: 70vh;
    }

    #slider-carousel .carousel-item {
        height: 70vh !important;
    }

    #slider-carousel h1 {
        font-size: 2rem;
    }

    #slider-carousel p {
        font-size: 1rem;
    }

    #slider-carousel .carousel-caption {
        padding: 20px;
        width: 95%;
    }

    #slider-carousel .btn-lg {
        font-size: 0.9rem;
        padding: 0.5rem 1rem !important;
    }

    /* Call to Action - Smaller on Mobile */
    section[style*="linear-gradient"] {
        padding: 2rem 1rem !important;
        border-radius: 5px !important;
        margin-bottom: 1.5rem !important;
    }

    section[style*="linear-gradient"] h2 {
        font-size: 1.3rem !important;
    }

    section[style*="linear-gradient"] p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.75rem;
    }

    .navbar-brand img {
        height: 25px;
        width: 25px;
    }

    #slider-carousel {
        height: 60vh;
        margin-bottom: 1.5rem;
    }

    #slider-carousel .carousel-inner {
        height: 60vh;
    }

    #slider-carousel .carousel-item {
        height: 60vh !important;
    }

    #slider-carousel h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    #slider-carousel p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    #slider-carousel .carousel-caption {
        padding: 15px;
        width: 98%;
    }

    #slider-carousel .btn-lg {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem !important;
    }

    /* Call to Action - Even Smaller on Small Mobile */
    section[style*="linear-gradient"] {
        padding: 1.5rem 0.75rem !important;
        border-radius: 3px !important;
        margin-bottom: 1rem !important;
    }

    section[style*="linear-gradient"] h2 {
        font-size: 1.1rem !important;
    }

    section[style*="linear-gradient"] p {
        font-size: 0.8rem !important;
    }
}

/* Container - NORMAL spacing */
.container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    color: white;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-card {
    position: relative;
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 15px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease !important;
    z-index: 10;
    pointer-events: none;
}

/* Footer */
footer {
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 30px;
    background-color: #1a1a1a;
    color: #ddd;
    transition: background-color 0.3s ease;
}

/* Dark Mode Footer */
[data-bs-theme="dark"] footer {
    background-color: #0a0a0a;
    color: #bbb;
}

footer a {
    color: #00c79f;
    text-decoration: none;
}

footer a:hover {
    color: #00a87c;
    text-decoration: underline;
}

/* Form Elements */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 199, 159, 0.25);
}

/* Dark Mode Form */
[data-bs-theme="dark"] .form-control {
    background-color: #2d2d2d;
    border-color: #444444;
    color: #e0e0e0;
}

[data-bs-theme="dark"] .form-select {
    background-color: #2d2d2d;
    border-color: #444444;
    color: #e0e0e0;
}

[data-bs-theme="dark"] .form-label {
    color: #e0e0e0;
}

/* Table Dark Mode */
[data-bs-theme="dark"] .table {
    color: #e0e0e0;
    border-color: #444444;
}

[data-bs-theme="dark"] .table-light {
    background-color: #2d2d2d;
}

/* Alert Dark Mode */
[data-bs-theme="dark"] .alert {
    background-color: #2d2d2d;
    border-color: #444444;
}

[data-bs-theme="dark"] .alert-info {
    background-color: #1a3a4a;
    border-color: #00c79f;
    color: #00c79f;
}

[data-bs-theme="dark"] .alert-success {
    background-color: #1f4f2f;
    border-color: #48c774;
}

[data-bs-theme="dark"] .alert-danger {
    background-color: #5f1f2f;
    border-color: #f14668;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Form Elements */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    color: #333;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline .row {
    position: relative;
}

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

.card {
    animation: fadeIn 0.5s ease-out;
}


