/* style.css - CSS Styles for Circle of Success Website */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary-blue: #1b4b8f; /* Medium-dark blue used in header/titles */
  --light-blue: #b3cbf2; /* Light pastel lavender-blue */
  --bg-color: #f7f9fc;
  --dark-color: #111111;
  --footer-bg: #000000;
  --text-dark: #222222;
  --text-light: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Montserrat', sans-serif;
  --shadow-pattern: repeating-linear-gradient(-45deg, #111111, #111111 2px, transparent 2px, transparent 12px);
  --shadow-pattern-light: repeating-linear-gradient(-45deg, rgba(27, 75, 143, 0.2), rgba(27, 75, 143, 0.2) 2px, transparent 2px, transparent 12px);
}

.service-title {
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 15px;
  text-align: center;
  letter-spacing: 1px;
}

/* Perfume Workshop Section */
.workshop-section {
  background: linear-gradient(135deg, #0a1931 0%, #15305b 40%, #050d1a 100%);
  padding: 100px 50px 120px;
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

/* Elegant subtle light glow on background */
.workshop-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.workshop-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.workshop-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}

/* Flag Badge styling */
.workshop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.workshop-badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.workshop-badge .flag-green { background-color: #009246; }
.workshop-badge .flag-white { background-color: #f1f2f1; }
.workshop-badge .flag-red { background-color: #ce2b37; }

.workshop-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--text-light);
}

.workshop-title .accent-text {
  color: #e5b95f; /* Elegant gold tone */
  background: linear-gradient(135deg, #fce0a2 0%, #e5b95f 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.workshop-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--light-blue);
  opacity: 0.9;
  letter-spacing: 0.5px;
  margin-top: -10px;
}

.workshop-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 15px 0;
  width: 100%;
}

.workshop-features li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.05rem;
}

.workshop-features .feature-icon {
  color: #e5b95f;
  background-color: rgba(229, 185, 95, 0.15);
  border: 1px solid rgba(229, 185, 95, 0.3);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
  box-shadow: 0 0 10px rgba(229, 185, 95, 0.1);
}

.workshop-features .feature-text {
  line-height: 1.5;
  font-weight: 400;
}

.workshop-features .feature-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* Buttons and Actions styling */
.workshop-actions {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  width: 100%;
}

.workshop-actions .btn {
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Gold Button for Affiliate Letter */
.workshop-actions .btn-gold {
  background: linear-gradient(135deg, #fce0a2 0%, #e5b95f 50%, #c79532 100%);
  color: #0a1931;
  box-shadow: 0 6px 20px rgba(229, 185, 95, 0.3);
}

.workshop-actions .btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(229, 185, 95, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #fce0a2 50%, #e5b95f 100%);
}

/* Contact Footer in workshop section */
.workshop-contact-info {
  display: flex;
  gap: 30px;
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--light-blue);
}

.workshop-contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workshop-contact-info .contact-item i {
  color: #e5b95f;
}

/* Right Column (Visual) */
.workshop-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.workshop-image-card {
  position: relative;
  z-index: 10;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: 12px;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: float-perfume 6s ease-in-out infinite;
}

.workshop-perfume-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.workshop-image-card:hover {
  transform: translateY(-8px) rotate(1deg);
}

.workshop-image-card:hover .workshop-perfume-img {
  transform: scale(1.03);
}

.workshop-visual-shadow {
  position: absolute;
  bottom: -40px;
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
  z-index: 5;
  filter: blur(8px);
  animation: float-shadow 6s ease-in-out infinite;
}

/* Animations for Floating Visuals */
@keyframes float-perfume {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes float-shadow {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Responsive adjustment for Workshop section */
@media (max-width: 1024px) {
  .workshop-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .workshop-content {
    align-items: center;
  }

  .workshop-badge {
    align-self: center;
  }

  .workshop-features {
    align-items: center;
    max-width: 600px;
    margin: 15px auto;
  }

  .workshop-alert {
    max-width: 600px;
    margin: 15px auto;
  }

  .workshop-actions {
    justify-content: center;
  }

  .workshop-contact-info {
    justify-content: center;
  }

  .workshop-visual {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .workshop-section {
    padding: 80px 20px 100px;
  }

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

  .workshop-actions {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 320px;
  }

  .workshop-actions .btn {
    width: 100%;
  }

  .workshop-contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

/* Reset and Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navigation */
header {
  background-color: var(--primary-blue);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  margin-right: 40px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-links a.active {
  border-bottom: 2px solid var(--text-light);
  padding-bottom: 4px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
  color: #d1e2ff;
}

.menu-toggle.active i {
  transform: scale(0.9);
}

/* Sections Common Styles */
section {
  position: relative;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 580px;
  background-color: #ffffff;
  position: relative;
}

.hero-left {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  padding-left: 0;
  border-right: 16px solid #ffffff;
}

.hero-right-bg {
  background-color: var(--light-blue);
  height: 100%;
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  background-color: #eee;
}

.hero-title-box {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-blue);
  color: var(--text-light);
  border: 6px solid var(--text-light);
  padding: 50px 75px 50px 50px;
  width: 620px;
  z-index: 20;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-radius: 28px;
}

.hero-title-box h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  text-align: center;
}

/* Hero Socials inside text box */
.hero-socials {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 25;
}

.hero-socials a {
  color: #000000;
  font-size: 1.1rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-socials a:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

/* Our Story Section */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 80px 50px;
  background-color: #ffffff;
  gap: 50px;
  align-items: center;
}

.story-left {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-blue-bg {
  background-color: var(--primary-blue);
  width: 420px;
  height: 380px;
  position: relative;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.05);
}

.story-image-wrapper {
  position: absolute;
  width: 400px;
  height: 250px;
  top: 40px;
  left: 10px;
  z-index: 10;
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #111111;
  background-color: #ddd;
}

.story-image-shadow {
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 100%;
  height: 90px;
  background: var(--shadow-pattern);
  z-index: 5;
}

.story-right {
  padding-right: 50px;
  position: relative;
}

.story-right .brush-stroke {
  position: absolute;
  top: -40px;
  right: 50px;
  width: 100px;
  opacity: 0.8;
}

.story-right h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--dark-color);
  letter-spacing: 1px;
}

.story-right p {
  font-size: 0.9rem;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.6;
  font-weight: 500;
}

/* Our Services Section */
.services-section {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 80px 50px 100px;
  position: relative;
}

.services-header {
  margin-bottom: 50px;
  position: relative;
}

.services-header h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.services-header .brush-stroke-white {
  position: absolute;
  top: 10px;
  right: 15%;
  width: 130px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card-wrapper {
  position: relative;
}

.service-card-shadow {
  position: absolute;
  top: 15px;
  left: -15px;
  width: 100%;
  height: 100%;
  background: var(--shadow-pattern-light);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.service-card {
  position: relative;
  background-color: #ffffff;
  color: var(--text-dark);
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-logo-placeholder {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-logo-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}





/* Contact Section */
.contact-section {
  background-color: var(--light-blue);
  padding: 80px 10%;
  color: var(--text-dark);
}

.contact-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 45px;
  letter-spacing: 1px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.6fr;
  gap: 50px;
}

.contact-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.contact-col p {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  border: 1px solid #777777;
  padding: 10px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  background-color: #ffffff;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.submit-btn {
  align-self: flex-end;
  background-color: #2b2b2b;
  color: #ffffff;
  border: none;
  padding: 10px 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #000000;
}

/* Footer Section */
footer {
  background-color: var(--footer-bg);
  color: #888888;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #222222;
}

footer p {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: #888888;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #ffffff;
}

/* Custom brush decoration stylings */
.brush-stroke-image {
  object-fit: contain;
  pointer-events: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 50px;
  }
  
  .hero-left {
    padding-right: 0;
    padding-left: 0;
    justify-content: center;
    margin-top: 50px;
    border-right: none;
  }
  
  .hero-image-wrapper {
    width: 90%;
    max-width: 480px;
    height: 350px;
  }
  
  .hero-right-bg {
    display: none;
  }
  
  .hero-title-box {
    position: relative;
    right: 0;
    top: -20px;
    transform: none;
    margin: 0 auto;
    width: 90%;
    max-width: 480px;
    padding: 35px 50px 35px 35px;
  }
  
  .hero-title-box h2 {
    font-size: 2.2rem;
  }
  
  .story-section {
    grid-template-columns: 1fr;
    padding: 50px 20px;
  }
  
  .story-blue-bg {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .story-right {
    padding-right: 0;
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 25px;
    position: relative;
  }
  
  .logo-img {
    height: 55px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-blue);
    padding: 0 25px;
    margin-right: 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-links.active {
    max-height: 350px;
    padding: 20px 25px;
    gap: 15px;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 12px;
    font-size: 1rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: none;
    padding-bottom: 12px;
  }
  
  .hero-title-box {
    padding: 25px 45px 25px 25px;
    border-radius: 20px;
    border-width: 4px;
    max-width: 400px;
  }
  
  .hero-title-box h2 {
    font-size: 1.8rem;
  }
  
  .hero-socials {
    right: 12px;
    gap: 12px;
  }
  
  .hero-socials a {
    font-size: 1rem;
  }
  

  
  footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
