/* === Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800&family=Inter:wght@300;400;600&display=swap');

/* === Variables === */
:root {
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --bg-card-hover: #2A2A2A;
    --text-primary: #F5F5F5;
    --text-secondary: #AAAAAA;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #B5952F;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

/* === Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 15px auto 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* === Reusable Classes === */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-gold);
    color: #000;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-gold);
    padding: 10px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: #000;
}

/* === Header & Navigation === */
header {
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo span {
    color: var(--text-primary);
}

.logo .logo-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 2px;
    display: block;
    margin-top: -5px;
    font-family: var(--font-heading);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links li a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-links li a:hover {
    color: var(--accent-gold);
}

/* === Dropdown Menu === */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    /* Above header */
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    top: 100%;
    left: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-transform: none !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:hover {
    background-color: var(--bg-card-hover);
    color: var(--accent-gold);
    padding-left: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--accent-gold);
    cursor: pointer;
}

/* === Hero Section === */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') center/cover;
    padding-top: 80px;
    /* Offset for fixed header */
}

/* Placeholder for background if image doesn't exist */
.hero-placeholder-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 10px, #222 10px, #222 20px);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* === Services / Categories === */
.services {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: block;
    /* Since it will be a link */
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-img {
    height: 250px;
    background-color: #333;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-info {
    padding: 25px;
    text-align: center;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.service-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* === Global CTA Section === */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, #111 0%, #1a1a1a 100%);
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section h2::after {
    display: none;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === Footer === */
footer {
    background-color: #0A0A0A;
    padding: 60px 0 20px;
    border-top: 2px solid var(--accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.85rem;
}

/* === Subpage Hero === */
.sub-hero {
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/sub-hero-bg.jpg') center/cover;
    position: relative;
    padding-top: 80px;
    border-bottom: 2px solid var(--accent-gold);
}

.sub-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.sub-hero p {
    color: var(--accent-gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* === Contact Page === */
.contact-section {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* === Gallery === */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    height: 250px;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '🔍 Zväčšiť';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--accent-gold);
    font-weight: 600;
    z-index: 10;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* === Lightbox === */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

#lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

#lightbox-number {
    position: absolute;
    top: 30px;
    left: 40px;
    color: var(--accent-gold);
    font-size: 24px;
    font-weight: 600;
    z-index: 1001;
    background: rgba(18, 18, 18, 0.8);
    padding: 5px 15px;
    border-radius: 4px;
    border: 1px solid var(--accent-gold);
}

#lightbox-close:hover {
    color: var(--accent-gold);
}

/* === Animations === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid var(--accent-gold);
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--accent-gold);
        margin-left: 10px;
        background-color: transparent;
        width: calc(100% - 10px);
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 15px 0;
    z-index: 1000;
    display: none;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--accent-gold);
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
    text-align: left;
}

.cookie-banner .btn-primary {
    padding: 8px 20px;
    font-size: 0.85rem;
}
.photo-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1rem;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
