/* Apple-Inspired Orangico Styles */
:root {
  --text-color: #000;
  --bg-color: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  --accent-color: #ff6f3c;
  --card-bg: #f8f8f8;
  --card-shadow: rgba(0, 0, 0, 0.05);
  --pink-card-bg-color: rgb(255, 238, 241);
  --green-card-bg-color: rgb(238, 255, 248);
  --blue-card-bg-color: rgb(238, 250, 255);
  --purple-card-bg-color: rgb(245, 238, 255);
  --orange-card-bg-color: rgb(255, 246, 238);
  --red-card-bg-color: rgb(255, 178, 178);
  --yellow-card-bg-color: rgb(255, 252, 227);
  --brown-card-bg-color: rgb(243, 234, 217);

  --pink-btn-bg-color: #eca7cf;
  --green-btn-bg-color: #1bbe96;
  --blue-btn-bg-color: #21a0c0;
  --purple-btn-bg-color: #ccb0ff;
  --orange-btn-bg-color: #ff6f3c;
  --red-btn-bg-color: #ff0000;
  --yellow-btn-bg-color: #ffd900;
  --brown-btn-bg-color: #6b5534;

  --contactform-bg-color: #e4e4e4;
  --contactform-active-bg-color: #ffffff;
  --contactform-button-bg-color: linear-gradient(to right, #f7f7f7, #ebebeb, #f7f7f7);

  --orangico-icon: url("/assets/img/icons/orangico-icon.png");
  --apple-icon: url("/assets/img/icons/apple-icon.png");
  --google-icon: url("/assets/img/icons/google-icon.png");

  --rainbow-orange-red: linear-gradient(
    90deg,
    #c93535,
    #e06c00,
    #dbb647,
    #e06c00,
    #c93535
  );

  --rainbow-silver: linear-gradient(
    90deg,
    #ffffff,
    #707070,
    #ffffff
  );
}

[data-theme="dark"] {
  --text-color: #fff;
  --bg-color: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
  --accent-color: #ff6f3c;
  --card-bg: #111;
  --card-shadow: rgba(255, 255, 255, 0.05);
  --pink-card-bg-color: rgba(26, 15, 18, 0.55);
  --green-card-bg-color: rgba(15, 22, 19, 0.55);
  --blue-card-bg-color: rgba(12, 23, 27, 0.55);
  --purple-card-bg-color: rgba(18, 9, 26, 0.55);
  --orange-card-bg-color: rgba(22, 9, 7, 0.55);
  --red-card-bg-color: rgba(26, 4, 4, 0.55);
  --yellow-card-bg-color: rgba(26, 24, 4, 0.55);
  --brown-card-bg-color: rgba(22, 17, 6, 0.55);

  --pink-btn-bg-color: #ac628e;
  --green-btn-bg-color: #246456;
  --blue-btn-bg-color: #1f5970;
  --purple-btn-bg-color: #513d75;
  --orange-btn-bg-color: #ac4d2b;
  --red-btn-bg-color: #ac2b2b;
  --yellow-btn-bg-color: #aca42b;
  --brown-btn-bg-color: #614f34;

  --contactform-bg-color: #1a1a1a;
  --contactform-active-bg-color: #333333;
  --contactform-button-bg-color: linear-gradient(to right, #ff6b3d, #ff1f4b);

  --orangico-icon: url("/assets/img/icons/orangico-icon.png");
  --apple-icon: url("/assets/img/icons/apple-icon-white.png");
  --google-icon: url("/assets/img/icons/google-icon.png");

  --rainbow-orange-red: linear-gradient(
    90deg,
    #ff5c5c,
    #ff9a3c,
    #fcd253,
    #ff9a3c,
    #ff5c5c
  );

  --rainbow-silver: linear-gradient(
    90deg,
    #000000,
    #ffffff,
    #000000
  );
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: var(--bg-color);
  z-index: 1000;

  display: flex;
  padding: 1rem 2rem;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-color);
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--text-color);
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.6;
}

#theme-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  margin-left: 2rem;
  cursor: pointer;
  color: var(--text-color);
}

