/* Custom CSS Overrides */

/* Global Font - Neuton with Letter Spacing */
body,
p,
span,
div,
h1, h2, h3, h4, h5, h6,
a,
li,
td,
th,
label,
input,
textarea,
button,
.footer *,
.dsn-slider *,
.intro-about *,
.brand-client *,
.client-see *,
.contact-up * {
    font-family: 'Neuton', serif !important;
    letter-spacing: 0.08em !important;
    color: #fff6e9 !important;
}

/* Preloader - Exclude from global styles and restore original */
.preloader,
.preloader * {
    font-family: inherit !important;
    letter-spacing: inherit !important;
    color: inherit !important;
}

.preloader .preloader-block .percent {
    font-size: 24vw !important;
    font-weight: 700 !important;
    letter-spacing: 8px !important;
    color: rgba(54, 54, 53, 0.1) !important;
    font-family: inherit !important;
}

/* Ensure icons keep their font */
i, .fa, .fab, .fas, .far, .fal {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
    letter-spacing: 0 !important;
}

/* Hide cursor circle */
.cursor {
    display: none !important;
}

/* Hide hamburger menu navigation */
.dsn-nav-bar {
    display: none !important;
}

/* Ensure hamburger menu class doesn't affect layout */
body.hamburger-menu {
    /* Reset any hamburger menu specific styles if needed */
    /* Empty ruleset intentionally left for future overrides */
}

/* Custom Logo Header */
.custom-logo-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    padding: 22px 50px;
    pointer-events: auto;
}

.custom-logo-header .logo-container {
    position: relative;
    display: table;
}

.custom-logo-header .logo-container img {
    width: 100px;
    height: auto;
}

/* Slide Content Overlay */
.dsn-slider .slide-item .slide-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 50% !important;
    height: 100% !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 50px !important;
    background: transparent !important;
    transform: none !important;
    pointer-events: auto !important;
}

/* Desktop: Blagi tamni overlay samo iza teksta */
.dsn-slider .slide-item .slide-content .slide-content-inner {
    position: relative;
}

.dsn-slider .slide-item .slide-content .slide-content-inner::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -40px;
    right: -40px;
    bottom: -30px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    z-index: -1;
    pointer-events: none;
}

.dsn-slider .slide-item .slide-content .slide-content-inner {
    max-width: 600px;
    width: 100%;
    padding-left: 0 !important;
}

.dsn-slider .main-title {
    font-family: 'Neuton', serif;
    font-size: 78px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff6e9;
    margin: 0 0 35px 0;
    text-transform: none;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dsn-slider .main-description {
    font-family: 'Neuton', serif;
    font-size: 26px;
    line-height: 1.7;
    color: #fff6e9;
    margin: 0 0 45px 0;
    opacity: 0.95;
    max-width: 500px;
    letter-spacing: 0.08em;
}

.dsn-slider-content .slide-content .slide-content-inner p {
    max-width: 470px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 18px;
    line-height: 24px;
    margin-top: 30px;
}

/* Custom Buttons - using original link-custom styles */
.custom-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 0;
}

.custom-buttons .link-custom {
    margin-top: 0;
}

.custom-buttons .link-custom a {
    transition: all 0.3s ease;
    color: #fff6e9 !important;
}

.custom-buttons .link-custom:hover a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff6e9 !important;
}

.custom-buttons .link-custom span {
    font-size: 18px !important;
    letter-spacing: 0.08em !important;
    transition: all 0.3s ease;
    color: #fff6e9 !important;
}

.custom-buttons .link-custom:hover span {
    transform: translateX(5px);
}

/* Intro About Section - Improved Text Styling */
.intro-about .intro-content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding: 60px 0;
}

.intro-about .intro-content-text .main-question {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 30px 0;
    font-family: 'Neuton', serif;
    color: #fff6e9;
    max-width: 90%;
    letter-spacing: 0.08em;
}

.main-question2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 30px 0;
    font-family: 'Neuton', serif;
    color: #fff6e9;
    max-width: 90%;
    letter-spacing: 0.08em;
}

.intro-about .intro-content-text .procjenite-sami {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Neuton', serif;
    color: #fff6e9;
    opacity: 0.9;
    position: relative;
}

/* Sakrij točku */
.intro-about .intro-content-text .procjenite-sami:before {
    display: none !important;
}

/* Video Container - Adjusted to show full video */
.intro-about .video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.intro-about .video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
}

