/*
Theme Name: Milic Mekanik Theme
Theme URI: https://milicmekanik.com
Author: Antigravity
Description: Custom WordPress theme converted from React Frontend.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: milicmekanik
*/

body {
    margin: 0;
    font-family: Arial Nova Regular, sans-serif;
    font-size: 1pc;
    line-height: 26px;
    font-weight: 400;
    color: #002939;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
    /* Allow parent color to dictate unless overridden */
}

a:hover {
    color: #d90429;
}

/* Global Container for Inner Pages */
.container-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

/* Typography Standardization */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    color: #002939;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.4;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.4;
}

h6 {
    font-size: 1rem;
    line-height: 1.4;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Breadcrumbs Styling */
.breadcrumbs {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: #002939;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #d90429;
}

main {
    flex: 1;
}

footer#footer {
    text-align: center;
    background-color: #f8f9fa;
    /* Example bg, adjust as needed */
    margin-top: auto;
    /* Push to bottom if content is short */
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

/* --- Water Fill Button Effect --- */
.btn-water {
    position: relative;
    overflow: hidden;
    transition: color 0.4s;
    z-index: 1;
    display: inline-block;
}

.btn-water::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    /* Subtle lighter fill */
    transition: top 0.4s;
    z-index: -1;
    border-radius: 15px 0 15px 0;
    /* Match button radius */
}

.btn-water:hover::before {
    top: 0;
}

/* --- Modern UI Tweaks --- */
.shadow-md {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

.rounded-bl-\[50px\] {
    border-bottom-left-radius: 30px !important;
    /* Soften extreme curves */
}

.rounded-tr-\[50px\] {
    border-top-right-radius: 30px !important;
}

/* --- Reusable Button Component (.btn-slide) --- */
.btn-slide {
    /* Default Variables */
    --bg-color: #002939;
    /* Fallback color */
    --text-color: #ffffff;
    --hover-overlay: rgba(0, 0, 0, 0.3);
    /* Darkens the button */

    /* Base Styles */
    background-color: var(--bg-color);
    color: var(--text-color);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: color 0.3s ease;
    text-decoration: none;
    /* Ensure links look like buttons */
}

/* Horizontal Slide Animation (Left to Right) */
.btn-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hover-overlay);
    z-index: -1;

    /* Start from Left */
    transform: translate(-100%, 0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-slide:hover::before {
    /* Slide fill to cover */
    transform: translate(0, 0);
}

.btn-slide:hover {
    color: var(--text-color);
    /* Ensure text stays correct color */
}