/* Import the chosen font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Quicksand', sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #141414;
    background: url('images/background.webp') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.company-name {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5em;
    font-weight: bold;
    z-index: 2;
}

.container {
    text-align: center;
    position: relative;
    z-index: 2;
}

h1 {
    margin: 0;
    font-size: 3em;
    font-weight: 700;
}

p {
    margin: 10px 0;
    font-size: 1.5em;
    font-weight: 400;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 2em;
}

.social-links a:hover {
    text-decoration: none;
    opacity: 0.8;
}
.container a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 20px;

    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.container a:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.profile-container {
  text-align: center;
  margin-top: 50px;
}

.profile-pic-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform 0.3s ease-in-out;
}

.navbar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.hamburger {
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: none;
  position: absolute;
  right: 0;
  background-color: transparent;
  border: 0px solid #ccc;
  border-radius: 4px;
}

.nav-menu li {
  padding: 10px 0px;
  text-align: right;
}

.nav-menu li a {
  text-decoration: none;
  color: #fff;
  display: block;
    font-family: 'Quicksand', sans-serif;
}

.nav-menu li a:hover {
  background-color: #333;
}

/* ============================================================
   INNER PAGES
   ============================================================ */

html:has(.inner-page) {
    display: block;
    height: auto;
    overflow-y: auto;
    background-color: #141414;
}

body.inner-page {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
}

body.inner-page .company-name {
    position: fixed;
}

body.inner-page .navbar {
    position: fixed;
}

.page-wrapper {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 110px 40px 100px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 8px;
    margin-top: 70px;
    margin-bottom: 8px;
    padding: 32px 32px 32px;
}

/* Hero */

.page-hero {
    margin-bottom: 56px;
}

.page-hero h1 {
    font-size: 2.4em;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: left;
}

.page-intro {
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.75;
    opacity: 0.95;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Body text */

.page-wrapper p {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.85;
    opacity: 0.93;
    margin: 0 0 18px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-wrapper p:last-child {
    margin-bottom: 0;
}

/* Section */

.page-section {
    margin-bottom: 52px;
}

.page-section-label {
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    opacity: 0.6;
    margin: 0 0 22px;
    display: block;
}

/* Divider */

.page-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 52px 0;
}

/* About — detail columns */

.page-details {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.page-detail-col h3 {
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    opacity: 0.6;
    margin: 0 0 14px;
}

.page-detail-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-detail-col ul li {
    font-size: 0.92em;
    font-weight: 300;
    line-height: 1.95;
    opacity: 0.9;
}

/* Services */

.service-item {
    margin-bottom: 38px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item h2 {
    font-size: 1.05em;
    font-weight: 700;
    margin: 0 0 9px;
    letter-spacing: 0;
    opacity: 1;
}

.page-wrapper .service-item p {
    font-size: 0.95em;
    opacity: 0.9;
    margin: 0;
}

.ways-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.ways-list li {
    font-size: 0.92em;
    font-weight: 300;
    opacity: 0.8;
    line-height: 1.95;
    padding-left: 18px;
    position: relative;
}

.ways-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    opacity: 0.4;
}

/* Portfolio */

.portfolio-list {
    margin-bottom: 0;
}

.portfolio-item {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:last-child {
    border-bottom: none;
}

.portfolio-item-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.portfolio-item h2 {
    font-size: 1.02em;
    font-weight: 700;
    margin: 0;
    opacity: 1;
}

.portfolio-item-descriptor {
    font-size: 0.8em;
    font-weight: 300;
    opacity: 0.8;
    letter-spacing: 0.04em;
}

.page-wrapper .portfolio-item p {
    font-size: 0.92em;
    opacity: 0.9;
    margin: 0;
    line-height: 1.72;
}

.page-wrapper .portfolio-note {
    font-size: 0.82em;
    opacity: 0.8;
    margin-top: 36px;
    font-style: italic;
    line-height: 1.7;
}

/* Contact */

.contact-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9em;
    font-weight: 700;
    padding: 13px 26px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 3px;
    transition: all 0.25s ease;
    letter-spacing: 0.04em;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9em;
    font-weight: 700;
    padding: 13px 26px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 3px;
    transition: all 0.25s ease;
    letter-spacing: 0.04em;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
}

.page-wrapper .contact-note {
    font-size: 0.82em;
    opacity: 0.6;
    margin-top: 26px;
}

/* Privacy link */

.privacy-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.privacy-link a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.72em;
    letter-spacing: 0.04em;
}

.privacy-link a:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* Mobile */

@media (max-width: 600px) {
    .page-wrapper {
        padding: 24px 20px 24px;
        margin-top: 8px;
        margin-bottom: 8px;
        border-radius: 6px;
    }

    .page-hero h1 {
        font-size: 2em;
    }

    .page-intro {
        font-size: 1.05em;
    }

    .page-details {
        gap: 36px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn-primary,
    .contact-actions .btn-secondary {
        text-align: center;
    }
}