/* Adjust video container for mobile */
@media only screen and (max-width: 767px) {
    .intro-about .intro-content-text {
        margin-bottom: 20px !important;
        padding-bottom: 0 !important;
    }
    
    .intro-about .intro-content-text .procjenite-sami {
        margin-bottom: 15px !important;
    }
    
    .intro-about .background-mask {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .intro-about .video-container {
        width: 90% !important;
        height: auto !important;
        min-height: 200px !important;
        max-height: 50vh !important;
        position: relative;
        margin: 0 auto;
    }
    
    .intro-about .video-container video {
        width: 100% !important;
        height: auto !important;
        max-height: 50vh !important;
    }
    
    .intro-about .img-box {
        padding: 0 !important;
        margin-top: 0 !important;
    }
    
    .intro-about .img-box .img-cent {
        margin: 0 auto !important;
        height: auto !important;
        min-height: auto !important;
    }
}

/* Hide info boxes and links in logo-box */
.brand-client .logo-box .info {
    display: none !important;
}

/* Contact Form Styling */
.contact-up .form-box {
    max-width: 800px;
    margin: 0 auto;
}

.contact-up .form-box h3 {
    font-family: 'Neuton', serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff6e9;
    margin-bottom: 40px;
    text-align: center;
}

.contact-up .form-box .entry {
    position: relative;
    border-bottom: 1px solid rgba(112, 112, 112, 0.3);
    padding-bottom: 15px;
    margin-bottom: 30px;
    transition: border-color 0.4s cubic-bezier(0.28, 0.38, 0, 0.81);
}

.contact-up .form-box .entry::before {
    content: "";
    position: absolute;
    height: 1px;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: rgba(112, 112, 112, 0.3);
    transform-origin: 100% 50%;
    transition: transform 0.4s cubic-bezier(0.28, 0.38, 0, 0.81);
}

.contact-up .form-box .entry::after {
    content: "";
    position: absolute;
    height: 1px;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.4s cubic-bezier(0.28, 0.38, 0, 0.81) 0.2s;
}

.contact-up .form-box .entry:hover::before {
    transform: scaleX(0);
}

.contact-up .form-box .entry:hover::after {
    transform: scaleX(1);
}

.contact-up .form-box .entry:focus-within::before {
    transform: scaleX(0);
}

.contact-up .form-box .entry:focus-within::after {
    transform: scaleX(1);
}

.contact-up .form-box label {
    font-family: 'Neuton', serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff6e9;
    margin-bottom: 12px;
    display: block;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.contact-up .form-box .entry:hover label,
.contact-up .form-box .entry:focus-within label {
    color: #fff6e9;
    opacity: 1;
}

.contact-up .form-box input,
.contact-up .form-box textarea {
    font-family: 'Neuton', serif;
    font-size: 18px;
    color: #fff6e9;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 0;
    transition: color 0.3s ease;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.contact-up .form-box .entry:hover input,
.contact-up .form-box .entry:hover textarea,
.contact-up .form-box .entry:focus-within input,
.contact-up .form-box .entry:focus-within textarea {
    color: #fff6e9;
    opacity: 1;
}

.contact-up .form-box textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-up .form-box .button {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    background-color: #090909;
    color: #fff6e9;
    font-size: 16px !important;
    padding: 20px 41px !important;
    letter-spacing: 0.08em !important;
}

.contact-up .form-box .button:hover {
    background-color: #1a1a1a;
}

.contact-up .form-box .button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert Messages Styling */
.contact-up .form-box .messages {
    margin-bottom: 20px;
}

.contact-up .form-box .messages .alert {
    padding: 15px 20px;
    border-radius: 4px;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    animation: slideDown 0.3s ease-out;
}

.contact-up .form-box .messages .alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border-left: 3px solid #28a745;
}

.contact-up .form-box .messages .alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-left: 3px solid #dc3545;
}

.contact-up .form-box .messages .alert .close {
    color: inherit;
    opacity: 0.7;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    margin-left: 15px;
}

.contact-up .form-box .messages .alert .close:hover {
    opacity: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Customization */
.footer .footer-links {
    position: relative;
}

.footer .footer-links .row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.footer .footer-block {
    display: flex;
    flex-direction: column;
}

.footer .footer-logo {
    margin-bottom: 20px;
}

.footer .footer-logo img {
    max-width: 150px;
    height: auto;
    display: block;
    opacity: 0.15;
    filter: brightness(1.2);
    transition: opacity 0.3s ease;
}

.footer .footer-logo:hover img {
    opacity: 0.25;
}

/* Desktop logo styling */
@media only screen and (min-width: 768px) {
    .footer .footer-logo {
        display: block;
    }
    
    .footer .footer-logo img {
        max-width: 180px;
        opacity: 1;
        filter: brightness(1);
    }
}

/* Background Logo for Mobile */
.footer-bg-logo {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.08;
}

.footer-bg-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media only screen and (max-width: 767px) {
    .footer-bg-logo {
        display: block;
    }
    
    .footer .footer-logo {
        display: none;
    }
}

.footer .footer-block.col-contact {
    text-align: left;
    align-items: flex-start;
}

.footer .footer-block.col-contact .footer-title {
    margin-bottom: 20px;
    font-size: 20px !important;
    letter-spacing: 0.08em !important;
    color: #fff6e9 !important;
}

.footer .footer-block.col-contact p {
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.8;
    display: flex;
    align-items: baseline;
    color: #fff6e9;
}

.footer .footer-block.col-contact p a {
    font-size: 17px !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .footer-block.col-contact p a:hover {
    color: #fff6e9 !important;
    transform: translateX(3px);
}

.footer .footer-block.col-contact p strong {
    min-width: 20px;
    display: inline-block;
}

.footer .footer-block.col-contact p span {
    margin: 0 8px;
}

.footer .footer-block.col-contact a {
    color: #fff6e9;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.footer .footer-block.col-contact a:hover {
    color: #fff6e9;
    opacity: 1;
}

/* Footer Social Icons */
.footer .footer-social {
    margin-top: 20px;
}

.footer .footer-social ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 15px;
}

.footer .footer-social ul li {
    margin: 0;
}

.footer .footer-social ul li a {
    color: #fff6e9;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 246, 233, 0.3);
    background-color: rgba(255, 246, 233, 0.1);
    opacity: 0.8;
}

.footer .footer-social ul li a i,
.footer .footer-social ul li a svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    font-size: 18px;
}

.footer .footer-social ul li a svg {
    width: 18px;
    height: 18px;
}

.footer .footer-social ul li a:hover {
    color: #fff6e9;
    opacity: 1;
    background-color: rgba(255, 246, 233, 0.2);
    border-color: rgba(255, 246, 233, 0.5);
    transform: translateY(-3px);
}

@media only screen and (max-width: 991px) {
    .footer .footer-links .row {
        flex-direction: column;
    }
    
    .footer .footer-block.col-contact {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 767px) {
    .footer .footer-block.col-contact {
        margin-top: 30px;
    }
    
    .footer .footer-logo img {
        max-width: 100px;
    }
}

/* Footer Copyright Text */
.footer .copyright p,
.footer .copyright .copright-text,
.footer .copyright a {
    font-size: 14px !important;
    letter-spacing: 0.08em !important;
    color: #fff6e9 !important;
}

/* All links and buttons on the page */
a, .link-hover, .link-custom a, .link-custom span {
    color: #fff6e9 !important;
}

/* Section titles */
.title-sub, .title-main, .one-title, h1, h2, h3, h4, h5, h6 {
    color: #fff6e9 !important;
}

@media only screen and (max-width: 767px) {
    .contact-up .form-box {
        padding: 20px;
    }
    
    .contact-up .form-box h3 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .contact-up .form-box .entry {
        margin-bottom: 25px;
    }
    
    .contact-up .form-box label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .contact-up .form-box input,
    .contact-up .form-box textarea {
        font-size: 16px;
    }
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
    .section-margin {
        margin-bottom: 0 !important;
    }
    
    /* Mobile: Tamni gradient iza teksta, pokriva gornjih 40-45% ekrana */
    .dsn-slider .slide-item .slide-content {
        width: 100% !important;
        padding: 15vh 30px 0 30px !important;
        align-items: flex-start !important;
    }
    
    .dsn-slider .slide-item .slide-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 42.5%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%);
        z-index: -1;
        pointer-events: none;
    }
    
    /* Ukloni desktop overlay na mobitelu */
    .dsn-slider .slide-item .slide-content .slide-content-inner::before {
        display: none;
    }
    
    .dsn-slider .main-title {
        font-size: 42px;
        margin-bottom: 25px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    }
    
    .dsn-slider .main-description {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    /* Poravnaj gumbove lijevo s tekstom */
    .custom-buttons {
        justify-content: flex-start;
        width: 100%;
    }
    
    .custom-buttons .link-custom {
        font-size: 16px !important;
        padding: 16px 30px !important;
    }
    
    .custom-buttons .link-custom span {
        font-size: 16px !important;
    }
    
    .custom-logo-header {
        padding: 20px 30px;
    }
    
    .intro-about .intro-content-text .main-question .question-text {
        font-size: 32px;
    }
    
    .intro-about .intro-content-text .main-question .answer-text {
        font-size: 28px;
    }
}

@media only screen and (max-width: 767px) {
    .dsn-slider .main-title {
        font-size: 38px;
        margin-bottom: 20px;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
    }
    
    .dsn-slider .main-description {
        font-size: 17px;
        margin-bottom: 25px;
    }
    
    .custom-btn {
        padding: 12px 24px;
        font-size: 12px;
    }
    
    .custom-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        width: 100%;
    }
    
    /* Još jači kontrast na manjim ekranima */
    .dsn-slider .slide-item .slide-content::before {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0) 100%);
    }
    
    .intro-about .intro-content-text {
        padding: 0 !important;
    }
    
    .intro-about .intro-content-text .main-question .question-text {
        font-size: 28px;
    }
    
    .intro-about .intro-content-text .main-question .answer-text {
        font-size: 24px;
    }
}

