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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.8;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #fafafa;
    letter-spacing: 0.02em;
    font-weight: 400;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}


.nav-link:hover {
    color: #8b7355;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -6px;
    left: 0;
    background-color: #8b7355;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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


.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 28px;
    height: 2px;
    background-color: #2d2d2d;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 40px 0 30px;
    position: relative;
    overflow: hidden;
}


.hero::before {
    display: none;
}

.hero-content {
    flex: 1;
    max-width: 50vw;
    margin-right: 2rem;
    padding-left: 40px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 3;
    max-width: 90%;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 3.5rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 480px;
    letter-spacing: 0.01em;
}


.hero-image {
    flex: 1;
    max-width: 50vw;
    width: 50vw;
    height: 60vh;
    position: relative;
    z-index: 2;
}

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

/* Desktop shows carousel; mobile shows single photo */
.desktop-only { display: block; }
.mobile-only  { display: none; }

/* Hero base */
.hero-slide { position: absolute; inset: 0; opacity: 0; z-index: 1; transition: opacity .8s ease; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img, .hero-mobile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Mobile layout */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only  { display: block !important; }

  /* Make the hero occupy the screen nicely on phones */
  .hero-image { width: 100vw; max-width: 100vw; height: 70vh; }
}


.hero-slide.kb img {
    animation: kenBurns 8s ease-in-out both;
}

/* Ken Burns Effect - smooth, subtle movement and zoom */
@keyframes kenBurns {
    0% {
        transform: scale(1.05) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.18) translate3d(-2%, -2%, 0);
    }
}

/* Alternative movement patterns for variety - much smoother */
.hero-slide:nth-child(2).kb img {
    animation: kenBurns2 8s ease-in-out both;
}

.hero-slide:nth-child(3).kb img {
    animation: kenBurns3 8s ease-in-out both;
}

.hero-slide:nth-child(4).kb img {
    animation: kenBurns4 8s ease-in-out both;
}

.hero-slide:nth-child(5).kb img {
    animation: kenBurns5 8s ease-in-out both;
}

.hero-slide:nth-child(6).kb img {
    animation: kenBurns6 8s ease-in-out both;
}

.hero-slide:nth-child(7).kb img {
    animation: kenBurns7 8s ease-in-out both;
}

.hero-slide:nth-child(8).kb img {
    animation: kenBurns8 8s ease-in-out both;
}

@keyframes kenBurns2 {
    0% { transform: scale(1.05) translate3d(-2%, -6%, 0); }
    100% { transform: scale(1.18) translate3d(-6%, -2%, 0); }
}

@keyframes kenBurns3 {
    0% { transform: scale(1.05) translate3d(-6%, -2%, 0); }
    100% { transform: scale(1.18) translate3d(-2%, -6%, 0); }
}

@keyframes kenBurns4 {
    0% { transform: scale(1.05) translate3d(-3%, -5%, 0); }
    100% { transform: scale(1.18) translate3d(-5%, -3%, 0); }
}

@keyframes kenBurns5 {
    0% { transform: scale(1.05) translate3d(-5%, -3%, 0); }
    100% { transform: scale(1.18) translate3d(-3%, -5%, 0); }
}

@keyframes kenBurns6 {
    0% { transform: scale(1.05) translate3d(-2%, -4%, 0); }
    100% { transform: scale(1.18) translate3d(-4%, -2%, 0); }
}

@keyframes kenBurns7 {
    0% { transform: scale(1.05) translate3d(-4%, -2%, 0); }
    100% { transform: scale(1.18) translate3d(-2%, -4%, 0); }
}

@keyframes kenBurns8 {
    0% { transform: scale(1.05) translate3d(-5%, -5%, 0); }
    100% { transform: scale(1.18) translate3d(-2%, -2%, 0); }
}

/* Carousel container removed - using single image */

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: transparent;
    z-index: 1;
    display: block;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    opacity: 1;
    border-radius: 0;
}

.carousel-slide img.loaded {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #d4a574;
    border-color: #d4a574;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-image:hover img {
    transform: scale(1.01);
}

/* Section Styles */
section {
    padding: 30px 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #8b7355;
}

