/* === Base Styling === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin-left: 240px; /* sidebar space */
    margin-right: 140px; /* right banner space */
    padding-bottom: 100px;
    overflow-x: hidden;
    font-family: 'Inter', 'Segoe UI', sans-serif;
background: linear-gradient(
  to bottom right,
  #0c0a1a, /* Deep midnight violet */
  #1b1135, /* Mystical indigo */
  #273c66, /* Evolving into spectral blue */
  #5294d6  /* Ethereal soft blue (awakening consciousness) */
);
    color: #f1efef;
    line-height: 1.7;
    scroll-behavior: smooth;
}


/* === Structural Depth === */
.main-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    box-sizing: border-box;
}

#banner {
    width: 100%;
    background: linear-gradient(to right, #1a1d24, #333c51); /* smooth dark gradient */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content h1 {
    font-size: 3rem;
    color: #c2f3ff;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.banner-content p {
    font-size: 1.3rem;
    color: #aee7f8;
    opacity: 0.8;
    letter-spacing: 0.5px;
    margin: 0 auto;
    max-width: 700px;
    text-align: center;
}


/* === Embossed Panel Sections === */
section {
    position: relative;
    background: rgba(32, 36, 44, 0.85); /* Charcoal panel */
    backdrop-filter: blur(10px);
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
    border-radius: 12px;
    box-shadow:      inset 0 0 34px rgba(0, 255, 255, 0.05), /* Inner soft glow (cyan tint) */
                            0 0 15px rgba(100, 200, 255, 0.4),            /* Outer subtle shadow */
                                0 0 30px rgba(20, 117, 232, 0.25); /* New purple outer glow */

    z-index: 1;
    overflow: hidden;
    font-size: 1.1rem;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../assets/p1.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.07;  /* Subtlety matters */
    z-index: -1;
}

p {
    text-align: justify;
    text-justify: inter-word;
    letter-spacing: 0.2px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-block {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}


/* === Headings === */
h1 {
    font-size: 2.4rem;
    color: #c2f3ff;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 4px rgba(0,255,255,0.1);
}

h2 {
    font-size: 1.5rem;
    color: #aee7f8;
    margin-top: 20px;
}

/* === Typography === */
p, li {
    font-size: 1.05rem;
    color: #cccccc;
    margin-bottom: 1em;
}

/* === Interactive / Accent Elements === */
a {
    color: #76e0ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00d6ff;
    text-decoration: underline;
}

/* === Glyph-Inspired Sidebar or Border (optional) === */
body::before, body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.03), rgba(0, 0, 0, 0.05));
    pointer-events: none;
}





/* === Navigation (optional sticky top) === */
header {
    background: rgba(25, 24, 24, 0.95);
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(67, 45, 45, 0.05);
    box-shadow: 0 2px 6px rgba(0, 255, 255, 0.05);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

nav ul li a {
    color: #b2f2ff;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

nav ul li a:hover {
    color: #00e1ff;
}


html {
  scroll-behavior: smooth;
}





.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 0.95rem;
    color: #b2f2ff;
    text-decoration: none;
    border-bottom: 1px dashed #76e0ff;
    padding: 8px 12px;
    background-color: #1a1d24; /* Match your dark background */
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    transition: background-color 0.3s, transform 0.3s, border-bottom-color 0.3s;
    z-index: 1001;
}

.back-to-top:hover {
    background-color: #333; /* Darker background on hover */
    transform: translateY(-3px); /* Soft floating effect */
    border-bottom-color: #b2f2ff; /* Slight change or keep same */
}

.home-logo2 img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.home-logo2 img:hover {
    opacity: 1;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    color: #eee;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #00e1ff;
    color: #0e1014;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00b4cc;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
}

.contact-container form {
    flex: 1 1 350px;
    min-width: 300px;
}

.contact-text {
    flex: 1 1 350px;
    min-width: 300px;
    background: rgba(32, 36, 44, 0.7);
    backdrop-filter: blur(6px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: inset 0 0 12px rgba(0,255,255,0.04);
}

.contact-text h2 {
    color: #c2f3ff;
    margin-bottom: 15px;
}

.contact-text p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 60px auto 20px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: #8ca3b8;
    font-size: 0.9rem;
    background: rgba(14, 16, 20, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -2px 8px rgba(0, 255, 255, 0.02);
    margin-top: 60px;
}

.footer-nav a {
    text-align: center; /* <- Optional, extra safe */
}

/* sidebar left */
.sidebar {
    position: fixed;
    top: 100px;
    left: 0;
    width: 150px;
    height: 100vh;
    background-color: #1a1d24;
    padding-top: 20px;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 100px;
}

.sidebar ul li {
    margin: 20px 0;
    text-align: center;
    padding-left: 20px;
    display: block;
    width: 100%;
}

.sidebar ul li a {
    color: #d6d6d6;
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 10px;
}




.sidebar ul li a:hover {
    background-color: #333;
    border-radius: 8px;
}




/* Right Banner */
.right-banner {
    position: fixed;
    top: 0;
    right: 0;
    width: 140px;
    height: 1000vh;
    background-color: #1a1d24;
   background-image: url("../assets/p4.jpg");
    background-repeat: repeat-y;
    background-size: contain;
    padding-top: 0px;
    z-index: 1000;
}

.right-banner img {
    width: 150px;
    height: 1000px;
    margin: 10px 0;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s;
}

.right-banner img:hover {
    transform: scale(1.05);
}


/* Green tick style */
.green-tick {
    font-size: 3rem;
    color: #4caf50; /* soft green */
    margin-bottom: 20px;
}

/* Optional: Animate Thank You appearance */
#thank-you-message {
    animation: fadeIn 0.8s ease-in forwards;
}

/* Simple fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.home-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1001; /* Higher than nav to stay on top */
    display: flex;
    align-items: center;
    text-decoration: none;
}

