* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --background-color: #151515;
    --text-color: #ffffff;
    --text-orange: #C29A4B;
    --contrast-color: #dcdcdc;
    --text-color-rgb: 245, 245, 245;
    --background-color-rgb: 18, 18, 18;
    --grey : #272727
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
  max-width: 120rem;
  width: 70%;
  margin: auto;
}

/* ========== NAVBAR STYLES ========== */
.navbar {
    position: fixed;
    top: -80px;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    z-index: 1000;
    transition: top 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.active {
    top: 0;  /* This slides the navbar down when active class is added */
}

/* Style for active navigation item with underline */
.nav-item.nav-active .nav-link {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

/* Alternative: Using border-bottom for more control */
.nav-item.nav-active .nav-link {
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    padding-bottom: 5px;
}

/* Smooth transition effect */
.nav-link {
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Hover effect (optional) */
.nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 8px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo p {
    font-weight: 200;
}

.img-logo {
    width: 40px;
    height: 50px;
    object-fit: cover;
    margin-left: 10px;
}

.logo i {
    margin-right: 10px;
    color: var(--contrast-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--contrast-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--contrast-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--contrast-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-color);
}

/* ========== LANDING PAGE ========== */
/* Landing Section */
.landing {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.landing-bold {
    font-size: 1.5rem;
    font-weight: bold;
}

.landing-text {
    font-size: 18px;
    width: 80%;
    margin: 0 auto;
}

/* Slider Container - Full Screen */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

/* Slider Wrapper */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Active Slide */
.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Image Styling - Full Screen Cover */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Overlay for better text readability */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.4)
    );
    z-index: 2;
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-dots {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

.landing-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

.landing-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.landing-title span {
    color: var(--background-color);
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.landing-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--background-color);
}

.landing-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--text-color);
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 3px 10px var(--text-color);
}

/* Scroll Down Animation */
.scroll-prompt {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    animation: bounce 2s infinite;
}

.scroll-prompt span {
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.scroll-prompt i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========= STATISTICS ======= */
/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: var(--grey);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}
.stat-item h3 {
    font-size: 2rem;
    color: var(--contrast-color);
}


/* Description Projets */
.slide-project-name {
    position: absolute;
    font-weight: 500;
    bottom: 120px;
    right: 80px;
    color: #fff;
    z-index: 1000;
}

/* Gradient transition */
.gradient-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--background-color));
    z-index: 2;
}

/* ========== CONTENT SECTION ========== */
/* Content Section */
.content-section {
    position: relative;
    width: 100%;
    padding: 50px 5%;
    padding-left: 0;
    padding-right: 0;
    z-index: 2;
}

.content-section p {
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--contrast-color);
}

