@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');
:root {
    --bg-black: #0a0a0a;
    --gold: #c9a24b;
    --gold-bright: #f0cf7a;
    --white: #f5f3ee;
    --line: rgba(201, 162, 75, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    line-height: 1.6;
    background-color: var(--bg-black);
    background-image:
        repeating-linear-gradient(0deg, var(--line) 0px, var(--line) 1px, transparent 1px, transparent 96px),
        repeating-linear-gradient(90deg, var(--line) 0px, var(--line) 1px, transparent 1px, transparent 96px),
        repeating-radial-gradient(circle at 0 0, rgba(201, 162, 75, 0.10) 0px, rgba(201, 162, 75, 0.10) 2px, transparent 3px, transparent 192px),
        repeating-radial-gradient(circle at 96px 96px, rgba(201, 162, 75, 0.06) 0px, rgba(201, 162, 75, 0.06) 2px, transparent 3px, transparent 192px);
    background-size: 96px 96px, 96px 96px, 192px 192px, 192px 192px;
    background-attachment: fixed, fixed, fixed, fixed;
    padding: 0 1rem 3rem;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 0;
}

img,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.18;
    background: radial-gradient(circle, var(--gold-bright), transparent 70%);
    pointer-events: none;
    animation: drift 22s ease-in-out infinite alternate;
    z-index: 0;
}
.glow.g1 { width: 420px; height: 420px; top: 8%; left: -6%; }
.glow.g2 { width: 320px; height: 320px; top: 55%; right: -8%; animation-delay: 6s; }
.glow.g3 { width: 260px; height: 260px; top: 82%; left: 20%; animation-delay: 12s; }

@keyframes drift {
    from { transform: translate(0, 0); }
    to   { transform: translate(30px, -40px); }
}

@media (prefers-reduced-motion: reduce) {
    .glow { animation: none; }
}

#overlay {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 2px solid var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.wrapper {
    position: relative;
    width: 100%;
    min-height: 240px;
    background: url('https://via.placeholder.com/1600x400') center/cover no-repeat;
    overflow: hidden;
}

.overlay-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    color: var(--white);
    font-style: italic;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    text-align: center;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
}

.nav-link:hover {
    text-decoration: underline;
    color: var(--gold-bright);
}

section {
    position: relative;
    z-index: 1;
}

.stat-numbers,
.stat-numbers-main {
    margin: 0;
    font-family: 'Libre Baskerville', serif;
    font-weight: 600;
}

.stat-numbers {
    color: var(--white);
    font-size: clamp(1.1rem, 1.4vw, 1.8rem);
}

.stat-numbers-main {
    color: var(--gold-bright);
    font-size: clamp(1.4rem, 2vw, 2.4rem);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.catch-phrase {
    color: var(--white);
    text-align: center;
    margin: 6rem auto 15rem;
    max-width: 1100px;
    padding: 0 1rem;
}

.innovator {
    color: var(--gold-bright);
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-align: center;
    margin-top: 1rem;
}

.hero-subtext {
    color: var(--white);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    max-width: 720px;
    margin: 1.5rem auto 2rem;
    opacity: 0.85;
}

.hero-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-black);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.95rem 2rem;
    border-radius: 8px;
    transition: background 0.25s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    justify-items: center;
    gap: 4rem;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
    max-width: 820px;
    margin: 0 auto;
}

.stat-number {
    color: var(--gold-bright);
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    font-weight: 600;
    margin: 0;
}

.stat-label {
    color: var(--white);
    font-size: 0.95rem;
    opacity: 0.75;
    margin: 0.25rem 0 0;
    font-family: 'Inter', sans-serif;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    text-align: center;
    margin: 0 auto 1.5rem;
    text-decoration: underline;
    color: var(--gold);
    font-family: 'Libre Baskerville', serif;
    max-width: 1000px;
}

.about-content {
    color: var(--white);
    font-size: clamp(1rem, 1.1vw, 1.25rem);
    line-height: 1.8;
    text-align: left;
    max-width: 720px;
    width: min(100%, 720px);
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    border-radius: 20px;
    flex: 1 1 320px;
    min-width: 0;
}

.wrapper1 {
    width: min(100%, 1200px);
    min-height: auto;
    overflow: hidden;
    margin: 0 auto;
    padding: 2rem 1rem 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.image-section {
    flex: 0 1 320px;
    width: 100%;
    max-width: 320px;
    min-width: 0;
}

.image-section img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .image-section {
        max-width: min(280px, 100%);
    }

    .about-content {
        width: 100%;
        padding: 0;
        text-align: left;
    }
}

.videos-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 300px;
    max-height: 420px;
    border-radius: 16px;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
    max-width: 1200px;
    justify-items: center;
}

@media (max-width: 980px) {
    .videos-container {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }
}

@media (max-width: 640px) {
    .videos-container {
        grid-template-columns: 1fr;
    }
}

.carousel {
    margin: 6rem auto;
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    animation: spin 40s infinite linear;
}

.card {
    flex: 0 0 min(240px, 90%);
    min-width: 220px;
    max-width: 280px;
    padding: 1.2rem;
    border: 1px solid var(--gold);
    background: rgba(255, 255, 255, 0.03);
    font-size: 1.8rem;
    border-radius: 18px;
    text-align: center;
    position: relative;
}