/* Portfolio Section */
.portfolio {
    background: white;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.portfolio::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.portfolio .section-title {
    color: #1a1a1a;
}

.portfolio .section-title::after {
    background: #8b7355;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    border: 1px solid #8b7355;
    background: transparent;
    color: #8b7355;
    border-radius: 0;
    cursor: pointer;
    font-weight: 300;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filter-btn.active {
    color: white;
    border-color: #8b7355;
    background: #8b7355;
}

.filter-btn:hover {
    color: white;
    border-color: #8b7355;
    background: #8b7355;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    background: #2a2a2a;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(80%);
}

.portfolio-item:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Before and After Section */
.before-after {
    background: white;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.before-after-item {
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.after-image {
    clip-path: inset(0 50% 0 0);
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #8b7355;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #8b7355;
    border-radius: 50%;
    cursor: grab;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
    transition: transform 0.1s ease;
}

.slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(139, 115, 85, 0.4);
}

.slider-handle:active {
    cursor: grabbing;
}

.slider-button {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: relative;
}

.slider-button::before,
.slider-button::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 1px;
}

.slider-button::before {
    width: 2px;
    height: 8px;
    top: 2px;
    left: 5px;
}

.slider-button::after {
    width: 2px;
    height: 8px;
    top: 2px;
    right: 5px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
}

.about-image {
    display: flex;
    flex-direction: column;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #f8f8f8;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #d4a574;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat p {
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image:hover img {
    transform: scale(1.02);
}


/* Statistics Section */
.statistics {
    background: #f8f8f8;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-header {
    text-align: center;
    margin-bottom: 5rem;
}

.stats-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: #8b7355;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    position: relative;
}

.stats-subtitle::before,
.stats-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: #8b7355;
}

.stats-subtitle::before {
    left: -50px;
}

.stats-subtitle::after {
    right: -50px;
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    font-family: 'Playfair Display', serif;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-icon {
    margin-bottom: 1.5rem;
    color: #8b7355;
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 400;
}


/* Services Section */
.services {
    background: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.service-icon {
    margin-bottom: 2.5rem;
    color: #d4a574;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    animation: gentle-bounce 2s ease-in-out infinite;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Pricing Section */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 1rem 1rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.featured {
    transform: scale(1.03);
}


.pricing-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #d4a574;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #d4a574;
    font-family: 'Playfair Display', serif;
}

/* EUR price styling */
.eur-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #d4a574;
    font-family: 'Playfair Display', serif;
}

/* Price separator */
.price-separator {
    font-size: 1.4rem;
    font-weight: 400;
    color: #8b7355;
    margin: 0 0.3rem;
    font-family: 'Raleway', sans-serif;
}

/* BGN price styling - smaller and different color */
.bgn-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #8b7355;
    font-family: 'Raleway', sans-serif;
}


.currency-toggle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #8b7355;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-left: 0.5rem;
}

.currency-toggle:hover {
    color: #d4a574;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-button {
    display: block;
    background: #8b7355;
    color: white;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 80%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-button:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.2);
}

/* Contact Section */
.contact {
    background: white;
    color: #1a1a1a;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite;
}

.contact .section-title {
    color: #1a1a1a;
}

.contact .section-title::after {
    background: #8b7355;
}


.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Playfair Display', serif;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.contact-label {
    color: #d4a574;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #d4a574;
}

.contact-value {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
}

.contact-label {
    color: #8b7355;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.contact-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #8b7355;
}

/* Contact Form */
.contact-form {
    background: #f8f8f8;
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 0;
}

.form-row .form-group {
    margin-bottom: 0;
}

.dynamic-fields {
    margin: 1.5rem 0;
}

.service-fields {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
    font-family: 'Raleway', sans-serif;
}

.form-group select {
    width: 100%;
    padding: 1.2rem 3rem 1.2rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
    font-family: 'Raleway', sans-serif;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8b7355;
}

.form-group label {
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    color: #8b7355;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
    z-index: 1;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Required field asterisk styling */
.form-group input[required] + label::after,
.form-group select[required] + label::after,
.form-group textarea[required] + label::after {
    content: ' *';
    color: #e74c3c;
    font-weight: bold;
}

/* Labels are now always positioned above inputs */

.submit-button {
    width: 100%;
    background: #8b7355;
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.3);
    margin-top: 1rem;
}

.submit-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(139, 115, 85, 0.4);
}

/* Footer */
.footer {
    background: #f8f8f8;
    color: #333;
    padding: 2rem 0 1rem;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}



