/* ============================================
   FIONA - Custom Styling
   Brand: pokojná, inteligentná, ľahká, organizovaná
   "uprace chaos bez hluku"
   ============================================ */

/* Fiona Color Variables */
:root {
    --fiona-primary: #5e8b76;
    --fiona-primary-light: #a8c5b5;
    --fiona-primary-dark: #4a705e;
    --fiona-secondary: #8b74a8;
    --fiona-secondary-light: #c4b7d6;
    --fiona-accent: #7ea894;
    --fiona-cream: #FAF8F5;
    --fiona-mist: #E8EDF2;
    --fiona-charcoal: #3D4852;
    --fiona-gray: #8795A1;
    --fiona-success: #7CB99A;
    --fiona-warning: #E5C07B;
    --fiona-error: #D4847C;
}

/* Base Styles */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    color: var(--fiona-charcoal);
    font-size: 16px;
    background-color: var(--fiona-cream);
}

/* Buttons */
.btn {
    -webkit-font-smoothing: antialiased;
    border-radius: 21px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 11px 29px;
    transition: all 0.4s ease-in-out;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:focus,
.btn:hover {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-primary {
    background: var(--fiona-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--fiona-primary-dark);
    color: #fff;
}

.btn-white {
    background: #fff;
    border: 2px solid #fff;
    color: var(--fiona-primary);
}

.btn-white:hover {
    background-color: var(--fiona-primary);
    border-color: var(--fiona-primary);
    color: #fff;
}

.btn-outline-blue,
.btn-outline-fiona {
    background: transparent;
    padding: 9px 25px;
    border: 2px solid var(--fiona-primary-light);
    color: var(--fiona-primary);
}

.btn-outline-blue:hover,
.btn-outline-fiona:hover {
    background-color: var(--fiona-primary);
    border-color: var(--fiona-primary);
    color: #fff;
}

/* Cards */
.card-custom {
    border-radius: 20px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
}

.card-custom:hover {
    box-shadow: 0 20px 30px 2px rgba(0, 0, 0, 0.16), 0 8px 40px 5px rgba(0, 0, 0, 0.14), 0 10px 12px -5px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.card-simple {
    text-align: center;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    background: #fff;
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1), 0 3px 8px -4px rgba(0, 0, 0, 0.2);
}

/* Gradient Backgrounds - Fiona */
.bg-visblee-grad,
.bg-fiona-grad {
    background: linear-gradient(135deg, var(--fiona-primary) 0%, var(--fiona-secondary) 100%);
}

.bg-blue-grad {
    background: linear-gradient(135deg, var(--fiona-primary) 0%, var(--fiona-secondary) 100%);
}

.bg-success-grad {
    background: linear-gradient(135deg, var(--fiona-primary) 0%, var(--fiona-success) 100%);
}

/* Typography - Fiona (elegant, calm) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    color: var(--fiona-charcoal);
}

h1, h2 {
    font-size: 48px;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

.lead {
    font-size: 22px;
    font-weight: 400;
    color: var(--fiona-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.sub-heading {
    color: var(--fiona-primary);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Service Cards */
.service-card {
    display: block;
    position: relative;
    margin: 15px 0;
    color: #fff;
    border-radius: 12px;
    background-color: #2c2e3e;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1), 0 3px 8px -4px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.service-card img {
    border-radius: 10px 10px 0 0;
    transition: all 0.4s linear;
}

.service-card:hover img {
    opacity: 0.8;
}

.service-card .card-inside {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}

/* Tables */
.table-custom {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px 0 rgba(50, 50, 50, 0.1);
    margin-bottom: 30px;
}

.table-custom thead {
    background: linear-gradient(135deg, var(--fiona-primary) 0%, var(--fiona-secondary) 100%);
    color: #fff;
}

.table-custom thead th {
    padding: 12px 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: none;
}

.table-custom tbody tr {
    background: #fff;
    transition: all 0.3s ease;
}

.table-custom tbody tr:hover {
    background: #f9f9f9;
}

.table-custom tbody td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

/* Badges - Fiona */
.badge-custom {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(94, 139, 118, 0.1);
    border: 1px solid rgba(94, 139, 118, 0.3);
    border-radius: 15px;
    color: var(--fiona-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.badge-custom:hover {
    background: rgba(94, 139, 118, 0.15);
    border-color: rgba(94, 139, 118, 0.5);
}

.badge-green,
.badge-fiona-success {
    background: linear-gradient(135deg, var(--fiona-primary) 0%, var(--fiona-success) 100%);
}

.badge-red,
.badge-fiona-error {
    background: linear-gradient(135deg, var(--fiona-secondary) 0%, var(--fiona-error) 100%);
}

/* Navigation */
.nav-custom {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1), 0 3px 8px -4px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.nav-link-custom {
    padding: 4px 0;
    margin: 0 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #777;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link-custom::after {
    content: "";
    display: block;
    margin: auto;
    height: 2px;
    width: 0;
    background: transparent;
    transition: width 0.5s ease, background-color 0.5s ease;
    bottom: -2px;
    left: 0;
    right: 0;
    position: absolute;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--fiona-charcoal);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 100%;
    background: linear-gradient(to right, var(--fiona-primary) 0%, var(--fiona-secondary) 100%);
}

/* Footer - Fiona */
.footer-icon {
    display: block;
    margin: 0 auto 10px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 100%;
    font-size: 40px;
    color: #fff;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--fiona-primary) 0%, var(--fiona-secondary) 100%);
}

.footer-icon:hover {
    box-shadow: 0 10px 20px rgba(94, 139, 118, 0.3);
    transform: translateY(-3px);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Forms */
.form-control-custom {
    box-shadow: none;
    font-size: 16px;
    height: 42px;
    transition: all 0.2s linear;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    padding: 8px 12px;
}

.form-control-custom:focus {
    border: solid 1px #3973b8;
    box-shadow: inset 0 0 0 1px #3973b8 !important;
    outline: none;
}

/* Utility Classes */
.shadow-custom {
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
}

.shadow-custom-sm {
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1), 0 3px 8px -4px rgba(0, 0, 0, 0.2);
}

.text-gradient,
.text-fiona-gradient {
    background: linear-gradient(135deg, var(--fiona-primary) 0%, var(--fiona-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 768px) {
    h1, h2 {
        font-size: 42px;
    }
    
    .lead {
        font-size: 20px;
    }
    
    .card-custom {
        padding: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Page Sections */
.page-section {
    padding: 100px 0;
    position: relative;
}

.page-section-half {
    padding: 50px 0;
}

/* Dividers - Fiona */
.divider {
    display: block;
    height: 2px;
    width: 30px;
    background: linear-gradient(to right, var(--fiona-primary) 0%, var(--fiona-secondary) 100%);
    margin: 15px auto;
}

.divider-full {
    width: 100%;
    height: 1px;
    background: #eee;
    margin: 50px 0;
}

/* Booking Widget Wrapper */
.booking-widget-wrapper {
    background: white;
    border-radius: 0 0 16px 16px;
}

.booking-widget-wrapper .card-custom {
    border-radius: 0 0 16px 16px;
    margin-bottom: 0;
}

@media (max-width: 1023px) {
    .booking-widget-wrapper .card-custom {
        height: auto !important;
        min-height: 400px;
    }
}
