/* ==========================================
   PROFESIONÁLNÍ DESIGN - PENZION HAMR 2025
   ========================================== */

:root {
    --gold: #C9A961;
    --dark-gold: #A08644;
    --deep-brown: #3E2723;
    --warm-beige: #F5F1E8;
    --cream: #FFF8E7;
    --text-dark: #2C2C2C;
    --text-medium: #5A5A5A;
    --text-light: #8A8A8A;
}

/* ==========================================
   ZÁKLADNÍ STYLY
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    background: var(--cream);
}

/* TYPOGRAFIE */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--deep-brown);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.lead {
    font-size: 1.25rem !important;
    color: var(--text-medium) !important;
    font-weight: 300;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-warm { background-color: var(--warm-beige) !important; }
.border-gold { border-color: var(--gold) !important; }

/* ==========================================
   NAVIGACE
   ========================================== */

.navbar {
    background: linear-gradient(135deg, var(--deep-brown) 0%, #2C1810 100%) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-bottom: 2px solid var(--gold);
}

.navbar-brand {
    font-size: 1.8rem !important;
    font-family: 'Merriweather', Georgia, serif;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

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

.navbar-brand img {
    filter: drop-shadow(0 2px 8px rgba(201, 169, 97, 0.5));
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.75rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.85), rgba(139, 37, 0, 0.5), rgba(201, 169, 97, 0.3));
    z-index: 1;
}

.hero-section > div {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-size: clamp(3rem, 8vw, 6rem);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 4px 20px rgba(201, 169, 97, 0.4);
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-section .display-4 {
    color: var(--gold) !important;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    letter-spacing: 0.2rem;
    font-weight: 300 !important;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-section .lead {
    color: var(--gold) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    font-size: 1.8rem !important;
    letter-spacing: 0.3rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-section .fs-4 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-section .fs-5 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   TLAČÍTKA
   ========================================== */

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    border: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
    transition: all 0.4s ease;
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(201, 169, 97, 0.5);
    color: white;
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

/* ==========================================
   SEKCE
   ========================================== */

section {
    padding: 5rem 0;
}

.section-title {
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--deep-brown);
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

/* ==========================================
   KARTY
   ========================================== */

.card {
    border: none;
    border-radius: 20px;
    background: white;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.2);
}

.card-body {
    padding: 2.5rem;
}

.card-title {
    color: var(--deep-brown);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title i {
    margin-right: 0.75rem;
}

.card hr {
    border-color: var(--gold);
    opacity: 0.3;
    margin: 1.5rem 0;
}

/* ==========================================
   BADGES
   ========================================== */

.badge {
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-right: 0.5rem;
}

.badge.bg-gold {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold)) !important;
    color: white;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.badge.text-dark {
    color: var(--deep-brown) !important;
}

/* ==========================================
   LISTY
   ========================================== */

.list-unstyled li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1.05rem;
}

.list-unstyled li:last-child {
    border-bottom: none;
}

.list-unstyled li i {
    color: var(--gold);
    margin-right: 0.75rem;
}

ul.small li {
    padding: 0.5rem 0;
    color: var(--text-medium);
}

/* ==========================================
   ALERTS
   ========================================== */

.alert {
    border-radius: 15px;
    border: none;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.alert-info {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    color: #0D47A1;
    border-left: 4px solid #1976D2;
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    background: linear-gradient(135deg, var(--deep-brown) 0%, #1A0F0A 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 0 2rem;
    border-top: 3px solid var(--gold);
}

footer h5 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--gold);
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer hr {
    border-color: rgba(201, 169, 97, 0.3);
    margin: 2rem 0;
}

footer .fab, footer .fas {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

footer .fab:hover, footer .fas:hover {
    transform: scale(1.2);
}

/* ==========================================
   BACK TO TOP
   ========================================== */

.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: white;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
    transition: all 0.3s ease;
}

.btn-floating.show {
    display: flex;
}

.btn-floating:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.6);
}

/* ==========================================
   IFRAME
   ========================================== */

.ratio {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 3px solid var(--gold);
}

/* ==========================================
   SPECIAL
   ========================================== */

.bg-gold.bg-opacity-10 {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08), rgba(160, 134, 68, 0.12)) !important;
    border: 2px solid rgba(201, 169, 97, 0.3);
    border-radius: 20px;
}

.border-gold {
    border: 2px solid var(--gold) !important;
}

/* ==========================================
   GALERIE
   ========================================== */

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

#imageModal .modal-content {
    background: rgba(0, 0, 0, 0.95);
}

#imageModal .modal-body img {
    max-height: 80vh;
    width: auto;
    margin: 0 auto;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(62, 39, 35, 0.95);
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .btn-floating {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.5rem;
        letter-spacing: 0.2rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem !important;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}

/* ==========================================
   SCROLLBAR
   ========================================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--warm-beige);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--dark-gold));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--dark-gold), var(--gold));
}
