:root {
    /* Colors - Bright but Deep Palette */
    --bg-color: #F8F9FB;
    --text-main: #2D3748;
    --text-secondary: #718096;
    --primary-color: #0F2027;
    /* Deep Blue/Black */
    --primary-light: #2C5364;
    --accent-color: #D4AF37;
    /* Gold touch for exclusivity */
    --white: #FFFFFF;

    /* Shadows - The "Deep" part */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-depth: 20px 20px 60px #d1d9e6, -20px -20px 60px #ffffff;
    /* Neumorphic-ish depth */

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
    /* Offset for fixed navbar + breathing room */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Funnel Display', sans-serif;
    /* More display oriented font */
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Depth Elements */
.background-depth {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #E2E8F0;
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: #EDF2F7;
    bottom: -200px;
    left: -200px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.05);
    /* Gold hint */
    top: 40%;
    left: 60%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    /* Transparent at top */
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    /* More compact */
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px;
    width: auto;
    transition: all 0.3s ease;
    /* changed from transform to all for height transition */
}

.navbar.scrolled .logo-img {
    height: 80px;
    /* Shrink on scroll */
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    width: 50%;
    z-index: 2;
    padding-right: 50px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.hero h1 .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::before {
    content: 'Świebodzin';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: var(--primary-color);
    overflow: hidden;
    border-right: 2px solid var(--accent-color);
    transition: width 1s ease-in-out;
    animation: typeReveal 1.5s forwards 0.2s;
    /* Sped up from 2s to 1s, reduced delay */
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(15, 32, 39, 0.2);
    margin-right: 20px;
    border: 2px solid var(--primary-color);
    /* Ensure border compatibility */
}

.btn-primary::before {
    background: var(--primary-light);
    /* Fills with lighter shade */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(15, 32, 39, 0.3);
    border-color: var(--primary-light);
}

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

.btn-secondary::before {
    background: var(--primary-color);
    /* Fills with primary color */
}

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

.hero-visual {
    width: 50%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-visual {
    position: relative;
    width: 400px;
    height: 500px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero:hover .card-visual {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.card-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.layer-1 {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    transform: translateZ(-50px);
    top: 40px;
    left: 40px;
    z-index: 1;
}

.layer-2 {
    background: var(--primary-color);
    transform: translateZ(-20px);
    top: 20px;
    left: 20px;
    z-index: 2;
    opacity: 0.1;
}

.image-layer {
    background: url('assets/img/biuro.jpg') center/cover;
    z-index: 3;
    border: 8px solid var(--white);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section {
    padding: var(--section-padding);
}

/* About Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(212, 175, 55, 0.1);
    /* Subtle gold background */
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.icon-box svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
}

.icon-box::after {
    display: none;
    /* Remove previous decoration */
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Section */
.projects-wrapper {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 60px;
}

.project-card:nth-child(even) {
    flex-direction: row-reverse;
    /* Text left, Image right */
}

.project-image {
    flex: 1;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.02);
}

/* Premium Brand Section */
.premium-brand-section {
    background: linear-gradient(135deg, #0f2d1e 0%, #1a4231 100%);
    /* Deep Green Gradient */
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.premium-brand-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.premium-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.premium-content {
    flex: 1;
    padding-right: 80px;
}

.premium-label {
    display: inline-block;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.premium-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.1;
}

.premium-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-gold {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    background: #fff;
}

.premium-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.gold-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: rotateRing 20s linear infinite;
}

.gold-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-color);
}

.premium-image-box {
    width: auto;
    max-width: 300px;
    /* Reduced from 550px per user request */
    height: auto;
    background: transparent;
    border: none;
    border-radius: 10px;
    display: block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
    padding: 0;
    overflow: hidden;
    /* Ensure image border radius is respected */
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.premium-visual:hover .premium-image-box {
    transform: rotate(0deg) scale(1.02);
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Premium Section */
@media (max-width: 968px) {
    .premium-container {
        flex-direction: column;
        text-align: center;
    }

    .premium-content {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .premium-desc {
        margin: 0 auto 40px;
    }
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
}

.project-card:nth-child(1) .placeholder-img {
    background-image: url('assets/img/Osada.png');
}

.project-card:nth-child(2) .placeholder-img {
    background-image: url('assets/img/mockup_final.jpg');
}

.project-card:nth-child(3) .placeholder-img {
    background-image: url('assets/img/lubrza/lubrza_hero.JPG');
}

.project-card:nth-child(4) .placeholder-img {
    background-image: url('assets/img/ul-wiosenna-hero.jpg');
}

.project-card:nth-child(5) .placeholder-img {
    background-image: url('assets/img/zlota.platynowa/DJI_0506.webp');
}

.project-info {
    flex: 1;
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-location {
    display: inline-block;
    background: #EDF2F7;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-desc {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 450px;
}

.btn-text {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(0deg, #F8F9FB 0%, #FFFFFF 100%);
    padding-bottom: 50px;
}

.contact-wrapper {
    display: flex;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-info {
    flex: 1;
    padding: 60px;
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically center content to match form height */
}

.contact-info .section-title {
    color: var(--white);
    left: 0;
    transform: none;
    text-align: left;
    margin-bottom: 20px;
}

.contact-info .section-title::after {
    background: var(--white);
    margin: 15px 0 0;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-intro {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 80%;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    opacity: 0.6;
}

.contact-item p,
.contact-item a {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.contact-form-box {
    flex: 1.2;
    padding: 60px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #F8F9FB;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
.footer {
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    margin-left: 20px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes typeReveal {
    0% {
        width: 0;
        border-right-color: var(--accent-color);
    }

    90% {
        width: 100%;
        border-right-color: var(--accent-color);
    }

    100% {
        width: 100%;
        border-right-color: transparent;
        /* Hide cursor at end */
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.active {
    opacity: 1;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.fade-in-left.active,
.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive */
/* Responsive Design */

/* Extra Large Desktop - Fine tuning */
@media (max-width: 1440px) {
    :root {
        --container-width: 1140px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .premium-title {
        font-size: 3.2rem;
    }
}

/* Large Desktop */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
        --section-padding: 80px 0;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .premium-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .project-info h3 {
        font-size: 1.8rem;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    :root {
        --container-width: 90%;
        --section-padding: 70px 0;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .premium-title {
        font-size: 2.8rem;
    }

    .hero-text {
        padding-right: 30px;
    }

    .card-visual {
        width: 350px;
        height: 450px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    /* Hero CTA External - prevent overlap on tablets */
    .hero-cta-external {
        bottom: 20px !important;
        padding: 0 15px;
    }

    .hero-cta-external p {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }

    .hero-cta-external .btn {
        min-width: 220px !important;
    }

    /* Hero adjustments for tablet */
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    /* Premium section */
    .premium-title {
        font-size: 2.5rem;
    }

    .premium-desc {
        font-size: 1rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .feature-card {
        padding: 30px;
    }

    /* Projects */
    .projects-wrapper {
        gap: 70px;
    }

    .project-desc {
        font-size: 1rem;
    }
}

@media (max-width: 968px) {

    /* Navbar Mobile */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1002;
        /* Ensure above drawer */
    }

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

    .navbar.scrolled .mobile-toggle span {
        background-color: var(--primary-color);
    }

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

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.4rem;
        color: var(--primary-color);
    }

    /* Hero Section Mobile */
    .hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 100px;
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-text {
        width: 100%;
        padding-right: 0;
        margin-bottom: 50px;
        z-index: 5;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .hero h1 br {
        display: none;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-right: 0;
    }

    .hero-visual {
        width: 100%;
        height: 350px;
        display: flex;
        justify-content: center;
    }

    .card-visual {
        width: 300px;
        height: 380px;
    }

    /* Hero CTA External - convert to static flow */
    .hero-cta-external {
        position: static !important;
        transform: none !important;
        margin-top: 50px;
        margin-bottom: 0;
        padding: 0 20px;
    }

    .hero-cta-external p {
        font-size: 1.15rem !important;
        margin-bottom: 15px !important;
    }

    .hero-cta-external .btn {
        min-width: 250px !important;
    }

    /* Premium Brand Section Mobile */
    .premium-brand-section {
        padding: 80px 0;
    }

    .premium-container {
        flex-direction: column;
        text-align: center;
    }

    .premium-content {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .premium-title {
        font-size: 2.2rem;
    }

    .premium-desc {
        margin: 0 auto 40px;
        max-width: 100%;
    }

    .premium-visual {
        height: 350px;
        width: 100%;
    }

    .gold-ring {
        width: 280px;
        height: 280px;
    }

    .premium-image-box {
        max-width: 250px;
        transform: rotate(0deg);
    }

    /* Sections General */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    /* About Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 35px;
    }

    .stat-number {
        font-size: 3rem;
    }

    /* Projects Section */
    .projects-wrapper {
        gap: 50px;
    }

    .project-card,
    .project-card:nth-child(even) {
        flex-direction: column;
        gap: 25px;
    }

    .project-image {
        width: 100%;
        height: 250px;
    }

    .project-info {
        text-align: left;
    }

    .project-info h3 {
        font-size: 1.6rem;
    }

    .project-desc {
        max-width: 100%;
    }

    /* Contact Section */
    .contact-wrapper {
        flex-direction: column;
        border-radius: 20px;
    }

    .contact-info {
        padding: 40px 25px;
    }

    .contact-intro {
        max-width: 100%;
    }

    .contact-form-box {
        padding: 40px 25px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Footer */
    .footer {
        padding: 25px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-links a {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 11px 24px;
        font-size: 0.85rem;
    }

    .orb-1,
    .orb-2 {
        width: 200px;
        height: 200px;
    }

    .card-visual {
        width: 260px;
        height: 320px;
    }

    .premium-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Hero CTA External - small mobile */
    .hero-cta-external {
        margin-top: 40px;
        padding: 0 15px;
    }

    .hero-cta-external p {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .hero-cta-external .btn {
        min-width: auto !important;
        width: 100%;
        max-width: 280px;
        padding: 12px 20px !important;
        font-size: 0.85rem !important;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .project-info h3 {
        font-size: 1.4rem;
    }

    .contact-info,
    .contact-form-box {
        padding: 30px 20px;
    }

    /* Logo size on small mobile */
    .logo-img {
        height: 100px;
    }

    .navbar.scrolled .logo-img {
        height: 70px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .premium-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    /* Hero CTA External - extra small */
    .hero-cta-external p {
        font-size: 0.95rem !important;
    }

    .hero-cta-external .btn {
        padding: 11px 18px !important;
        font-size: 0.8rem !important;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-info,
    .contact-form-box {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    display: none;
    /* Hidden by default, shown by JS */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.cookie-banner.show {
    display: flex;
    animation: slideUp 0.5s ease forwards;
}

.cookie-banner p {
    font-size: 0.9rem;
    margin: 0;
    max-width: 800px;
}

.cookie-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-banner .btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Modern Project Subpage Styles */
.project-hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(15, 32, 39, 0.4), rgba(15, 32, 39, 0.6)), url('assets/img/Osada.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.project-hero-content {
    z-index: 2;
    max-width: 800px;
}

.project-title {
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-location-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.modern-section {
    padding: 100px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-visual {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.split-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.split-visual:hover img {
    transform: scale(1.05);
}

.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.modern-feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.modern-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modern-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 25px;
}

@media (max-width: 1024px) {
    .project-title {
        font-size: 4rem;
    }

    .split-layout {
        gap: 60px;
    }

    .split-visual {
        height: 450px;
    }

    .project-stats {
        gap: 30px;
    }

    .stat h4 {
        font-size: 1.8rem;
    }
}

@media (max-width: 968px) {
    .project-title {
        font-size: 3rem;
        text-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    }

    .project-hero {
        min-height: 500px;
        height: auto;
        padding: 100px 0 80px;
    }

    .project-location-badge {
        font-size: 1rem;
        padding: 8px 20px;
        margin-bottom: 30px;
    }

    .project-stats {
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }

    .stat h4 {
        font-size: 1.6rem;
    }

    .stat p {
        font-size: 0.85rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-visual {
        height: 350px;
    }

    .modern-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modern-feature-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .project-title {
        font-size: 2.5rem;
    }

    .project-hero {
        min-height: 400px;
        padding: 80px 0 60px;
    }

    .project-hero-content {
        padding-bottom: 80px !important;
    }

    .status-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
        margin-bottom: 15px;
    }

    .split-visual {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .project-location-badge {
        font-size: 0.85rem;
        padding: 6px 16px;
    }

    .project-stats {
        gap: 20px;
        padding-top: 20px;
    }

    .stat h4 {
        font-size: 1.4rem;
    }

    .stat p {
        font-size: 0.75rem;
    }

    .modern-feature-card {
        padding: 25px 20px;
    }

    .split-visual {
        height: 250px;
    }
}