/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* --- Variables & Theme Setup --- */
:root {
  --navy: #22263e;
  --navy-light: #4b4f69;
  --navy-dark: #101222;
  --gold: #D4AF37;
  --gold-light: #e8dcc0;
  --gold-dark: #b48e43;
  --offwhite: #f9fafb;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-serif: "Playfair Display", serif;
  --font-sans: "Lato", sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  --container-width: 1280px;
  --header-height: 80px;
}

/* --- Reset & Global --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background-color: var(--offwhite);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* --- Utility Classes --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.font-serif { font-family: var(--font-serif); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.italic { font-style: italic; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }

@media(min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .md-hidden { display: none; }
  .md-flex { display: flex; }
}

@media(min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Header / Navbar --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
}
.site-header.transparent { background: transparent; padding: 10px 0; }
.site-header.scrolled { background: var(--white); box-shadow: var(--shadow-md); padding: 0; }

.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px;
}

.nav-brand img { height: 64px; width: auto; transition: transform 0.3s; }
.site-header.scrolled .nav-brand img { transform: scale(0.9); }

.desktop-menu { display: none; gap: 2rem; }
@media(min-width: 768px) { .desktop-menu { display: flex; } }

.nav-link {
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; position: relative; padding-bottom: 5px;
}
.site-header.transparent .nav-link { color: var(--gray-200); }
.site-header.scrolled .nav-link { color: var(--navy); }
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }

.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.mobile-toggle { background: none; border: none; cursor: pointer; color: var(--white); }
.site-header.scrolled .mobile-toggle { color: var(--navy); }

.mobile-menu {
  position: absolute; top: 100%; left: 0; width: 100%;
  background: var(--white); border-top: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
}
.mobile-link {
  padding: 1rem; text-align: center; border-bottom: 1px solid var(--gray-100);
  color: var(--navy); font-weight: 600;
}
.mobile-link.active { color: var(--gold); background: var(--gray-50); }

/* --- Hero Section --- */
.hero-section {
  position: relative; height: 105vh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-attachment: fixed; opacity: 0.9;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(34,38,62,0.6), rgba(34,38,62,0.4), rgba(34,38,62,0.8));
  mix-blend-mode: multiply;
}
.hero-content {
  position: relative; z-index: 10; text-align: center; color: var(--white); padding: 0 1rem;
}
.hero-subtitle {
  display: block; color: var(--gold); letter-spacing: 0.3em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-serif); font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
@media(min-width: 768px) { .hero-title { font-size: 6rem; } }

.hero-gradient-text {
  background: linear-gradient(to right, var(--gold-light), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic;
}
.hero-desc {
  font-size: 1.25rem; font-weight: 300; color: var(--gray-200); max-width: 600px; margin: 0 auto 2.5rem;
}
.btn-outline {
  display: inline-block; padding: 1.2rem 3rem; border: 1px solid var(--gold);
  color: var(--white); font-family: var(--font-serif); font-style: italic; font-size: 1.25rem;
  position: relative; overflow: hidden; background: transparent;
}
.btn-outline:hover { background: var(--gold); }

.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); animation: bounce 2s infinite;
}

/* --- Inner Page Banner --- */
.inner-banner {
  position: relative; height: 60vh; min-height: 500px;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.inner-overlay { position: absolute; inset: 0; background:#0B123DD9; mix-blend-mode: multiply; }
.inner-overlay-dark { position: absolute; inset: 0; background: rgba(0,0,0,0.2); }
.banner-content { position: relative; z-index: 10; text-align: center; color: var(--white); padding: 1rem; }
.banner-title { font-family: var(--font-serif); font-size: 4rem; font-weight: 700; }
.separator { width: 100px; height: 4px; background: var(--gold); margin: 2rem auto 0; }

/* --- Sections & Components --- */
.section-padding { padding: 6rem 0; }
.bg-navy { background-color: var(--navy); color: var(--white); }
.bg-white { background-color: var(--white); }
.bg-offwhite { background-color: var(--offwhite); }

/* Icons / Features */
.feature-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.icon-circle {
  width: 5rem; height: 5rem; border-radius: 50%; border: 1px solid rgba(197, 160, 89, 0.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
  transition: all 0.3s;
}
.feature-card:hover .icon-circle { background: var(--gold); border-color: var(--gold); }
.icon-circle svg { width: 2rem; height: 2rem; color: var(--gold); transition: color 0.3s; }
.feature-card:hover .icon-circle svg { color: var(--white); }

/* Service Cards */
.service-card {
  background: var(--white); box-shadow: var(--shadow-lg); transition: all 0.5s;
  height: 100%; position: relative; display: block; overflow: hidden;
}
.service-card:hover { box-shadow: var(--shadow-2xl); transform: translateY(-5px); }
.card-image { height: 200px; overflow: hidden; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.service-card:hover .card-image img { transform: scale(1.1); }
.card-content { padding: 2rem; position: relative; }
.card-icon {
  position: absolute; top: -2rem; right: 2rem; background: var(--navy); padding: 1rem;
  border-radius: 50%; border: 4px solid var(--white); color: var(--white);
  box-shadow: var(--shadow-md); transition: background 0.3s;
}
.service-card:hover .card-icon { background: var(--gold); }
.learn-more { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); display: flex; align-items: center; }

/* Testimonials */
.testimonial-box {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.1); position: relative;
}
.quote-mark { font-family: var(--font-serif); font-size: 4rem; color: var(--gold); opacity: 0.5; position: absolute; top: 1rem; left: 1.5rem; line-height: 1; }

/* Footer */
.site-footer {
  background: var(--navy); color: var(--white); border-top: 8px solid var(--gold);
  position: relative; overflow: hidden;
}
.footer-content { padding: 5rem 0; position: relative; z-index: 10; }
.footer-brand h2 { font-family: var(--font-serif); font-size: 3rem; font-style: italic; color: var(--gold); line-height: 1; margin-bottom: 1rem; }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy-light);
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--navy-dark);
  color: var(--gold); transition: all 0.3s;
}
.social-btn:hover { background: var(--gold); color: var(--white); }
.footer-heading { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); margin-bottom: 1.5rem; font-style: italic; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { font-size: 0.9rem; color: var(--gray-300); display: flex; align-items: center; }
.footer-links a:hover { color: var(--gold); transform: translateX(5px); }
.contact-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { color: var(--gold); background: var(--navy-light); padding: 0.5rem; border-radius: 50%; height:37px; }
.copyright { background: var(--navy-dark); padding: 2rem 0; border-top: 1px solid var(--navy-light); font-size: 0.8rem; color: var(--gray-500); }

/* --- Forms --- */
.form-box { background: var(--white); padding: 2rem; border-top: 4px solid var(--gold); box-shadow: var(--shadow-xl); }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 1rem; border: 1px solid var(--gray-300); outline: none; transition: border-color 0.3s; font-family: inherit;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2); }
.btn-submit {
  width: 100%; padding: 1rem; background: var(--gold); color: var(--white); border: none;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: background 0.3s;
}
.btn-submit:hover { background: var(--gold-dark); }

/* --- Animations --- */
.reveal-section { opacity: 0; transform: translateY(30px); transition: opacity 1s, transform 1s; }
.reveal-section.active { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }

.svg-draw-path {
  stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s ease;
}
.active .svg-draw-path, .animate-init .svg-draw-path { stroke-dashoffset: 0; }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