/* Services Section */
.services-section {
    padding: 25px 5%;
    padding-left: 0;
    padding-right: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem 0rem 0 0rem;
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-desc {
    line-height: 1.6;
    margin-bottom: 0rem;
}

/* Footer */
footer {
    padding: 1.5rem 5% 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

div p {
    margin: 5px 0;
}

.copyright {
    margin-top: 0rem;
    padding-top: 10px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

.social-icons a {
    color: #eee;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 10px 0 10px;
}

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

.pages {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

.pages-link {
    margin: 0px 10px;
    text-decoration: underline dotted;
}

/* Project area in index.php */
.section-spacing { 
    padding: 4rem 0;
    padding-top: 0.5rem; 
}

.all-projects {
    text-align: center;
    padding-bottom: 2rem;
}

.all-projects a {
    font-weight: 500;
    font-size: 1.3rem; 
}

.all-projects a:hover {
    color: var(--contrast-color);
}

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

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.project-card { position: relative; overflow: hidden; }
.project-card img { width: 100%; height: 420px; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.2,1,0.3,1); filter: brightness(0.8); }
.project-card:hover img { transform: scale(1.05); filter: brightness(0.95); }
.card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.8rem; background: linear-gradient(to top, #000000dd, transparent); }
.card-overlay h3 { font-family: var(--font-serif); font-size: 1.6rem; color: #fff; }
.card-overlay p { color: var(--gold); }

/* ========== LANDING PAGE ON EVERY PAGE ========== */
.fraktal-intro {
  position: relative;
  width: 100vw;
  height: 70vh;
  overflow: hidden;
}

.fraktal-landing {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.fraktal-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fraktal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  z-index: 2;
}

* Hero section with subtle background image */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background-size: cover;
  background-blend-mode: overlay;
  background-position: center 30%;
  border-bottom: none;
}

.logo-fraktale, .logo-fraktale span {
  font-size: 5rem;
  font-weight: bold;
}

.logo-fraktale span {
  color: #C29A4B;
  font-weight: 800;
}

.logo-fraktale{
    margin-bottom: 10px;
}

.line-deco {
    width: 100px;
    height: 4px;
    margin-bottom: 16px;
    background-color: var(--contrast-color);
}

.hero-grid {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1.2;
}

.hero-badge {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #C29A4B;
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(194,154,75,0.15);
  padding: 4px 12px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-orange);
  margin-bottom: 32px;
  max-width: 90%;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.agence-img {
    height: 70vh;
    object-fit: cover;
    width: 100%;
    margin: 20px 0;
}

.dev-img {
    height: 70vh;
    object-fit: cover;
    width: 50%;
    margin: 20px 0;
}

.hero-stats {
  flex: 0.8;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 32px 28px;
  border-radius: 32px;
  box-shadow: 0 25px 45px -12px rgba(0,0,0,0.15);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.flex {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.flex .text {
    flex: 1;
}

.flex .agence-img {
    flex: 1;
}

.text-position {
    text-align: left
}

.full-width {
    width: 100%;
    height: 30vh;
    position: relative;
    margin: 1rem 0;
    overflow: hidden;
}

.full-width-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.full-width-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.full-width-text {
    position: absolute;
    z-index: 3;
    text-align: center;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 50%);
    font-size: 2.5rem;
    font-weight: bold;
    align-items: center;
    width: 70%;
}



/* Responsive Styles */
@media (max-width: 1200px) {
    .landing-title {
        font-size: 3.5rem;
    }

    .hero-about h1 {
        font-size: 2.5rem;
    }

    .container {
        width: 90%;
    }
}

@media (max-width: 1100px) {
    .full-width-text {
        top: 15%;
        width: 80%;
    }

    .flex {
        display: block;
    }

    .dev-img {
        height: 60vh;
        width: 100%;
    }

    .navbar {
        padding: 0 3%;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: var(--background-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .landing-title {
        font-size: 3rem;
    }

    .landing-subtitle {
        font-size: 1.3rem;
    }

}

@media (max-width: 768px) {
    .full-width-text {
        font-size: 2rem;
    }
    .landing {
        height: 90vh;
    }
    .agence-img, .dev-img {
        height: 40vh;
    }

    .landing-title {
        font-size: 2.5rem;
    }

    .landing-text {
        width: 95%;
    }

    .landing-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .wix-features {
        flex-direction: column;
        align-items: center;
    }

    .wix-feature {
        width: 100%;
        max-width: 400px;
    }

    .slide-project-name {
        bottom: 200px;
    }
    }

@media (max-width: 480px) {
    .full-width-text {
        font-size: 1.6rem;
    }
    .container {
        width: 95%;
    }

    .landing-title {
        font-size: 2.4rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .slider-dots {
        bottom: 60px;
    }

    .landing-bold {
        font-size: 20px;
    }

    .landing-text {
        font-size: 16px;
        width: 100%;
    }

    .slide-project-name {
        left: auto;
        bottom: 200px;
    }
}

@media (max-width: 350px) {
    .container {
        width: 95%;
    }

    .landing-title {
        font-size: 1.8rem;
    }

    .landing-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .slider-dots {
        bottom: 40px;
    }

    .landing-bold {
        font-size: 15px;
    }

    .slide-project-name {
        left: auto;
        bottom: 200px;
    }
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: 80px; left: 0; right: 0; background: #0a0a0ae0; backdrop-filter: blur(10px); flex-direction: column; align-items: center; padding: 2.5rem; gap: 2rem; transform: translateY(-150%); transition: transform 0.3s; border-bottom: 1px solid var(--border-dim); }
  .nav-links.active { transform: translateY(0); }
  .project-grid, .masonry-grid { grid-template-columns: 1fr; }
  .wide { grid-column: span 1; }
  .tall { grid-row: span 1; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-block.reverse { grid-template-columns: 1fr; }
  .service-block.reverse .service-icon { grid-column: 1; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 2.5rem; }
  .footer-container { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 1100px) {
  .hero-grid {
    width: 80%;
  }

  .logo-fraktale, .logo-fraktale span {
    font-size: 3rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 900px) {
  .container { padding: 0px; }
  .section-title { font-size: 2.2rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 15px; }
  .hero-grid { 
    flex-direction: column;
    width: 90%; 
  }
  .philosophy-inner {
    flex-direction: column;
  }
  .philosophy-image {
    order: 1;
  }
  .fraktal-intro {
    height: 40vh;
  }
}

@media (max-width: 550px) {
  .hero-buttons { flex-direction: column; }
  .hero-stats { grid-template-columns: 1fr; text-align: center; }
  .btn { text-align: center; }
}


/* ========= FOOTER ======= */
/* dummy page content - unobtrusive */
.dummy-content {
    flex: 1;
    padding: 3rem 2rem;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.dummy-content h1 {
    font-weight: 600;
    font-size: 2.5rem;
    color: #111111;
    letter-spacing: -0.5px;
}

.dummy-content p {
    max-width: 600px;
    margin: 0.8rem auto 0;
    color: #444;
    font-weight: 400;
}

/* ----- FOOTER: BLACK & WHITE THEME (monochrome) ----- */
.footer {
    background-color: #111111;   /* pure black background */
    color: #f0f0f0;
    padding: 3rem 2rem 2rem;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem 3rem;
}

/* EACH SECTION: full centering (text-align center + flex column centering) */
.footer-brand,
.footer-contact,
.footer-links,
.footer-newsletter {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;      /* horizontally center everything inside */
    text-align: center;       /* ensures text elements are centered */
}

/* make sure inner blocks respect width and alignment */
.footer-brand > *,
.footer-contact > *,
.footer-links > *,
.footer-newsletter > * {
    max-width: 100%;
}

/* ========= brand area ========= */
.footer-logo {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-logo span {
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: block;
    color: #cccccc;
    margin-top: 0.25rem;
}

.brand-description {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #bbbbbb;
    margin: 0.6rem 0 1.2rem;
    max-width: 240px;
}

/* social icons - monochrome style */
.social-mini {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.25rem;
}

.social-mini a {
    color: #e0e0e0;
    background: #1a1a1a;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
    border: 1px solid #2c2c2c;
}

.social-mini a:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ========= contact section (address, phone, etc) ========= */
.footer-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.4rem;
    position: relative;
    display: inline-block;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 32px;
    height: 2px;
    background: #ffffff;
    opacity: 0.5;
}

.address-block {
    margin-bottom: 5px;
}

.address-line {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #d4d4d4;
}

.address-line i {
    width: 20px;
    margin-top: 0.15rem;
    color: #f0f0f0;
    font-size: 0.85rem;
}

.contact-details {
    margin-top: 5px;
}

.contact-item {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    font-size: 0.85rem;
    align-items: center;
    flex-wrap: wrap;
}

.contact-item i {
    width: 20px;
    color: #ffffff;
}

.contact-item a {
    color: #dddddd;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px dotted #555;
}

.contact-item a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.reg-numbers {
    font-size: 0.7rem;
    color: #a0a0a0;
    margin-top: 1rem;
    border-top: 1px solid #2a2a2a;
    padding-top: 0.85rem;
    text-align: center;
    line-height: 1.3;
}

/* ========= links (navigation) ========= */
.links-group {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
    width: 100%;
}

.links-group a {
    color: #dddddd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.links-group a i {
    font-size: 0.7rem;
    color: #aaaaaa;
    transition: transform 0.2s;
}

.links-group a:hover {
    color: #ffffff;
    letter-spacing: 0.3px;
}

.links-group a:hover i {
    color: #ffffff;
    transform: translateX(3px);
}

/* ========= newsletter (centered form, button) ========= */
.newsletter-text {
    font-size: 0.8rem;
    color: #bbbbbb;
    margin-bottom: 1rem;
    line-height: 1.4;
    max-width: 260px;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    width: 100%;
    max-width: 280px;
}

.newsletter-form input {
    flex: 1;
    min-width: 170px;
    background: #111111;
    border: 1px solid #333333;
    padding: 0.7rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #f0f0f0;
    border-radius: 40px;
    outline: none;
    transition: all 0.2s;
}

.newsletter-form input:focus {
    border-color: #ffffff;
    background: #1a1a1a;
}

.newsletter-form input::placeholder {
    color: #777777;
    font-weight: 300;
}

.btn-subscribe {
    background: #ffffff;
    border: none;
    padding: 5px 1.2rem;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-subscribe i {
    font-size: 0.7rem;
    color: #000000;
}

.btn-subscribe:hover {
    background: #e6e6e6;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255,255,255,0.1);
}

/* bottom bar (monochrome continuity) */
.footer-bottom {
    max-width: 1300px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #222222;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: #888888;
    gap: 1rem;
}

.copyright {
    letter-spacing: 0.3px;
}

.legal-links {
    display: flex;
    gap: 1.8rem;
}

.legal-links a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #ffffff;
}

/* responsiveness: on smaller screens keep centered but column wrap */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 2.2rem;
    }
    .footer-brand,
    .footer-contact,
    .footer-links,
    .footer-newsletter {
        width: 100%;
        max-width: 380px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .legal-links {
        justify-content: center;
    }
}

/* misc adjustment to keep spacing clean */
.footer-contact .address-line span,
.footer-contact .contact-item span {
    word-break: break-word;
}
.footer-explorer { display: none; }
@media (min-width: 768px) { .footer-explorer { display: block; } }
hr {
    display: none;
}