/* Hero */
.hero {
  position: relative; /* Add this */
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-color);
  padding-top: 6rem;   /* allow room for top marquee */
  padding-bottom: 6rem; /* allow room for bottom marquee */
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem 0;
}

.rainbow {
  background: linear-gradient(
    90deg,
    #ff5c5c,
    #ff9a3c,
    #fcd253,
    #85e362,
    #5fdde5,
    #9c8bfa,
    #ff5fc2
  );
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  animation: rainbow-shift 10s ease infinite;
}

.rainbow-silver {
  background: var(--rainbow-silver);
  background-size: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.rainbow-orange-red {
  background: var(--rainbow-orange-red);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  animation: rainbow-shift 10s ease infinite;
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.8;
}

/* Section */
.section {
  padding: 6rem 2rem;
  background: var(--bg-color);
}

.section-content {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* About */
.about-section {
  padding: 5rem 2rem;
  color: var(--text-color);
  font-family: 'Space Grotesk', sans-serif;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text:hover {
  padding: 2rem;
  margin: -2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.about-heading {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.about-subheading {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);;
  margin-bottom: 1.5rem;
}

.about-signature {
  font-style: italic;
  color: #7e7e7e;
  font-size: 1rem;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
}

.about-image img:hover {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Project Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
  padding: 0 1rem;
}

/* Tablets */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phones */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .lux-hero {
    flex-direction: column;
  }

  .lux-hero-left,
  .lux-hero-right {
    width: 100%;
    text-align: center;
  }

  .lux-gallery-grid {
    grid-template-columns: 1fr;
  }

  .lux-feature-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--card-bg);
}

/*.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 5px rgba(110, 59, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.12);
}*/

.card:hover {
  transform: translateY(-3px);
}

.card.hover-pink:hover {
  background: var(--pink-card-bg-color);
  transition: background 0.4s ease;
}

.card.hover-pink {
  box-shadow:
    0 0px 35px rgba(179, 109, 142, 0.103),
    0 0px 30px rgba(179, 109, 142, 0.11);
}

.card.hover-green:hover {
  background: var(--green-card-bg-color);
  transition: background 0.4s ease;
}

.card.hover-green {
  box-shadow:
    0 0px 35px rgba(0, 189, 132, 0.103),
    0 0px 30px rgba(0, 189, 164, 0.11);
}

.card.hover-blue:hover {
  background: var(--blue-card-bg-color);
  transition: background 0.4s ease;
}

.card.hover-blue {
  box-shadow:
    0 0px 35px rgba(0, 145, 189, 0.103),
    0 0px 30px rgba(0, 129, 189, 0.11);
}

.card.hover-purple:hover {
  background: var(--purple-card-bg-color);
  transition: background 0.4s ease;
}

.card.hover-purple {
  box-shadow:
    0 0px 35px rgba(57, 0, 189, 0.103),
    0 0px 30px rgba(41, 0, 189, 0.11);
}

.card.hover-orange:hover {
  background: var(--orange-card-bg-color);
  transition: background 0.4s ease;
}

.card.hover-orange {
  box-shadow:
    0 0px 35px rgba(189, 91, 0, 0.103),
    0 0px 30px rgba(189, 113, 0, 0.11);
}

.card.hover-red:hover {
  background: var(--red-card-bg-color);
  transition: background 0.4s ease;
}

.card.hover-red {
  box-shadow:
    0 0px 35px rgba(189, 0, 0, 0.103),
    0 0px 30px rgba(189, 0, 0, 0.11);
}

.card.hover-yellow:hover {
  background: var(--yellow-card-bg-color);
  transition: background 0.4s ease;
}

.card.hover-yellow {
  box-shadow:
    0 0px 35px rgba(189, 186, 0, 0.103),
    0 0px 30px rgba(189, 176, 0, 0.11);
}

.card.hover-brown:hover {
  background: var(--brown-card-bg-color);
  transition: background 0.4s ease;
}

.card.hover-brown {
  box-shadow:
    0 0px 35px rgba(80, 54, 26, 0.103),
    0 0px 30px rgba(94, 65, 33, 0.11);
}

.card img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-content {
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
}

.card p {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.4;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  background: var(--bg-color);
  font-size: 0.9rem;
  color: #888;
}

@keyframes rainbow-shift {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
