:root {
    --color-dark-green: #1a4a38;
    /* Butelkowa zieleń */
    --color-beige: #f5f1e6;
    --color-gold: #d4af37;
    --color-gold-light: #efd78e;
    --color-white: #ffffff;
    --color-black: #111111;
    --color-gray: #777777;
    --color-light-gray: #f8f8f8;
}

/* Reset i podstawowe style */
*,
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Wąski suwak */
::-webkit-scrollbar {
    width: 8px;
    /* Węższy suwak */
    height: 8px;
    /* Węższy suwak poziomy */
}

/* Styl dla "toru" paska przewijania */
::-webkit-scrollbar-track {
    background: transparent;
    /* Usuwa background tracku */
    border-radius: 10px;
    /* Zaokrąglony kształt */
}

/* Styl dla samego paska przewijania */
::-webkit-scrollbar-thumb {
    background-color: var(--color-gold);
    /* Złoty kolor */
    border-radius: 10px;
    /* Zaokrąglony kształt */
    border: 2px solid var(--color-light-gray);
    /* Możesz dodać cienką ramkę */
}

/* Styl dla paska przewijania w stanie "hover" */
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(212, 175, 55, 0.8);
    /* Dalsze dopasowanie koloru */
}

/* Dla innych przeglądarek */
::-moz-scrollbar {
    width: 6px;
    height: 6px;
}

::-moz-scrollbar-thumb {
    background-color: var(--color-gold);
    border-radius: 10px;
}

#nprogress {
    pointer-events: none;
}

#nprogress .bar {
    background: var(--color-gold);
    /* lub Twój kolor */
    position: fixed;
    z-index: 1031;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

#nprogress .spinner {
    display: none;
}

#nprogress .peg {
    box-shadow: 0 0 10px var(--color-gold), 0 0 5px var(--color-gold);
}

.text-primary {
    color: var(--color-dark-green) !important;
}

.text-gold {
    color: var(--color-gold) !important;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--color-dark-green);
    transition: all 0.3s ease;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border: 2px solid var(--color-dark-green) !important;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-dark-green);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark-green);
    border: 2px solid var(--color-dark-green) !important;
}

.btn-secondary:hover {
    background-color: var(--color-dark-green);
    color: var(--color-white);
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--color-gold);
}

.btn-gold-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-gold-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

/* Nagłówki */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark-green);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Section styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--color-gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* TopBar */
.topbar {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    padding: 12px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-contact {
    display: flex;
    gap: 20px;
}

.topbar-contact a {
    color: var(--color-white);
    font-size: 14px;
}

.topbar-contact a:hover {
    color: var(--color-gold);
}

.topbar-social {
    display: flex;
    gap: 15px;
}

.topbar-social a {
    color: var(--color-white);
    font-size: 16px;
}

.topbar-social a:hover {
    color: var(--color-gold);
}

/* Header */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: block;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark-green);
}

.logo span {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    gap: 30px;
    transition: all 0.3s ease;
}

.nav-menu a {
    color: var(--color-black);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--color-dark-green);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover:after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    margin: auto;
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-beige);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    /* lekko wyblaknięte tło */
    z-index: -1;
}

/* Collections Section */
.collections {
    background-color: var(--color-white);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.collection-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.collection-card {
    position: relative;
    overflow: hidden;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.collection-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover .collection-image {
    transform: scale(1.05);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(45, 90, 74, 0.85), transparent);
    padding: 30px 20px;
    color: var(--color-white);
    transition: all 0.5s ease;
}

.collection-card:hover .collection-overlay {
    background: linear-gradient(to top, rgba(45, 90, 74, 0.95), rgba(45, 90, 74, 0.5));
}

.collection-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.collection-description {
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.collections-footer {
    text-align: center;
    margin-top: 50px;
}

/* About Section */
.about {
    background-color: var(--color-beige);
}

.about-inner {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--color-gray);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    padding: 60px 0;
}

.newsletter h2 {
    color: var(--color-white);
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 0;
    font-size: 16px;
}

.newsletter-form button {
    background-color: var(--color-gold);
    color: var(--color-dark-green);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--color-gold-light);
}

/* Footer */
.footer {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    padding: 70px 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    color: var(--color-gold);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-widget p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

/* Mobile Menu */
.mobile-menu {
    display: none;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-dark-green);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu-container {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--color-white);
    z-index: 99;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-container {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    padding: 15px 0;
    font-size: 18px;
    color: var(--color-dark-green);
    border-bottom: 1px solid var(--color-light-gray);
}

.mobile-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-actions a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--color-dark-green);
}

.mobile-actions a i {
    font-size: 20px;
    color: var(--color-gold);
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 300px;
    background-color: var(--color-white);
}

.notification.active {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.error {
    border-left: 4px solid #dc3545;
}

.notification.info {
    border-left: 4px solid #17a2b8;
}

/* Responsywność */
@media (max-width: 991px) {
    .about-inner {
        flex-direction: column;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 10px;
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* Dodatkowe style dla wyświetlania błędów formularzy */
.form-group {
    margin-bottom: 1rem;
}

.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}