@keyframes spin {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.card h6 {
    font-size: 1rem;
    color: var(--white);
    text-align: center;
    margin-top: 1rem;
    font-weight: 400;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
    max-width: 1200px;
}

section > h1 {
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: left;
    margin: 4rem 0 1rem;
    text-decoration: underline;
    font-family: 'Libre Baskerville', serif;
}

.contact-container {
    max-width: 720px;
    margin: 3rem auto;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
}

.contact-intro {
    color: var(--white);
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.contact-info {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background-color: rgba(201, 162, 75, 0.05);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 0.9rem;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(201, 162, 75, 0.12);
    border-color: var(--gold-bright);
    box-shadow: 0 0 12px rgba(240, 207, 122, 0.18);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--white);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.form-message {
    text-align: center;
    font-size: 0.95rem;
    margin: 0;
    min-height: 1.5rem;
    display: none;
}

.form-message.success {
    color: #4ade80;
    display: block;
}

.form-message.error {
    color: #f87171;
    display: block;
}

@media (max-width: 1024px) {
    .overlay-content {
        padding: 0 16px;
    }

    .wrapper {
        min-height: 200px;
    }

    .row {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .image-section {
        width: 40%;
    }

    .about-content {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .overlay-content {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
    }

    #overlay {
        height: auto;
        padding: 0.75rem 0;
    }

    .catch-phrase {
        margin-top: 5.5rem;
    }

    .hero-cta {
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .row {
        flex-direction: column;
        align-items: center;
    }

    .image-section,
    .about-content {
        width: 100%;
    }

    .about-content {
        padding: 1.5rem;
    }

    .carousel {
        padding: 0.75rem;
    }

    .group {
        gap: 1rem;
        animation: none;
    }

    .card {
        min-width: 210px;
        font-size: 1.6rem;
    }

    .videos-container {
        gap: 1rem;
        margin: 1.5rem auto 3rem;
        padding: 0;
    }

    .contact-container {
        margin: 2rem 0;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 0.75rem 2rem;
    }

    .brand {
        font-size: 1.9rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .innovator {
        font-size: 2.5rem;
    }

    .hero-subtext {
        font-size: 0.98rem;
    }

    .hero-cta {
        padding: 0 0.5rem;
    }

    .btn-primary {
        width: 100%;
        padding: 0.85rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section > h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .contact-container {
        padding: 1.25rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
    }

    .videos-container {
        grid-template-columns: 1fr;
    }
}

.hero-cta {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-black);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    transition: background 0.25s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
    max-width: 700px;
    margin: 0 auto;
}

.stat-number {
    color: var(--gold-bright);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Libre Baskerville', serif;
    margin: 0;
}

.stat-label {
    color: var(--white);
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0.25rem 0 0;
    font-family: 'Inter', sans-serif;
}
/* Skills Section */
.carousel {
    margin: 3rem auto 4rem;
    width: 100%;
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 0.75rem 1.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.group {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    flex: 0 0 auto;
    animation: none;
    scroll-snap-align: start;
}

.card {
    flex: 0 0 min(240px, 82vw);
    min-width: 0;
    min-height: 220px;
    padding: 1rem;
    border: 1px solid var(--gold);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    border-radius: 18px;
    position: relative;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-wrap: anywhere;
}

@keyframes spin {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

h6 {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    color: var(--white);
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.5;
    font-weight: 400;
}

@media (min-width: 769px) {
    .group {
        animation: spin 40s infinite linear;
    }
}

@media (max-width: 768px) {
    .carousel {
        gap: 0.75rem;
        padding: 0.35rem 0.5rem 1rem;
    }

    .group {
        gap: 0.75rem;
    }

    .card {
        flex-basis: min(80vw, 240px);
        min-height: 210px;
        padding: 1rem 0.9rem;
    }
}

/*Websites*/
.sliders {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sliders .prices {
    flex: 1 1 320px;
    max-width: 480px;
    margin: 1rem 0;
}
.section-title-1{
    color: silver;
     font-size: clamp(2rem, 4vw, 2.9rem);
    text-align: center;
    margin: 0 auto 1.5rem;
    text-decoration: underline;
   
    font-family: 'Libre Baskerville', serif;
    max-width: 1000px;
}
.price{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 3rem;
    text-align: center;
    text-decoration: underline ;
    color:#c9a24b;
    margin: 0.2rem;
}
.price-350{
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 3rem;
    text-align: center;
    text-decoration: underline ;
    color:silver;
    margin: 0.2rem;
}

h4{
    color: var(--gold-bright)
}
/*slider*/
.avila-review-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.avila-review-text {
  flex: 1 1 320px;
  max-width: 600px;
  margin: 0;
}

.avila-slider-wrapper {
  position: relative;
  width: min(60rem, 120vw);
  margin: 5;
  flex-shrink: 0;
}

.avila-slider {
  display: flex;
  aspect-ratio: 16 / 6;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  box-shadow: 0 1.5rem 3rem hsla(0, 0%, 0%, 0.25);
  border-radius: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.avila-slider::-webkit-scrollbar {
  display: none;
}

.avila-slider img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avila-slider-nav

/* Portfolio Section */
.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
    max-width: 1200px;
}

h1{
    color: var(--gold);
    font-size: 2.5rem;
    text-align: left;
    margin-top: 7rem;
    margin-left: 60px;
    text-decoration: underline;
    font-family: 'Libre Baskerville', serif;
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 60px 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
}

.contact-intro {
    color: var(--white);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.85;
    font-family: 'Inter', sans-serif;
}

.contact-info {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group textarea {
    background-color: rgba(201, 162, 75, 0.05);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(201, 162, 75, 0.1);
    border-color: var(--gold-bright);
    box-shadow: 0 0 10px rgba(240, 207, 122, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--white);
    opacity: 0.5;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.form-message {
    text-align: center;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 1.5rem;
    display: none;
}

.form-message.success {
    color: #4ade80;
    display: block;
}

.form-message.error {
    color: #f87171;
    display: block;
}