/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
}

/* Fixed Background Image */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('pozadina.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    animation: fadeInFromRight 1.2s ease-out forwards;
}

/* Background fade-in animation from right to left */
@keyframes fadeInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Background Image */
@media (max-width: 480px) {
    .fixed-background {
        background-image: url('pozadina-mobile.jpg');
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(216, 169, 74, 1);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 1s ease, height 1s ease;
}

.custom-cursor.expanded {
    width: 20px;
    height: 20px;
}

.custom-cursor.expanded-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-cursor.expanded-large::after {
    content: 'VIŠE >';
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0s;
    transition-delay: 0.5s;
    animation: showText 0s 0.3s forwards;
}

@keyframes showText {
    to {
        opacity: 1;
    }
}

* {
    cursor: none !important;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 256px;
    background: linear-gradient(135deg, #0c0c0c 0%, #0a0a0a 50%, #0c0c0c 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;    
    padding: 32px 24px;
    z-index: 100;
    overflow-y: auto;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Logo */
.logo {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.nav-item.active a {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.nav-item svg {
    flex-shrink: 0;
}

.nav-item-kontakt {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Categories */
.categories {
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    padding: 0 16px;
    font-weight: 600;
}

.category-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.category-item svg {
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    margin-left: calc(256px + 60px);
    min-height: 100vh;
    padding: 0 40px 10px 0;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 54px 60px;
    position: sticky;
    top: 0;
    z-index: 1;
    will-change: transform, opacity, filter;
}

.hero-header {
    margin-bottom: 24px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: radial-gradient(ellipse at center, rgba(15, 25, 45, 0.6) 0%, rgba(8, 12, 20, 0.9) 100%);
    border-radius: 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.location-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(216, 169, 74, 0.25) 0%, transparent 70%);
    border-radius: 24px;
    pointer-events: none;
}

.location-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    border: 0.5px solid rgba(216, 169, 74, 0.3);
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-family: 'Baskerville', 'Instrument Sans', serif;
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 400;
    font-style: italic;
    opacity: 0.8    ;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 17px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    opacity: 0.5;
    font-weight: 100;
}

.hero-description {
    font-size: clamp(14px, 2vw, 17px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    opacity: 0.5;
    font-weight: 100;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* View Gallery Button */
.btn-gallery {
    padding: 8px 16px;
    border-radius: 28px;
    opacity: 0.8;
    font-size: 14px;
    font-weight: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #ffffff;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    border: 0.5px solid rgba(216, 169, 74, 0.5);
    border-bottom: none;
    border-radius: 28px 28px 0 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.btn-gallery:hover {
    background: rgba(216, 169, 74, 0.05);
    transform: translateY(-2px);
}

.btn-gallery:hover::before {
    border-color: rgba(216, 169, 74, 0.7);
}

/* Get in Touch Button */
.btn-contact {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 28px;
    opacity: 0.8;
    font-size: 14px;
    font-weight: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #0a0a0a;
    border: 0.5px solid rgba(255, 255, 255, 0.6);
    outline: none;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* Hero Cards Section */
.hero-cards {
    height: 600px;
    background: transparent;
    border-radius: 24px;
    margin: 20px 60px 0 60px;
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.cards-container {
    position: relative;
    width: 330px;
    height: 495px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    position: absolute;
    width: 330px;
    height: 495px;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    box-shadow: -12px 12px 12px rgba(0, 0, 0, 0.2), 12px 12px 12px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card Z-Index and Initial Positions/Rotations */
.card-01 {
    z-index: 1;
    transform: translate(-150px, 85px) rotate(-25deg);
}

.card-02 {
    z-index: 2;
    transform: translate(0px, -10px) rotate(-15.5deg);
}

.card-03 {
    z-index: 3;
    transform: translate(200px, -60px) rotate(-5deg);
}

/* Centered State (after 20vh scroll) */
.card-01.rotated {
    transform: translate(0px, 0px) rotate(0deg);
}

.card-02.rotated {
    transform: translate(0px, 0px) rotate(0deg);
}

.card-03.rotated {
    transform: translate(0px, 0px) rotate(0deg);
}

/* Stolovi Section */
.stolovi-section {
    min-height: 100vh;
    padding: 40px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.stolovi-header {
    text-align: center;
    margin-bottom: 36px;
    z-index: 2;
}

.stolovi-title {
    font-family: 'Baskerville', 'Instrument Sans', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

.stolovi-description {
    font-size: clamp(14px, 1.5vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    opacity: 0.6;
    font-weight: 100;
    letter-spacing: -0.04em;
}

/* Klupe Section */
.klupe-section {
    min-height: 100vh;
    padding: 40px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.klupe-header {
    text-align: center;
    margin-bottom: 36px;
    z-index: 2;
}

.klupe-title {
    font-family: 'Baskerville', 'Instrument Sans', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

.klupe-description {
    font-size: clamp(14px, 1.5vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    opacity: 0.6;
    font-weight: 100;
    letter-spacing: -0.04em;
}

/* Stepenice Section */
.stepenice-section {
    min-height: 100vh;
    padding: 40px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.stepenice-header {
    text-align: center;
    margin-bottom: 36px;
    z-index: 2;
}

.stepenice-title {
    font-family: 'Baskerville', 'Instrument Sans', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

.stepenice-description {
    font-size: clamp(14px, 1.5vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    opacity: 0.6;
    font-weight: 100;
    letter-spacing: -0.04em;
}

/* Restorani Section */
.restorani-section {
    min-height: 100vh;
    padding: 40px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.restorani-header {
    text-align: center;
    margin-bottom: 36px;
    z-index: 2;
}

.restorani-title {
    font-family: 'Baskerville', 'Instrument Sans', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

.restorani-description {
    font-size: clamp(14px, 1.5vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    opacity: 0.6;
    font-weight: 100;
    letter-spacing: -0.04em;
}

/* Interijeri Section */
.interijeri-section {
    min-height: 100vh;
    padding: 40px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.interijeri-header {
    text-align: center;
    margin-bottom: 36px;
    z-index: 2;
}

.interijeri-title {
    font-family: 'Baskerville', 'Instrument Sans', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
}

.interijeri-description {
    font-size: clamp(14px, 1.5vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    opacity: 0.6;
    font-weight: 100;
    letter-spacing: -0.04em;
}

/* Scrolling Background Images - Base */
.scrolling-background {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 495px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* Stolovi Scrolling Background */
.scrolling-background-stolovi {
    transform: translateY(-184px);
}

/* Klupe Scrolling Background */
.scrolling-background-klupe {
    transform: translateY(-184px);
}

/* Stepenice Scrolling Background */
.scrolling-background-stepenice {
    transform: translateY(-184px);
}

/* Restorani Scrolling Background */
.scrolling-background-restorani {
    transform: translateY(-184px);
}

/* Interijeri Scrolling Background */
.scrolling-background-interijeri {
    transform: translateY(-184px);
}

.scrolling-track {
    display: flex;
    gap: 10px;
    animation: scroll-left 40s linear infinite;
    opacity: 0;
    transition: opacity 0.1s linear;
    will-change: transform, opacity;
}

.scrolling-track img {
    width: 283.33px;
    height: 425px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Shadow Overlays for Scrolling Background */
.shadow-left {
    position: absolute;
    left: 0;
    top: 7%;
    height: 86%;
    bottom: 0;
    width: 150px;
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.shadow-right {
    position: absolute;
    right: 0;
    top: 7%;
    height: 86%;
    bottom: 0;
    width: 150px;
    background: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-283.33px * 4 - 40px));
    }
}

/* Featured Center Image */
.featured-image-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image {
    width: 330px;
    height: 495px;
    object-fit: cover;
    border-radius: 16px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    will-change: transform;
    box-shadow: -48px 48px 48px rgba(0, 0, 0, 0.5), 48px 48px 48px rgba(0, 0, 0, 0.5), -6px 6px 12px rgba(0, 0, 0, 0.5);
}

.featured-image:hover {
    transform: scale(1.05) !important;
}

/* Contact Section */
.contact-section {
    padding: 80px 60px 80px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1200px;
    width: 100%;
}

/* Contact Form */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.form-group {
    position: relative;
    z-index: 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: rgba(216, 169, 74, 0.8);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Autofill styling */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px rgba(216, 169, 74, 0.08) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    border-bottom: 1px solid rgba(216, 169, 74, 0.4) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Send Button - From send-plane-button */
.send-button {
  --primary: #ff5569;
  --neutral-1: #f7f8f7;
  --neutral-2: #e7e7e7;
  --radius: 14px;

  cursor: none;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border: none;
  box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  width: 200px;
  padding: 20px;
  height: 52px;
  font-family: 'Instrument Sans', sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.send-button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 3px -3px rgba(0, 0, 0, 0.04);
}
.send-button:active {
  transform: scale(1);
  box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.2);
}
.send-button:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2.5px solid transparent;
  background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45))
      border-box;
  z-index: 0;
  transition: all 0.4s ease;
}
.send-button:hover::after {
  transform: scale(1.05, 1.1);
  box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}
.send-button::before {
  content: "";
  inset: 7px 6px 6px 6px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px;
  filter: blur(0.5px);
  z-index: 2;
}
.state p {
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: scale(1.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon svg {
  overflow: visible;
}

/* Outline */
.outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  inset: -2px -3.5px;
}
.outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 180deg,
    transparent 60%,
    white 80%,
    transparent 100%
  );
  animation: spin 2s linear infinite;
  animation-play-state: paused;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.send-button:hover .outline {
  opacity: 1;
}
.send-button:hover .outline::before {
  animation-play-state: running;
}

/* Letters */
.state p span {
  display: block;
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}
.send-button:hover p span {
  opacity: 1;
  animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
.send-button:focus p span {
  opacity: 1;
  animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}
@keyframes wave {
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
    color: var(--primary);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(5px) rotate(-90deg);
    color: var(--primary);
    filter: blur(5px);
  }
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
    filter: blur(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes disapear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(5px) translateY(20px);
    color: var(--primary);
    filter: blur(5px);
  }
}

/* Plane */
.state--default .icon svg {
  animation: land 0.6s ease forwards;
}
.send-button:hover .state--default .icon {
  transform: rotate(45deg) scale(1.25);
}
.send-button:focus .state--default svg {
  animation: takeOff 0.8s linear forwards;
}
.send-button:focus .state--default .icon {
  transform: rotate(0) scale(1.25);
}
@keyframes takeOff {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translateX(70px) rotate(45deg) scale(2);
  }
  100% {
    opacity: 0;
    transform: translateX(160px) rotate(45deg) scale(0);
  }
}
@keyframes land {
  0% {
    transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
    opacity: 0;
    filter: blur(3px);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Contrail */
.state--default .icon:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 0;
  left: -5px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}
.send-button:focus .state--default .icon:before {
  animation: contrail 0.8s linear forwards;
}
@keyframes contrail {
  0% {
    width: 0;
    opacity: 1;
  }
  8% {
    width: 15px;
  }
  60% {
    opacity: 0.7;
    width: 80px;
  }
  100% {
    opacity: 0;
    width: 160px;
  }
}

/* States */
.state {
  padding-left: 29px;
  z-index: 2;
  display: flex;
  position: relative;
}
.state--sent {
  display: none;
}
.state--sent svg {
  transform: scale(1.25);
  margin-right: 8px;
}
.send-button:focus .state--default {
  position: absolute;
}
.send-button:focus .state--sent {
  display: flex;
}
.send-button:focus .state--sent span {
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}
.send-button:focus .state--sent .icon svg {
  opacity: 0;
  animation: appear 1.2s ease forwards 0.8s;
}
.form-status {
  position: relative;
  margin: 22px 0 0;
  padding: 18px 22px 18px 74px;
  border: 1px solid rgba(132, 208, 141, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(16, 28, 22, 0.96), rgba(10, 10, 10, 0.9)),
    linear-gradient(135deg, rgba(132, 208, 141, 0.08), rgba(216, 169, 74, 0.08));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(247, 244, 238, 0.92);
  overflow: hidden;
  animation: formStatusReveal 0.45s ease;
}

.form-status::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #d8f6c9, #6ebe78 58%, #2f7f46 100%);
  box-shadow:
    0 0 0 6px rgba(110, 190, 120, 0.12),
    0 10px 24px rgba(58, 132, 74, 0.35);
  transform: translateY(-50%);
}

.form-status::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 33px;
  transform: translateY(-56%);
  font-size: 18px;
  font-weight: 800;
  color: #10351d;
}

.form-status[hidden] {
  display: none;
}

.form-status:not(.is-error) {
  background-image:
    radial-gradient(circle at top right, rgba(216, 169, 74, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(16, 28, 22, 0.96), rgba(10, 10, 10, 0.9));
}

.form-status:not(.is-error) span {
  color: #84d08d;
}

.form-status.is-error {
  border-color: rgba(255, 122, 122, 0.3);
  background-image:
    radial-gradient(circle at top right, rgba(255, 122, 122, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(33, 16, 18, 0.96), rgba(10, 10, 10, 0.92));
  color: #ffd2d7;
}

.form-status.is-error::before {
  background:
    radial-gradient(circle at 30% 30%, #ffd8d8, #ff8b8b 58%, #b43737 100%);
  box-shadow:
    0 0 0 6px rgba(255, 122, 122, 0.12),
    0 10px 24px rgba(143, 42, 42, 0.35);
}

.form-status.is-error::after {
  content: '!';
  left: 36px;
  color: #3f1212;
}

@keyframes formStatusReveal {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes appear {
  0% {
    opacity: 0;
    transform: scale(4) rotate(-40deg);
    color: var(--primary);
    filter: blur(4px);
  }
  30% {
    opacity: 1;
    transform: scale(0.6);
    filter: blur(1px);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Contact Info */
.contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(216, 169, 74, 0.3) 0%, rgba(216, 169, 74, 0.15) 30%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(60px);
}

.contact-title {
    font-family: 'Baskerville', 'Instrument Sans', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
    color: #ffffff;
}

.contact-description {
    font-size: clamp(16px, 1.5vw, 20px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-weight: 300;
}

/* Mobile Navigation Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    z-index: 998;
    display: none;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 480px) {
    .mobile-nav {
        display: flex;
    }
}

#hamburger-toggle:checked ~ .mobile-nav {
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-link {
    font-size: 32px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

.mobile-nav-link:hover {
    color: rgba(216, 169, 74, 1);
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }
    
    .main-content {
        margin-left: calc(220px + 40px);
    }
}

@media (max-width: 768px) {
    .sidebar {
        left: 10px;
        top: 10px;
        bottom: 10px;
        width: 200px;
        padding: 24px 16px;
    }
    
    .main-content {
        margin-left: calc(200px + 30px);
        padding: 10px 20px 20px 0;
    }
    
    .hero {
        padding: 40px 30px;
    }
    
    .hero-cards {
        margin: 20px 30px;
    }
}

/* Footer Section */
.footer {
    padding: 40px 60px 0 60px;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-first {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: rgba(216, 169, 74, 0.9);
}

.footer-made-by {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.footer-made-by span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 300;
}

.winkla-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.winkla-logo:hover {
    transform: scale(1.1);
}

.footer-second {
    display: flex;
    justify-content: center;
    text-align: center;
    position: absolute;
    bottom: 0;
    top: 62.75px;
    left: 0;
    right: 0;
    z-index: 1;
}

.footer-second p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 300;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 30px 20px;
    }
    
    .footer-first {
        flex-direction: row;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links,
    .footer-made-by {
        justify-content: center;
    }
}

/* Mobile Header with Logo and Hamburger */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    background: transparent;
}

.mobile-logo {
    height: 60px;
}

.mobile-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Hamburger Button Styles */
.hamburger {
    cursor: none;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 2.5em;
    width: 2.5em;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

#hamburger-toggle:checked ~ .mobile-header .hamburger svg {
    transform: rotate(-45deg);
}

#hamburger-toggle:checked ~ .mobile-header .hamburger svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* Mobile Responsive - Under 480px */
@media (max-width: 480px) {
    /* Force full width */
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Hide desktop sidebar */
    .sidebar {
        display: none;
    }
    
    /* Show mobile header */
    .mobile-header {
        display: flex;
    }
    
    /* Main content adjustments - full width */
    .main-content {
        margin-left: 0;
        padding: 100px 0 0 0;
        width: 100%;
        max-width: 100%;
    }
    
    /* Hero Section */
    .hero {
        padding: 20px;
        text-align: center;
        width: 100%;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle,
    .hero-description {
        font-size: 14px;
    }
    
    /* Hero Cards */
    .hero-cards {
        height: 500px;
        margin: 40px 20px 60px 20px;
        width: calc(100% - 40px);
    }
    
    .cards-container {
        width: 280px;
        height: 420px;
    }
    
    .card {
        width: 280px;
        height: 420px;
    }
    
    .card-01 {
        transform: translate(-120px, 70px) rotate(-25deg);
    }
    
    .card-02 {
        transform: translate(0px, -10px) rotate(-15.5deg);
    }
    
    .card-03 {
        transform: translate(170px, -50px) rotate(-5deg);
    }
    
    /* Section Titles and Descriptions */
    .stolovi-section,
    .klupe-section,
    .stepenice-section,
    .restorani-section,
    .interijeri-section {
        min-height: auto;
        padding: 60px 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .stolovi-header,
    .klupe-header,
    .stepenice-header,
    .restorani-header,
    .interijeri-header {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    
    .stolovi-title,
    .klupe-title,
    .stepenice-title,
    .restorani-title,
    .interijeri-title {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .stolovi-description,
    .klupe-description,
    .stepenice-description,
    .restorani-description,
    .interijeri-description {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    /* Show scrolling background on mobile but make it visible */
    .scrolling-background {
        display: block;
        height: 0;
        overflow: visible;
        margin: 0;
        padding: 0;
    }
    
    .scrolling-track {
        height: 380px;
        translate: 0 70px;
    }
    
    .scrolling-track img {
        height: 380px;
        width: auto;
        object-fit: cover;
    }
    
    /* Featured Image - Specific size 293x440px */
    .featured-image-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .featured-image {   
        width: 293px;
        height: 440px;
        object-fit: cover;
        border-radius: 16px;
        transform: scale(1);
    }
    
    .featured-image:hover {
        transform: scale(1.02) !important;
    }
    
    /* Mobile Dot Indicator for Featured Images */
    .mobile-dot-indicator {
        position: absolute;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: rgba(216, 169, 74, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        z-index: 5;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-dot-indicator.visible {
        opacity: 1;
    }
    
    .mobile-dot-indicator span {
        color: #0a0a0a;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 60px 20px;
        width: 100%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
    }
    
    /* Swap order: contact-info first, then form */
    .contact-info {
        order: 1;
        text-align: center;
    }
    
    .contact-form-wrapper {
        order: 2;
        padding: 0 25px;
    }
    
    .contact-title {
        font-size: 48px;
    }
    
    .contact-description {
        font-size: 16px;
    }
    
    /* Footer Mobile Layout */
    .footer {
        padding: 40px 20px 20px 20px;
        margin-top: 60px;
        width: 100%;
        position: static;
    }
    
    /* First row: footer-first */
    .footer-first {
        flex-direction: row;
        gap: 16px;
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    
    .footer-links {
        justify-content: center;
        padding-left: 10px;
        gap: 12px;
    }
    
    .footer-made-by {
        justify-content: center;
    }
    
    /* Second row: footer-second */
    .footer-second {
        position: static;
        width: 100%;
    }
    
    .footer-link {
        font-size: 11px;
    }
    
    .footer-second p {
        font-size: 12px;
    }
    
    .footer-made-by span {
        font-size: 12px;
    }
    
    .winkla-logo {
        width: 48px;
        height: 48px;
    }
    
    /* Hide custom cursor on mobile */
    .custom-cursor {
        display: none !important;
    }
}
