/* ========================================
   Ceramica Tiles - Modern Styles
   ======================================== */

/* Root Variables */
:root {
    --primary-color: #2c5f7c;
    --secondary-color: #d4a574;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --gray-color: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 35px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* COVID Notice Banner */
.covid-notice {
    background: linear-gradient(135deg, #2c5f7c 0%, #1a4a5f 100%);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.covid-notice p {
    margin: 0;
}

/* Header & Navigation */
.header-main {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand .brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 1.2rem !important;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-inner {
    height: 600px;
}

.hero-carousel .carousel-item {
    height: 600px;
    position: relative;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
}

.carousel-caption-custom h1 {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.carousel-caption-custom .lead {
    font-size: 1.3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

.carousel-caption-custom .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

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

/* Buttons */
.btn {
    padding: 12px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a5f 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(44, 95, 124, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a4a5f 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 124, 0.4);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title h2 {
    position: relative;
    margin-bottom: 1rem;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Features Section */
.features-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-color) 100%);
}

.feature-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.feature-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content .lead {
    color: var(--gray-color);
    font-weight: 400;
}

.about-feature {
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
    height: 100%;
}

.about-feature:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #1a4a5f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.about-feature:hover .icon-box {
    transform: rotate(360deg);
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--white);
}

.about-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.about-feature p {
    margin: 0;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a5f 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section h2,
.cta-section .lead {
    position: relative;
    z-index: 1;
}

/* Accreditations Section */
.accreditations-section {
    background: var(--light-color);
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.accreditation-logo {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition);
    opacity: 0.7;
}

.accreditation-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Showrooms Section */
.showrooms-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-color) 100%);
}

.showroom-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.showroom-card:hover::before {
    transform: scaleX(1);
}

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

.showroom-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #1a4a5f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.showroom-card:hover .showroom-icon {
    transform: scale(1.1) rotate(10deg);
}

.showroom-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.showroom-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.showroom-card p {
    margin: 0;
    color: var(--gray-color);
    font-size: 1rem;
}

/* Footer */
.footer-main {
    background: var(--dark-color);
    color: var(--light-color);
}

.footer-main h5 {
    color: var(--white);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-main h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-color);
    transition: var(--transition);
}

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

.footer-main hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: 500px;
    }

    .carousel-caption-custom h1 {
        font-size: 2.5rem;
    }

    .feature-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: 400px;
    }

    .carousel-caption-custom h1 {
        font-size: 2rem;
    }

    .carousel-caption-custom .lead {
        font-size: 1.1rem;
    }

    .navbar-brand .brand-name {
        font-size: 1.5rem;
    }

    .feature-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: 300px;
    }

    .carousel-caption-custom h1 {
        font-size: 1.5rem;
    }

    .carousel-caption-custom .lead {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}



/* ========================================
   News Page - Full Articles Styles
   ======================================== */

/* News Article Full */
.news-article-full {
    padding: 3rem 0;
}

.article-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 350px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-article-full:hover .article-image img {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color), #c89860);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.article-content {
    height: 100%;
}

.article-meta {
    margin-bottom: 1.5rem;
}

.article-date {
    color: var(--gray-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.article-date i {
    color: var(--secondary-color);
}

.article-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.article-text {
    color: var(--text-color);
    line-height: 1.8;
}

.article-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.article-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-text ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-text ul li {
    margin-bottom: 0.8rem;
    color: var(--gray-color);
}

.article-divider {
    border: none;
    border-top: 2px solid var(--light-color);
    margin: 3rem 0;
    opacity: 0.5;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a5f 100%);
    color: var(--white);
}

.newsletter-section h3 {
    color: var(--white);
    font-size: 2rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.85rem 2rem;
    background: var(--secondary-color);
    border: none;
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: #b88550;
    transform: none;
}

/* Responsive Design for Full Articles */
@media (max-width: 992px) {
    .article-image {
        min-height: 300px;
        margin-bottom: 2rem;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .news-article-full {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .article-image {
        min-height: 250px;
    }
    
    .article-title {
        font-size: 1.4rem;
    }
    
    .article-text p {
        font-size: 0.95rem;
    }
    
    .article-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}



/* ========================================
   Gallery Page Styles
   ======================================== */

/* Gallery Hero */
.gallery-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.gallery-hero h1 {
    color: var(--primary-color);
}

/* Filter Section */
.filter-section {
    background: var(--white);
    border-bottom: 2px solid var(--light-color);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: var(--light-color);
    color: var(--text-color);
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 95, 124, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #1a4a5f);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(44, 95, 124, 0.4);
}

/* Gallery Grid */
.gallery-grid-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-color) 100%);
}

.category-section {
    animation: fadeInUp 0.6s ease;
}

.category-header {
    margin-bottom: 2rem;
}

.category-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.category-description {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Gallery Card */
.gallery-item {
    transition: var(--transition);
}

.gallery-item.hide {
    display: none;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    cursor: pointer;
    height: 300px;
    transition: var(--transition);
}

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

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.15);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 95, 124, 0.9) 0%, rgba(26, 74, 95, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.gallery-overlay-content p {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Gallery CTA */
.gallery-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a5f 100%);
    position: relative;
    overflow: hidden;
}

.gallery-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.gallery-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.gallery-cta h2,
.gallery-cta .lead {
    position: relative;
    z-index: 1;
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.lb-data .lb-number {
    color: rgba(255, 255, 255, 0.8);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .filter-section {
        top: 70px;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .gallery-card {
        height: 250px;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .filter-section {
        top: 60px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .gallery-card {
        height: 220px;
    }
    
    .gallery-overlay-content i {
        font-size: 2.5rem;
    }
    
    .gallery-overlay-content p {
        font-size: 0.95rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .gallery-card {
        height: 200px;
    }
    
    .filter-btn i {
        display: none;
    }
}
