/* Ceramic Tile Art Template - Main CSS */

/* Color Palette - Ceramic inspired colors */
:root {
  /* Primary Colors */
  --primary-terracotta: #d1741d;
  --primary-sage: #94a886;
  --primary-cream: #fffae9;
  --primary-slate: #6f8491;
  --primary-burgundy: #7a1719;
  
  /* Light Shades */
  --light-terracotta: #fa9e67;
  --light-sage: #b3d69d;
  --light-cream: #FEFCF7;
  --light-slate: #97adbd;
  --light-burgundy: #cb6f7c;
  
  /* Dark Shades */
  --dark-terracotta: #a43f11;
  --dark-sage: #789165;
  --dark-cream: #f3e3c4;
  --dark-slate: #364550;
  --dark-burgundy: #541928;
  
  /* Conservative Font Sizes */
  --navbar-brand-size: 1.5rem;
  --h1-size: 2rem;
  --h2-size: 1.75rem;
  --h3-size: 1.5rem;
  --p-size: 1rem;
  --small-size: 0.875rem;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--p-size);
  line-height: 1.6;
  color: var(--dark-slate);
  background-color: var(--primary-cream);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1 {
  font-size: var(--h1-size);
  font-weight: 700;
  margin-bottom: 1.23rem;
  color: var(--primary-terracotta);
}

h2 {
  font-size: var(--h2-size);
  font-weight: 600;
  margin-bottom: 0.92rem;
  color: var(--primary-slate);
}

h3 {
  font-size: var(--h3-size);
  font-weight: 500;
  margin-bottom: 0.61rem;
  color: var(--dark-slate);
}

p {
  font-size: var(--p-size);
  margin-bottom: 1.23rem;
  line-height: 1.6;
}

/* Conservative Navbar Brand */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 600;
  color: var(--primary-terracotta) !important;
}

/* Header Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--light-cream) 100%);
  border-bottom: 3px solid var(--primary-terracotta);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--primary-slate) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-terracotta) !important;
}

/* Hero Section */
.hero-section {
  padding-top: 50px;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--dark-sage) 100%);
  display: flex;
  align-items: center;
  padding: 2rem 0;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../MAY_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  padding-top: 100px !important;
  position: relative;
  z-index: 2;
  color: white;
}

/* Decorative Shapes */
.decorative-blob {
  position: absolute;
  background: var(--primary-terracotta);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 1;
}

.blob-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
}

.blob-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.23rem;
}

.service-item {
  background: linear-gradient(135deg, var(--light-cream) 0%, var(--primary-cream) 100%);
  border: 2px solid var(--primary-sage);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 30px rgba(0,0,0,0.1);
}

.service-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.23rem;
  object-fit: cover;
}

.service-price {
  font-size: 1.51rem;
  font-weight: 700;
  color: var(--primary-burgundy);
  margin-top: 1.24rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.23rem;
}

.team-member {
  background: var(--light-cream);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid var(--primary-sage);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1.23rem;
  object-fit: cover;
  border: 3px solid var(--primary-terracotta);
}

/* Testimonials Slider */
.testimonials-slider {
  background: linear-gradient(135deg, var(--primary-slate) 0%, var(--dark-slate) 100%);
  color: white;
  padding: 4rem 0;
  margin: 3rem 0;
}

.testimonial-item {
  text-align: center;
  padding: 2rem;
}

.testimonial-text {
  font-size: 1.20rem;
  font-style: italic;
  margin-bottom: 1.69rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--light-cream);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2.23rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* FAQ Section */
.faq-item {
  background: var(--light-cream);
  border: 1px solid var(--primary-sage);
  border-radius: 10px;
  margin-bottom: 1.23rem;
  overflow: hidden;
}

.faq-question {
  background: var(--primary-sage);
  color: white;
  padding: 1rem;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}

.faq-answer {
  padding: 1rem;
  background: var(--light-cream);
  display: none;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.23rem;
}

.blog-item {
  background: var(--light-cream);
  border: 2px solid var(--primary-sage);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-3px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, var(--light-cream) 0%, var(--primary-cream) 100%);
  border: 3px solid var(--primary-sage);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 2.23rem;
}

.form-control {
  border: 2px solid var(--primary-sage);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 1.23rem;
}

.form-control:focus {
  border-color: var(--primary-terracotta);
  box-shadow: 0 0 0 0.2rem rgba(214, 108, 4, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-terracotta) 0%, var(--dark-terracotta) 100%);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--dark-terracotta) 0%, var(--primary-terracotta) 100%);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-slate) 0%, var(--primary-slate) 100%);
  color: var(--light-cream);
  padding: 3rem 0 1rem;
  margin-top: 3.12rem;
}

.footer h5 {
  color: var(--primary-terracotta);
  margin-bottom: 1.23rem;
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-terracotta);
}

.footer-bottom {
  border-top: 1px solid var(--primary-sage);
  margin-top: 2.23rem;
  padding-top: 1.16rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

/* Utility Classes */
.text-terracotta { color: var(--primary-terracotta); }
.text-sage { color: var(--primary-sage); }
.text-burgundy { color: var(--primary-burgundy); }
.bg-cream { background-color: var(--primary-cream); }
.bg-light-cream { background-color: var(--light-cream); }

/* Additional Page Specific Styles */
.additional-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--primary-sage);
}

.additional-section:last-child {
  border-bottom: none;
}

.element-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.23rem;
}

.element-item {
  background: var(--light-cream);
  border: 1px solid var(--primary-sage);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--light-sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.04rem;
  color: var(--primary-terracotta);
}



/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