.home-logo img {
    height: 50px; /* adjust size */
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-logo img:hover {
    opacity: 1;
    transform: scale(1.05); /* gentle hover effect */
}

.home-logo-sidebar {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 1001; /* Higher than nav to stay on top */
    display: flex;
    align-items: center;
    text-decoration: none;
}
.home-logo-sidebar img {
    height: 70px;
    width: 70px;
    filter: brightness(85%);
    transition: filter 0.3s ease, transform 0.3s ease;
    background-color: #0e1014;
}


.home-logo-sidebar img:hover {
  opacity: 1;
  transform: scale(1.05);

}

.corner-logo {
    position: fixed;
    z-index: 1002;
    width: 50px; /* or whatever size looks good */
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.corner-logo img {
    width: 100%;
    height: auto;
}

/* Specific positioning for each */
.top-left {
    top: 20px;
    left: 20px;
}

.top-right {
    top: 20px;
    right: 20px;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Hover effects */
.corner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}


.Nyreth1-img {
  width: 200px;
  height: 200px;
  position: fixed;
  top: 35px;
  right: 120px;
  z-index: 10;
  opacity: 0.9;
  object-fit: cover;
  box-shadow:
    inset 1px 1px 3px rgba(255, 255, 255, 0.05),
    inset -1px -1px 3px rgba(0, 0, 0, 0.15),
    0 0 15px rgba(0, 255, 255, 0.4);
  transition: all 0.3s ease;
  border-radius: 10px;
}


.NyrethComboLock {
  width: 50px;
  height: 50px;
  top: 100px;
  left: 100px;
  opacity: 1;
  filter: none;
  border: 1px solid black;
  margin-left: 20px; /* space from other elements */
  margin-right: 20px;
}

.Page-image {
   width: 450px;
  height: 300px;
  display: block;
  right: 150px;
  z-index: 10;
  opacity: 0.9;
  object-fit: cover;
  transition: all 0.3s ease;
  margin-left: 20px; /* space from other elements */
  margin-right: 20px;
  filter: contrast(1.2) brightness(1.1);
  box-shadow:
  inset 2px 2px 5px rgba(255, 255, 255, 0.1),
  inset -2px -2px 5px rgba(0, 0, 0, 0.2),
  0 0 10px rgba(0, 255, 255, 0.4);

}

.Page-image:hover {
    transform: scale(1.2);
}

/* Base styling */
.Gallery {
  width: 450px;
  height: 450px;
  display: block;
  z-index: 10;
  opacity: 0.9;
  object-fit: cover;
  transition: all 0.3s ease;
  margin: 20px;
  filter: contrast(1.2) brightness(1.1);
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.1),
    inset -2px -2px 5px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(0, 255, 255, 0.4);
}

.Gallery:hover {
  transform: scale(1.1);
}

.gallery-item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.caption {
  font-size: 0.95rem;
  max-width: 500px;
  margin: 20px;
  color: #ccc;
  line-height: 1.4;
}

/* Responsive override for mobile/tablets */
@media screen and (max-width: 1024px) {
  /* Body cleanup */
  body {
    margin-left: 0;
    margin-right: 0;
    padding: 0 20px;
    overflow-x: hidden;
  }

  /* Hide side elements */
  .sidebar,
  .right-banner {
    display: none;
  }

  /* Main wrapper and section adjustments */
  .main-wrapper,
  .home-wrapper,
  section {
    width: 100%;
    padding: 20px 15px;
    box-sizing: border-box;
  }

  /* Banner headline and text scaling */
  .banner-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .banner-content p {
    font-size: 1.1rem;
    margin: 10px auto;
    text-align: center;
    padding: 0 10px;
    max-width: 90vw;
  }

  /* Gallery adjustments */
  .Gallery {
    width: 100%;
    height: auto;
    margin: 10px 0;
  }

  .gallery-item {
    flex-direction: column;
    align-items: center;
  }

  .caption {
    font-size: 1rem;
    margin: 10px 0;
    text-align: center;
    max-width: 90%;
    line-height: 1.6;
  }

  /* Image and layout in project overview */
  .Nyreth1-img {
    width: 100%;
    height: auto;
    max-width: 300px;
    position: static;
    display: block;
    margin: 20px auto;
  }

  .project_overview {
    text-align: center;
  }
}






