/* Main body styling */
body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #2e2e2e;
  background-color: #fff; /* subtle ivory for warm feel */
  letter-spacing: 0.02em; /* slight spacing for legibility */
  -webkit-font-smoothing: antialiased; /* better rendering on macOS */
  -moz-osx-font-smoothing: grayscale; /* smoother fonts on Firefox/Mac */
}

/* Paragraph specifics */
p {
  margin-bottom: 1.2rem;
}

/* Link styles for readability and elegance */
a {
  color: #7ca292; /* River Green, harmonious accent */
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

a:hover {
  color: #c5a253; /* Brâncuși Gold on hover for elegance */
  
}

.container {
  max-width: 1450px;
  margin: 0 auto; /* Center the container */
  padding: 0 15px; /* Add some padding for spacing */
}

/* Headings with Playfair Display for contrast */
/* Headings */
h1, h2, h3, h4 {
  
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  body {
      font-size: 1rem; /* 16px on smaller screens for optimal readability */
  }
}
.btn-primary {
  background-color: #e32419;        /* Custom accent color */
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 127, 127, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #005f5f;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 127, 127, 0.3);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 3px 10px rgba(0, 127, 127, 0.25) inset;
}

.btn-outline-primary {
  color: #e32419;
  border: 2px solid #e32419;
  background-color: transparent;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.25s ease-in-out;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #e32419;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 127, 127, 0.15);
}

.btn-outline-primary:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 127, 127, 0.2) inset;
}


/* Accent Button - Primary Color (Teal) */
.btn-accent {
  background-color: #e32419;
  background: linear-gradient(135deg, #e32419, #e32419);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 12px rgba(0, 109, 119, 0.2);
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: #00525f;
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

/* Optional: Secondary variation with outline */
.btn-accent-outline {
  background: transparent;
  border: 2px solid #e32419;
  color: #e32419;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 50px;
}

.btn-accent-outline:hover {
  background-color: #e32419;
  color: #ffffff;
}


.main-header .navbar {
  font-family: 'Montserrat', sans-serif;
}

.main-header .navbar .navbar-brand {
  font-size: 1.5rem;
  color: #2e2e2e;
  display:block;
}
.main-header .navbar .navbar-brand .logo {
  width:170px;
  height:auto;
  margin-right: 10px;
}


.main-header .navbar .navbar-nav .nav-item{

}
.main-header .navbar .navbar-nav .nav-link {
  font-weight: 600;
  color: #2e2e2e;
  transition: color 0.3s ease;
  font-size:0.90rem;
  padding: 0.5rem 1rem; /* Add padding for better touch targets */
}

.main-header .navbar .navbar-nav .nav-link:hover {
  color: #e32419;
}

.main-header .navbar .navbar-nav .dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: none;
}

.main-header .navbar .navbar-nav .dropdown-menu .dropdown-item {
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.main-header .navbar .navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #e32419;
  color: #ffffff;
}

.header-search-bar {
  background: #f5f7f9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1rem 0;
  border-top: 1px solid #ddd;
}

/* Wrapper looks like the input */
.search-wrapper {
  background: #fff;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Field with no border */
.search-field {
  border: none;
  box-shadow: none;
  font-size: 1.1rem;
  padding-left: 0;
  background: transparent;
}

/* Focus style (optional) */
.search-field:focus {
  outline: none;
  box-shadow: none;
}

/* Button style */
.search-wrapper .btn {
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
}


/* Hero Split */

.hero-single{
  background:url('../img/screens/banner-1.webp') no-repeat center center/cover;
  height: 600px;
  position: relative;

}
.hero-single .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* darker = more readable */
  z-index: 1;
}
.hero-single .container {
  position: relative;
  z-index: 2;
}
.hero-single .hero-heading{
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-single .hero-tagline{
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}


.hero-split{
  margin-bottom:4rem;
}
.hero-split .hero-box {
  height: 600px;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Fixed background images */
.hero-split .bg-img-1 {
  background-image: url('../img/screens/masa2.webp');
}


/* Fixed background images */
.hero-split .bg-img-2 {
  background-image: url('../img/screens/poarta2.webp');
}

.hero-split .bg-img-3 {
  background-image: url('../img/screens/coloana2.webp');
}

/* Typography (optional) */
.hero-split .hero-heading {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #2e2e2e;
}

.hero-split .hero-tagline {
  font-size: 1.25rem;
  font-weight: 400;
  color: #666;
}



@keyframes bgShift {
  0% { background-position: center; }
  50% { background-position: center right; }
  100% { background-position: center; }
}

.hero-split .hero-box {
  animation: bgShift 8s ease-in-out infinite;
}


.bg-light-alt {
  background-color: #f8f9fa;
}

.bg-soft-teal {
  background-color: #e6f1f0;
}

.bg-ivory {
  background-color: #fffef8;
}

.bg-gold-tint {
  background-color: #fcf9f3;
}

.bg-accent {
  background-color: #e32419;
  color: #fff;
}
.bg-gradient-mags{
  background: linear-gradient(135deg, #e32419, #e32419);
}



.home-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.home-section h2,
.home-section .section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #1a1a1a;
}

.home-section .section-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


.explore-section .section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #1a1a1a;
}

.explore-section .section-subtitle {
  font-size: 1.125rem;
  color: #666;
}

.explore-card {
  border: none;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  background-color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.explore-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.text-accent {
  color: #e32419;
}

.newsletter-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color:#fff;
}

.newsletter-section input::placeholder {
  color: #888;
}

/* Footer Base */
.footer {
  background-color: #000
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 4rem 1rem;
}

/* Headings */
.footer h5,
.footer h6 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Paragraphs */
.footer p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.footer .logo-footer img{
  width: 200px; /* Adjust as needed */
  height: auto;
  margin-bottom: 1rem;
}
/* Links */
.footer a {
  color: #bbbbbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
}


/* Social Icons */
.footer .fa {
  transition: color 0.3s ease;
}

.footer .fa:hover {
  color: #FF6B35; /* Optional accent on hover */
}

/* Divider line (optional) */
.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Bottom copyright */
.footer .small {
  font-size: 0.85rem;
  color: #999;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .footer .text-center {
    margin-top: 2rem;
  }

  .hero-split .hero-box {
    height: 300px;
  }
  .hero-split .hero-heading {
    font-size: 1.8rem;
  }


  
}


.post-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.post-card-img {
  height: 250px;
  width: 100%;
  border-radius: 0.5rem 0.5rem 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.post-card-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  font-family: 'Montserrat', sans-serif;
}

.post-card-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}


