/* ============================================
   TANČIĆ COMPANY — Ultra Modern Website
   ============================================ */

/* === Stone Particles Canvas === */
#stoneParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* === CSS Variables === */
:root {
    --primary: #9b2222;
    --primary-dark: #6e1818;
    --primary-light: #c07171;
    --dark: #0a0a0a;
    --dark-2: #131313;
    --dark-3: #1c1c1c;
    --dark-4: #282828;
    --text: #e0e0e0;
    --text-muted: #999;
    --text-dark: #555;
    --white: #ffffff;
    --silver: #c0c0c0;
    --border: rgba(155, 34, 34, 0.2);
    --border-light: rgba(255, 255, 255, 0.07);
    --glass: rgba(20, 20, 20, 0.8);
    --glass-light: rgba(255, 255, 255, 0.03);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent { color: var(--primary); }

/* === Loader === */
.loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-stone {
    width: 40px;
    height: 40px;
    background: var(--primary);
    animation: loaderSpin 1.2s ease-in-out infinite;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg) scale(1); border-radius: 0; }
    50% { transform: rotate(180deg) scale(0.8); border-radius: 50%; }
    100% { transform: rotate(360deg) scale(1); border-radius: 0; }
}

.loader-inner span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 8px;
    color: var(--primary);
}

/* === Custom Cursor === */
.cursor, .cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.15s ease;
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--white);
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
}

@media (hover: none) {
    .cursor, .cursor-follower { display: none; }
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 5px 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 60px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-radius: 100px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active {
    background: rgba(155, 34, 34, 0.15);
    color: var(--primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--dark);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.25);
}

.hero-pattern {
    display: none;
} 
        linear-gradient(rgba(155, 34, 34, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155, 34, 34, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--white);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
}

.hero-line.accent {
    color: var(--primary);
    font-style: italic;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(155, 34, 34, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* Hero Stats */
.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
    padding: 32px 48px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    display: block;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: floatUp 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

@keyframes floatUp {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* === Sections === */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    padding: 0 24px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--primary);
}

.section-tag::before { left: -8px; }
.section-tag::after { right: -8px; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 16px auto 0;
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.about-image {
    position: relative;
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--dark);
    padding: 28px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(155, 34, 34, 0.1);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.feature h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* === Services Band === */
.services-band {
    padding: 80px 0;
    background: var(--dark-2);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.services-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-item {
    padding: 40px 28px;
    background: var(--dark-3);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-8px);
    border-color: var(--border);
    background: rgba(155, 34, 34, 0.05);
}

.service-icon {
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.service-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 12px;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === Atelje === */
.atelje-showcase {
    display: flex;
    justify-content: center;
}

.atelje-card {
    max-width: 600px;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--dark-2);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.atelje-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(155, 34, 34, 0.25);
    border-color: var(--primary);
}

.atelje-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.atelje-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.atelje-card:hover .atelje-image img {
    transform: scale(1.05);
}

.atelje-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.atelje-card:hover .atelje-overlay {
    opacity: 1;
}

.atelje-play {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.atelje-play svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    transition: var(--transition);
}

.atelje-card:hover .atelje-play svg {
    transform: scale(1.15);
    color: var(--primary);
}

.atelje-play span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.atelje-info {
    padding: 24px;
    text-align: center;
}

.atelje-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark);
    background: var(--primary);
    border-radius: 100px;
    font-weight: 600;
    margin-bottom: 12px;
}

.atelje-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.atelje-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === 3D Model Modal === */
.model-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.model-modal.active {
    opacity: 1;
    visibility: visible;
}

.model-modal-content {
    position: relative;
    width: 90vw;
    height: 80vh;
    max-width: 1200px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--dark-2);
    border: 1px solid var(--border);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.model-modal.active .model-modal-content {
    transform: scale(1);
}

.model-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 44px;
    height: 44px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.model-modal-close:hover {
    background: var(--primary);
    color: var(--dark);
}

.model-modal-body {
    width: 100%;
    height: 100%;
}

