/* Ultimate Luxury CSS for Tile Official Website */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --gold: #d4af37;
    --gold-light: #f1e5ac;
    --dark: #0a0a0a;
    --dark-grey: #1a1a1a;
    --medium-grey: #333333;
    --light-grey: #f9f9f9;
    --accent: #c5a059;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-slow: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-fast: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Shimmering Top Bar */
.top-bar {
    background: linear-gradient(90deg, #000, #1a1a1a, #000);
    color: var(--gold);
    padding: 12px 0;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--accent);
    z-index: 1001;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}

.marquee span {
    padding: 0 60px;
    position: relative;
}

.marquee span::after {
    content: '•';
    position: absolute;
    right: 25px;
    color: var(--accent);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Luxury Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-fast);
}

.container { width: 92%; max-width: 1600px; margin: auto; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.2rem; 
    text-decoration: none; 
    color: var(--dark); 
    letter-spacing: -1px;
}
.logo span { color: var(--accent); font-style: italic; }

nav ul { display: flex; list-style: none; }
nav li { margin-left: 45px; }
nav a { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 700; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    transition: var(--transition-fast);
    position: relative;
    padding-bottom: 5px;
}
nav a::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: var(--transition-fast);
}
nav a:hover::before, nav a.active::before { width: 100%; }
nav a:hover { color: var(--accent); }

/* Hero Section */
.hero-v3 {
    height: 95vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-v3::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
}

.hero-v3 .container { position: relative; z-index: 5; }
.hero-v3 h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 6rem; 
    line-height: 1; 
    margin-bottom: 30px; 
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.hero-v3 p { font-size: 1.4rem; max-width: 600px; margin-bottom: 40px; font-weight: 300; opacity: 0.9; }

/* Dynamic Sections */
.section { padding: 150px 0; position: relative; }
.section-grey { background-color: var(--light-grey); }
.section-dark { background-color: var(--dark); color: var(--white); }

.section-title-v3 { margin-bottom: 100px; }
.section-title-v3 h2 { font-family: 'Playfair Display', serif; font-size: 4rem; margin-bottom: 20px; }
.section-title-v3 .subtitle { 
    color: var(--accent); 
    text-transform: uppercase; 
    letter-spacing: 5px; 
    font-weight: 800; 
    font-size: 0.9rem; 
    display: block; 
    margin-bottom: 15px; 
}

/* Advanced Grid Layouts */
.grid-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 30px;
}

.mosaic-item { position: relative; overflow: hidden; border-radius: 2px; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.mosaic-item:hover img { transform: scale(1.1) rotate(1deg); }

.mosaic-item .overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white); transform: translateY(20px); opacity: 0; transition: var(--transition-slow);
}
.mosaic-item:hover .overlay { transform: translateY(0); opacity: 1; }

/* 3D Card Hover Effect */
.card-3d {
    perspective: 1000px;
}
.card-3d-inner {
    background: var(--white);
    padding: 60px;
    border: 1px solid #eee;
    transition: var(--transition-slow);
    transform-style: preserve-3d;
}
.card-3d:hover .card-3d-inner {
    transform: rotateY(10deg) rotateX(5deg);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
}

/* Feature List with Icons (Simulated with CSS) */
.feature-item { display: flex; margin-bottom: 40px; }
.feature-icon { 
    width: 60px; height: 60px; background: var(--accent); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-weight: 900;
    margin-right: 25px; flex-shrink: 0; font-size: 1.5rem;
}

/* Technical Table */
.tech-table { width: 100%; border-collapse: collapse; margin-top: 50px; }
.tech-table tr { border-bottom: 1px solid #eee; }
.tech-table td { padding: 30px 20px; font-size: 1.1rem; }
.tech-table td:first-child { font-weight: 800; color: var(--accent); width: 30%; }

/* Advanced Form (Glassmorphism) */
.form-v3 {
    background: var(--dark-grey);
    padding: 80px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.3);
}

.form-v3 input, .form-v3 textarea, .form-v3 select {
    width: 100%; background: transparent; border: none; border-bottom: 2px solid #333;
    padding: 20px 0; color: var(--white); font-size: 1.1rem; margin-bottom: 40px;
    transition: var(--transition-fast);
}

.form-v3 input:focus, .form-v3 textarea:focus {
    border-bottom-color: var(--accent); outline: none;
}

/* Buttons */
.btn-v3 {
    display: inline-block;
    padding: 22px 60px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    transition: var(--transition-slow);
    border: none; cursor: pointer;
    position: relative; overflow: hidden;
}

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

.btn-v3:hover::after { left: 100%; }
.btn-v3:hover { background: var(--dark); transform: translateY(-5px); }

/* Footer */
footer { background: var(--dark); color: #777; padding: 120px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 80px; margin-bottom: 80px; }
.footer-col h4 { color: var(--white); margin-bottom: 30px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { color: #777; text-decoration: none; transition: var(--transition-fast); }
.footer-col a:hover { color: var(--accent); }

/* Modal */
.modal-v3 {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); z-index: 2000; align-items: center; justify-content: center;
}
.modal-content-v3 {
    background: var(--white); padding: 80px; max-width: 600px; text-align: center;
    position: relative;
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1200px) {
    .hero-v3 h1 { font-size: 4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .grid-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
    .hero-v3 h1 { font-size: 3rem; }
    .nav-flex { flex-direction: column; }
    nav li { margin: 10px 15px; }
}