.register-page,.login-page{
  padding-top:40px;
  padding-bottom:40px;
}
.register-page h1, .login-page h1{
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.register-container{
 
  max-width: 500px; /* Limit the width for larger screens */
  background-color: #fff; /* White background for the form */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  padding: 20px; /* Padding inside the form */
  
  margin: 0 auto; /* Center horizontally */
  display: block; /* Ensure block-level element */
}
.login-container{

  max-width: 500px; /* Limit the width for larger screens */
  background-color: #fff; /* White background for the form */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  padding: 20px; /* Padding inside the form */
  
  margin: 0 auto; /* Center horizontally */
  display: block; /* Ensure block-level element */
 
}

.body-account {
  background-color: #f9f9f9;
  font-family: 'Inter', sans-serif;
}

/* Sidebar */
.body-account .sidebar {
  background-color: #ffffff;
  width: 260px;
  min-height: 100vh;
  padding: 1.5rem 1rem;
  border-right: 1px solid #e4e4e4;
  transition: all 0.3s ease;
  position: fixed;
}

.body-account .sidebar .logo img {
  max-width: 140px;
  margin-bottom: 1.5rem;
}

.body-account .sidebar .menu ul {
  list-style: none;
  padding-left: 0;
}

.body-account .sidebar .menu li {
  margin-bottom: 0.75rem;
}

.body-account .sidebar .menu a {
  color: #333;
  display: flex;
  align-items: center;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.body-account .sidebar .menu a:hover,
.body-account .sidebar .menu a.active {
  background-color: #eaf6f6;
  color: #e32419;
}

.body-account .sidebar .menu i {
  margin-right: 0.5rem;
}
.body-account .sidebar .sidebar-toggle {
  display: none; /* Hide the toggle button on larger screens */
}

/* Sidebar divider */
.body-account .sidebar .divider {
  margin: 1rem 0;
  border-top: 1px solid #ddd;
}

/* Main page wrapper */
.body-account .page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 260px; /* Sidebar width */
}

/* Page content area */
.body-account .page-content {
  padding: 2rem;
}

/* Mobile header */
.body-account .header-mobile {
  background-color: #ffffff;
  padding: 1rem;
  border-bottom: 1px solid #eaeaea;
}

.body-account .header-mobile .logo img {
  max-width: 120px;
}

.body-account .header-mobile .buttons i {
  font-size: 1.4rem;
  color: #444;
}

/* Form titles and sections */
.body-account h1.title-main {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.body-account .subtitle-main {
  font-size: 1rem;
  color: #777;
}

/* Profile form */
.body-account .profile-picture {
  border-radius: 50%;
  border: 2px solid #ddd;
  object-fit: cover;
}

.body-account .form-label {
  font-weight: 500;
}

.body-account .form-text.text-muted {
  font-size: 0.85rem;
}

/* Button style overrides */
.body-account .btn.btn-warning {
  background-color: #ffcc00;
  color: #000;
  border: none;
}

.body-account .btn.btn-success {
  background-color: #e32419;
  border: none;
}

.body-account .btn.btn-success:hover {
  background-color: #005c66;
}

/* Footer */
.body-account .footer {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  padding: 2rem 1rem 1rem;
  border-top: 1px solid #ddd;
  background-color: #f1f1f1;
}

.body-account .footer-links a {
  color: #e32419;
  margin: 0 0.5rem;
  text-decoration: none;
}

.body-account .footer-links a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .body-account .sidebar {
    position: absolute;
    left: -260px;
    top: 0;
    z-index: 999;
    height: 100%;
    background: #fff;
  }

  .body-account .sidebar.open {
    left: 0;
    transition: left 0.3s ease;
  }

  .body-account .page-content {
    padding: 1.5rem;
  }
}


.posts-page{
  padding-top: 60px;
  padding-bottom: 60px;
}


.posts-page-detail {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.posts-page-detail .card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background-color: #ffffff;
}

.posts-page-detail .post-banner {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.posts-page-detail .card-body {
  padding: 2.5rem 2rem;
}

.posts-page-detail .card-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.75rem;
}

.posts-page-detail .text-muted {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.posts-page-detail .card-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #444;
}

.posts-page-detail .card-text h2,
.posts-page-detail .card-text h3 {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.posts-page-detail .card-text p {
  margin-bottom: 1.25rem;
}

.posts-page-detail .post-date{
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  display:inline-block;
  margin-left:10px;
}

/* Optional: Images inside content */
.posts-page-detail .card-text img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Wrapper List */
.custom-category-list {
  padding-left: 0;
  list-style: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Individual Badge Style */
.custom-category-badge {
  display: inline-block;
  padding: 0.5em 0.9em;
  font-size: 0.875rem;
  background-color: #e0f3f3;
  color: #e32419;
  border-radius: 50rem;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.custom-category-badge:hover,
.custom-category-badge:focus {
  background-color: #e32419;
  color: #fff;
  text-decoration: none;
}



.default-page-wrapper {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: #ffffff;
}

.default-page-wrapper .page-heading {
  margin-bottom: 2.5rem;
  text-align: center;
}

.default-page-wrapper .page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

.default-page-wrapper .breadcrumb {
  background-color: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  justify-content: center;
}

.default-page-wrapper .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #999;
  padding: 0 0.5rem;
}

.default-page-wrapper .breadcrumb a {
  color: #e32419;
  text-decoration: none;
}

.default-page-wrapper .breadcrumb a:hover {
  text-decoration: underline;
}

.default-page-wrapper .page-banner img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.default-page-wrapper .page-content {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #444;
}

.default-page-wrapper .page-content h2,
.default-page-wrapper .page-content h3 {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.default-page-wrapper .page-content p {
  margin-bottom: 1.25rem;
}

.blog-categories-page {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.blog-categories-page .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

.blog-categories-page .lead {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.blog-categories-page .category-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 2rem;
  color: #004b50;
}

.blog-categories-page .text-muted {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #666;
}

.blog-categories-page .row.g-3 > .col-lg-4 {
  margin-bottom: 1rem;
}

.blog-categories-page .btn.btn-primary {
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.4rem;
}

.highlight-box {
  background: #fdf5e6;
  color: #333;
  border-left: 4px solid #e32419;
  padding: 1rem 1.5rem;

  font-size: 1rem;
  font-weight: 500;
 
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


/* 404 Error Page Styles */
.tgj-404 {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f4f8, #e6f0f3);
  padding: 4rem 1rem;
  color: #2c3e50;
}

.tgj-404 .container {
  max-width: 600px;
}

.tgj-404 .error-code {
  font-size: 7rem;
  font-weight: 800;
  color: #0f4c5c;
  margin-bottom: 0.5rem;
}

.tgj-404 .error-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.tgj-404 .error-description {
  font-size: 1.125rem;
  color: #555;
  max-width: 500px;
  margin: 0 auto;
}

.btn-tgj-gradient {
  background: linear-gradient(90deg, #0f4c5c, #247f77);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-tgj-gradient:hover {
  background: linear-gradient(90deg, #247f77, #0f4c5c);
  color: #fff;
}