.model-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === Gallery === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* === Testimonials === */
.testimonials {
    background: var(--dark-2);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 36px;
    background: var(--dark-3);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: rgba(155, 34, 34, 0.15);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* === Contact === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--dark-2);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--border);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(155, 34, 34, 0.1);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-card h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    padding: 40px;
    background: var(--dark-2);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    background: var(--dark-3);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(155, 34, 34, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success svg {
    color: #4ade80;
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === CTA Section === */
.cta-section {
    padding: 100px 0;
    background: 
        radial-gradient(ellipse at center, rgba(155, 34, 34, 0.08) 0%, transparent 60%),
        var(--dark);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* === Footer === */
.footer {
    padding: 80px 0 0;
    background: var(--dark-2);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand .logo-img {
    height: 120px;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--dark-3);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.back-to-top {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(155, 34, 34, 0.3);
}

/* === Floating Phone Button === */
.floating-phone {
    position: fixed;
    bottom: 32px;
    left: 24px;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(155, 34, 34, 0.4),
                0 0 0 0 rgba(155, 34, 34, 0.4);
    transition: all 0.3s ease;
    animation: phonePulse 2s infinite;
    text-decoration: none;
}

.floating-phone:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(155, 34, 34, 0.5);
    background: var(--primary-dark);
    animation: none;
}

.floating-phone svg {
    flex-shrink: 0;
}

.floating-phone-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@keyframes phonePulse {
    0% { box-shadow: 0 8px 32px rgba(155, 34, 34, 0.4), 0 0 0 0 rgba(155, 34, 34, 0.4); }
    70% { box-shadow: 0 8px 32px rgba(155, 34, 34, 0.4), 0 0 0 12px rgba(155, 34, 34, 0); }
    100% { box-shadow: 0 8px 32px rgba(155, 34, 34, 0.4), 0 0 0 0 rgba(155, 34, 34, 0); }
}

@media (max-width: 768px) {
    .floating-phone {
        bottom: 20px;
        left: 16px;
        padding: 12px;
    }
    .floating-phone-text {
        display: none;
    }
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--primary);
    color: var(--dark);
}

.lightbox-content {
    max-width: 900px;
    max-height: 80vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: opacity 0.15s ease;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: 500;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* === Animations === */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-experience { right: 20px; bottom: -20px; }
    .services-scroll { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    
    .hamburger { display: flex; }
    
    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        left: 12px;
        right: 12px;
        background: rgba(18, 18, 18, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(155, 34, 34, 0.2);
        border-radius: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    padding 0.3s ease,
                    opacity 0.3s ease;
        opacity: 0;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5),
                    0 0 0 1px rgba(155, 34, 34, 0.08);
    }
    
    .nav-links.active {
        max-height: 400px;
        padding: 8px;
        opacity: 1;
    }
    
    .nav-links li {
        list-style: none;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 14px 20px;
        border-radius: 10px;
        text-align: left;
        border-bottom: none;
        color: var(--text-muted);
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .nav-link::before {
        content: '';
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--primary);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(155, 34, 34, 0.15);
        color: var(--white);
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        opacity: 1;
    }

    .nav-link.active {
        color: var(--primary);
        font-weight: 600;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
        padding: 28px;
    }
    
    .stat-divider { width: 40px; height: 1px; }
    
    .services-scroll { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .model-modal-content { width: 95vw; height: 70vh; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-item--wide { grid-column: span 2; }
    .gallery-item--tall { grid-row: span 2; }

    .lightbox-prev { left: 8px; width: 40px; height: 40px; }
    .lightbox-next { right: 8px; width: 40px; height: 40px; }
    .lightbox { padding: 20px; }
    
    .logo-img { height: 64px; }
    .navbar.scrolled .logo-img { height: 52px; }
    
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 24px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .section { padding: 80px 0; }
    .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 16px;
    }
    .gallery-grid::-webkit-scrollbar { height: 4px; }
    .gallery-grid::-webkit-scrollbar-track { background: var(--dark-3); border-radius: 4px; }
    .gallery-grid::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
    .gallery-item {
        flex: 0 0 280px;
        height: 360px;
        scroll-snap-align: start;
    }
    .gallery-item--wide { flex: 0 0 360px; }
    .gallery-item--tall { flex: 0 0 280px; height: 360px; }
    .gallery-item--wide,
    .gallery-item--tall {
        grid-column: auto;
        grid-row: auto;
    }
    .about-experience { position: static; margin-top: 16px; display: inline-flex; }
}

/* === Floating Stone Decorations === */
.floating-stones {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.floating-stones.visible {
    opacity: 1;
}

.floating-stone {
    position: absolute;
    opacity: 0.85;
    filter: drop-shadow(0 10px 30px rgba(155, 34, 34, 0.3));
    will-change: transform;
}

/* Top left stone */
.stone-1 {
    width: 900px;
    top: -310px;
    left: -350px;
    animation: stoneFloat1 8s ease-in-out infinite, stoneSway 12s ease-in-out infinite;
}

/* Right stone */
.stone-2 {
    width: 800px;
    top: 35%;
    right: -320px;
    animation: stoneFloat2 10s ease-in-out infinite 1s, stoneSwayReverse 14s ease-in-out infinite 2s;
}

/* Bottom left stone */
.stone-3 {
    width: 700px;
    bottom: -250px;
    left: -280px;
    animation: stoneFloat3 7s ease-in-out infinite 0.5s, stoneSway 10s ease-in-out infinite 1s;
}

@keyframes stoneFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes stoneFloat2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes stoneFloat3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes stoneSway {
    0%, 100% { rotate: -3deg; }
    50% { rotate: 3deg; }
}

@keyframes stoneSwayReverse {
    0%, 100% { rotate: 3deg; }
    50% { rotate: -3deg; }
}

@media (max-width: 768px) {
    .floating-stone { opacity: 0.8; }
    .stone-1 { width: 350px; left: -150px; top: -50px; }
    .stone-2 { width: 300px; right: -130px; }
    .stone-3 { width: 260px; left: -110px; bottom: -60px; }
}