.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    font-weight: 400;
    position: relative;
    padding-left: 0;
}


.footer-links a:hover {
    color: #8b7355;
}

.separator {
    color: #999;
    font-size: 0.8rem;
    font-weight: 300;
}


.language-selector {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.current-flag {
    background: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    color: inherit;
    font-weight: inherit;
}

.current-flag:hover {
    transform: scale(1.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 1000;
    min-width: 60px;
}

.language-selector:hover .language-dropdown,
.language-dropdown:hover {
    display: flex;
}

.flag-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.8;
    width: 100%;
    text-align: center;
}

.flag-btn:hover {
    opacity: 1;
    background: #f8f8f8;
    transform: scale(1.05);
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #8b7355;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #8b7355;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #8b7355;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 50%;
}

.footer-social a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a svg {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 40px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 2rem;
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        display: block;
        visibility: visible;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        display: block;
        visibility: visible;
    }
    
    .hero-image {
        max-width: 100%;
        width: 100%;
        height: 50vh;
        margin-top: 0;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .hero-carousel {
        display: none !important;
    }
    
    .hero-mobile {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-logo h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: #fafafa;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 3rem 0;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-language {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
    }

    .nav-language select {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
        margin-top: 0;
    }
    
    /* Mobile language selector positioning */
    .nav-menu .language-selector {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
        gap: 1rem;
    }
    
    .nav-menu .current-flag {
        display: none;
    }
    
    .nav-menu .language-dropdown {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
    }
    
    .nav-menu .language-dropdown .flag-btn {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .nav-toggle {
        display: flex;
    }
    

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 60px 20px 40px;
        margin-top: 40px;
    }

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

    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .slider-container {
        max-width: 100%;
    }
    
    .slider-wrapper {
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stats-subtitle::before,
    .stats-subtitle::after {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Cookie banner responsive styles */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 50px 15px 20px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        padding: 0 5px;
    }


    .hero-image {
        height: 45vh;
        margin-top: 1rem;
    }

    .carousel-container {
        min-height: 45vh;
    }


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

    .service-card,
    .pricing-card,
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .portfolio-item {
        min-width: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    
    
    .carousel-dots {
        bottom: 1rem;
        gap: 0.6rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes gentle-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes subtle-pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error Messages */
.message {
    padding: 1.5rem;
    border-radius: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8b5a3c;
}

::-webkit-scrollbar-thumb:hover {
    background: #6d4429;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-accept {
    background: #8b7355;
    color: white;
}

.cookie-accept:hover {
    background: #d4a574;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.3);
}

.cookie-decline {
    background: transparent;
    color: #666;
    border: 1px solid #e0e0e0;
}

.cookie-decline:hover {
    background: #f5f5f5;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cookie-settings {
    background: transparent;
    color: #8b7355;
    border: 1px solid #8b7355;
}

.cookie-settings:hover {
    background: #8b7355;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.3);
}

/* Coming Soon Message Styles */
.coming-soon-message {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 2rem;
}

.coming-soon-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
    background: #fafafa;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.coming-soon-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.coming-soon-content h3 {
    font-size: 1.8rem;
    color: #2d2d2d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.coming-soon-content p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Success Modal Styles */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.success-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
}

.success-title {
    font-size: 1.8rem;
    color: #2d2d2d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-message {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-close {
    background: #2d2d2d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.success-close:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 0;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: block;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

.cookie-option span {
    font-weight: 500;
    color: #1a1a1a;
    display: block;
    margin-bottom: 0.3rem;
}

.cookie-option small {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cookie-modal-buttons .cookie-btn {
    flex: 1;
}

/* Cookie banner responsive styles moved to main 768px media query above */

/* ===== TABLET OPTIMIZATIONS ===== */
/* Tablet Portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        padding: 60px 0 40px;
        min-height: 70vh;
    }
    
    .hero-content {
        max-width: 50%;
        padding-right: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        max-width: 50%;
        height: 55vh;
    }
    
    /* Portfolio grid adjustments */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Pricing cards */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
    }
    
    /* Contact form */
    .contact-content {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Tablet Landscape (1024px - 1200px) */
@media (min-width: 1024px) and (max-width: 1200px) {
    .hero {
        padding: 80px 0 60px;
        min-height: 75vh;
    }
    
    .hero-content {
        max-width: 45%;
        padding-right: 3rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image {
        max-width: 55%;
        height: 60vh;
    }
    
    /* Portfolio grid */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    /* Pricing cards */
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1000px;
    }
}

/* Large Tablet/Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero {
        padding: 100px 0 80px;
        min-height: 70vh;
    }
    
    .hero-content {
        max-width: 40%;
        padding-right: 4rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
        line-height: 1.1;
        margin-bottom: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image {
        max-width: 60%;
        height: 65vh;
    }
    
    /* Portfolio grid */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 3rem;
    }
    
    /* Pricing cards */
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        max-width: 1200px;
    }
}

/* Specific fix for 1280x800 dimensions */
@media (min-width: 1200px) and (max-width: 1300px) {
    .hero-title {
        font-size: 2.8rem !important;
        line-height: 1.2;
    }
}

/* ===== HERO CAROUSEL TABLET OPTIMIZATIONS ===== */
@media (min-width: 768px) {
    .hero-carousel {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .hero-slide img {
        transition: transform 0.3s ease;
    }
    
    .hero-slide:hover img {
        transform: scale(1.02);
    }
}

/* ===== SMOOTH TRANSITIONS FOR ALL SCREENS ===== */
.hero-content,
.hero-image,
.portfolio-item,
.pricing-card {
    transition: all 0.3s ease;
}

/* ===== IMPROVED TYPOGRAPHY SCALING ===== */
@media (min-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
}

@media (min-width: 1200px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* ===== ADVANCED RESPONSIVE RULES ===== */
/* Ultra-wide screens (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero {
        padding: 120px 0 100px;
        min-height: 65vh;
    }
    
    .hero-content {
        max-width: 35%;
        padding-right: 5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.05;
        margin-bottom: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    
    .hero-image {
        max-width: 65%;
        height: 70vh;
    }
    
    .section-title {
        font-size: 2.6rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 3.5rem;
    }
}

/* Small desktop/large tablet (1024px - 1200px) - Fine-tuned */
@media (min-width: 1024px) and (max-width: 1200px) {
    .hero-content {
        padding-right: 2.5rem;
    }
    
    .hero-title {
        font-size: 3.8rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.35rem;
        line-height: 1.5;
    }
    
    .hero-image {
        height: 72vh;
    }
}

/* Medium tablet (768px - 900px) - Fine-tuned */
@media (min-width: 768px) and (max-width: 900px) {
    .hero {
        padding: 90px 0 70px;
        min-height: 95vh;
    }
    
    .hero-content {
        max-width: 48%;
        padding-right: 1.5rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.6;
    }
    
    .hero-image {
        max-width: 52%;
        height: 65vh;
    }
}

/* ===== MICRO-INTERACTIONS & HOVER EFFECTS ===== */
/* Button hover effects */
.btn, .submit-button, .filter-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn::before, .submit-button::before, .filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before, .submit-button:hover::before, .filter-btn:hover::before {
    left: 100%;
}

.btn:hover, .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Portfolio item hover effects */
.portfolio-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item img {
    transition: transform 0.4s ease;
}

/* Pricing card hover effects */
.pricing-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 115, 85, 0.1), transparent);
    transition: left 0.6s;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(139, 115, 85, 0.2);
}

.pricing-card.featured:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 30px 60px rgba(139, 115, 85, 0.3);
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Hardware acceleration for smooth animations */
.hero-slide, .hero-slide img, .portfolio-item, .pricing-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimize image loading */
img {
    loading: lazy;
    decoding: async;
}

img[loading="eager"] {
    loading: eager;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
/* Focus states for keyboard navigation */
.btn:focus, .submit-button:focus, .filter-btn:focus {
    outline: 3px solid rgba(139, 115, 85, 0.5);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-slide.kb img {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }
    
    .btn, .submit-button {
        border: 2px solid currentColor;
    }
}

/* ===== LOADING STATES ===== */
/* Skeleton loading for images */
.hero-slide img, .portfolio-item img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hero-slide img[src], .portfolio-item img[src] {
    background: none;
    animation: none;
}

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8b7355;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b5a42;
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-image {
        display: none;
    }
    
    .btn, .submit-button {
        display: none;
    }
    
    * {
        color: #000 !important;
        background: #fff !important;
    }
}