/* Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ffaa00;
    --accent-color: #ff8000;
    --dark-color: #000000;
    --light-color: #f9f9f9;
    --glass-color: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(46, 43, 43, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

p {
    line-height: 1.6;
    color: #666;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
    position: relative;
}

.section-title span {
    color: var(--secondary-color);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.1s ease;
}

.tile-animation {
    display: flex;
    gap: 15px;
}

.tile {
    width: 30px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform-origin: bottom center;
    animation: tileWave 1.5s infinite ease-in-out;
}

.tile:nth-child(2) {
    animation-delay: 0.2s;
}

.tile:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes tileWave {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.5);
    }
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.glass-nav.scrolled {
    padding: 15px 5%;
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: bold;
}

.logo-subtext {
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

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

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

.nav-links a:hover {
    color: var(--secondary-color);
}

.holographic-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, rgba(177, 149, 59, 0.8), rgba(39, 36, 29, 0.8));
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.holographic-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: 0.5s;
}

.holographic-btn:hover::before {
    left: 100%;
}

.holographic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.hero-content {
    flex: 1;
    padding: 0 5%;
    z-index:10;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--secondary-color);
    position: relative;
}
#rotating-text {
    display: inline-block;
    position: relative;
    color: #7a3535; /* Your gold color */
    transition: opacity 0.5s ease;
}

/* Optional: Add a subtle background highlight */

#rotating-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(151, 135, 77, 0.3);
    
}
.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(232, 180, 77, 0.3);
    
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 1000px;
}

.hero-tile-showcase {
    flex: 1;
    position: relative;
    height: 100%;
}

.tile-grid {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 80%;
    z-index: 9;
}
.tile-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
    /* Add this to your CSS */
@keyframes tileEntry {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
 /* // zoom effect on hover */

.tile-item {
    animation: tileEntry 0.8s ease-out forwards;
    animation-delay: calc(var(--index) * 0.1s);
}
.tile-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: var(--transition);

} 

.tile-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tile-item:hover::after {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--dark-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--dark-color);
    border-radius: 2px;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        top: 5px;
        opacity: 1;
    }
    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Products Section */
.products-section {
    background-color: white;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 5%;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    z-index: 1;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

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

.category-card:hover::before {
    height: 10px;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(58, 90, 120, 0.1), rgba(232, 180, 77, 0.1));
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.category-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.hover-tiles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.category-card:hover .hover-tiles {
    opacity: 0.2;
}

.category-card[data-category="floor"] .hover-tiles {
    background-image: url('https://images.unsplash.com/photo-1598546722078-b0700a3ade5f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.category-card[data-category="wall"] .hover-tiles {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.category-card[data-category="sanitary"] .hover-tiles {
    background-image: url('https://images.unsplash.com/photo-1600566752225-7bbf2dfe1cfe?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.category-card[data-category="outdoor"] .hover-tiles {
    background-image: url('https://images.unsplash.com/photo-1600210492493-0946911123ea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

/* Gallery Section */
.gallery-section {
    background-color: var(--light-color);
}

.gallery-container {
    display: flex;
    gap: 30px;
    padding: 0 5%;
}

.gallery-main {
    flex: 2;
}

.main-tile-display {
    position: relative;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-tile-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.tile-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.tile-info p {
    color: #eee;
    margin-bottom: 15px;
}

.tile-specs {
    display: flex;
    gap: 20px;
}

.tile-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.gallery-thumbnails {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    align-content: start;
    object-fit: cover;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    object-fit: cover;
}

.thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail:hover::after {
    opacity: 1;
}

.thumbnail.active {
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
}

.thumbnail.active::after {
    opacity: 0;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    background-color: white;
}

.about-content {
    flex: 1;
    padding: 0 5%;
}

.about-text {
    margin-bottom: 40px;
    max-width: 600px;
}

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

.about-image {
    flex: 1;
    position: relative;
    height: 500px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-tiles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
}

.tile-sample {
    position: absolute;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.tile-1 {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    background-image: url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
    animation: floatAnimation 6s infinite ease-in-out;
}

.tile-2 {
    width: 250px;
    height: 150px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-image: url('https://images.unsplash.com/photo-1600566752355-35792bedcfea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
    animation: floatAnimation 8s infinite ease-in-out 2s;
}

.tile-3 {
    width: 180px;
    height: 180px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
    animation: floatAnimation 7s infinite ease-in-out 1s;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Contact Section */
.contact-section {
    background-color: var(--light-color);
}

.contact-container {
    display: flex;
    gap: 50px;
    padding: 0 5%;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 90, 120, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #12120b;
    padding: 80px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-subtext {
    color: var(--secondary-color);
}

.footer-logo p {
    margin-top: 15px;
    color: #bbb;
}

.footer-links h3,
.footer-products h3,
.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-products h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul,
.footer-products ul {
    list-style: none;
}

.footer-links li,
.footer-products li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-products a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-products a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.newsletter input::placeholder {
    color: #bbb;
}

.newsletter .holographic-btn {
    padding: 12px 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .tile-grid {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        height: auto;
        padding-top: 120px;
        padding-bottom: 50px;
    }
    
    .hero-content {
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .tile-grid {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto;
    }
    
    .about-section {
        flex-direction: column;
    }
    
    .about-content {
        margin-bottom: 50px;
        text-align: center;
    }
    
    .about-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-container {
        flex-direction: column;
    }
    
    .main-tile-display {
        height: 400px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .product-categories {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
/* Add this at the end of your CSS file */
/* .loader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
} */

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 5%;
}

/* Navigation Styles */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

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

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

.nav-links a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Responsive Navigation */
@media (max-width: 992px) {
    .nav-container {
        gap: 15px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--light-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: all 0.5s ease;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }
    
    .nav-cta {
        order: 2;
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .glass-nav {
        padding: 15px 5%;
    }
    
    .holographic-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}