/* ============================================
   SYLFIRM X PAGE STYLES
   ============================================ */

/* Hero Cover Section */
.procedure-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 3rem 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/* Hero Brand Logo - Top Left */
.hero-brand-logo {
    position: absolute;
    top: 3rem;
    left: 5rem;
    max-width: 320px;
    animation: fadeInLeft 1s ease-out;
}

.hero-brand-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

/* Hero Device Image - Right Side */
.hero-device-image {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    max-width: 450px;
    animation: fadeInRight 1s ease-out;
}

.hero-device-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.4));
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ============================================
   TITLE SECTION
   ============================================ */

.title-section {
    padding: 3rem 3rem;
    background: #fff;
    text-align: center;
}

.title-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ============================================
   QUICK INFO SECTION
   ============================================ */

.quick-info {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    padding: 0.1rem;
    margin: 0 auto;
}

.quick-info .container {
    max-width: 1400px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
}

.info-card {
    background: transparent;
    padding: 1.5rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card img {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    flex: 1;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits-section {
    padding: 3rem 3rem;
    background: #fff;
}

.benefits-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    align-items: stretch;
}

.benefits-grid > img {
    width: auto;
    height: 100%;
    min-height: 100%;
    max-width: 450px;
    object-fit: cover;
    border-radius: 15px 0 0 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.benefit-card {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    padding: 3rem 2.5rem;
    border-radius: 0 15px 15px 0;
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 1.5rem;
    row-gap: 1.8rem;
    align-items: center;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.benefit-card img {
    width: 100%;
    height: auto;
    justify-self: start;
}

.benefit-card h3 {
    font-size: 1.15rem;
    color: white;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

/* ============================================
   APPLICATIONS SECTION
   ============================================ */

.applications-section {
    padding: 3rem 3rem;
    background: #f8f9fa;
}

.applications-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.application-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    padding: 0.3rem;
}

.application-item:hover {
    transform: translateX(8px);
}

.application-item img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.application-item span {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}


/* ============================================
   TECHNOLOGY SECTION
   ============================================ */

.technology-section {
    padding: 3rem 3rem;
    background: #fff;
}

.technology-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.tech-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.tech-block {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(201,169,97,0.2);
}

.tech-block h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.tech-block p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

.tech-needle-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

/* ============================================
   TREATMENT PROCESS SECTION
   ============================================ */

.process-section {
    padding: 3rem 3rem;
    background: #f8f9fa;
}

.process-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #c9a961;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(201,169,97,0.3);
}

.step img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.step p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Process Video Styling */
.process-video {
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.process-video video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.process-video video:hover {
    box-shadow: 0 8px 35px rgba(201, 169, 97, 0.25);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 1024px) {
    /* Hero Section */
    .procedure-hero {
        height: 70vh;
        max-height: 700px;
    }

    .hero-content-wrapper {
        padding: 2.5rem 3rem;
    }

    .hero-brand-logo {
        left: 3rem;
        max-width: 240px;
    }

    .hero-device-image {
        max-width: 320px;
    }

    /* Technology Section */
    .tech-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Process Section */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Applications Grid */
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
    /* Hero Section - Keep elements positioned but smaller */
    .procedure-hero {
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-cover-image img {
        object-position: center 30%;
    }

    .hero-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .hero-brand-logo {
        position: absolute;
        left: 1.5rem;
        top: 2rem;
        max-width: 140px;
    }

    .hero-device-image {
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        max-width: 160px;
    }

    /* Title Section */
    .title-section {
        padding: 4rem 2rem;
    }

    /* Quick Info */
    .quick-info {
        padding: 3rem 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1.2rem 1rem;
    }

    .info-card img {
        width: 60px;
    }

    .info-card h3 {
        font-size: 0.95rem;
    }

    /* Benefits Section */
    .benefits-section {
        padding: 4rem 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 0;
    }

    .benefits-grid > img {
        width: 100%;
        height: auto;
        max-width: 100%;
        border-radius: 15px 15px 0 0;
    }

    .benefit-card {
        border-radius: 0 0 15px 15px;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .benefit-card img {
        width: 45px;
        height: 45px;
    }

    .benefit-card h3 {
        font-size: 1rem;
    }

    /* Applications Section */
    .applications-section {
        padding: 4rem 1.5rem;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .application-item {
        padding: 0.2rem;
    }

    /* Technology Section */
    .technology-section {
        padding: 4rem 1.5rem;
    }

    .tech-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-block {
        padding: 2rem 1.5rem;
    }

    .tech-block h3 {
        font-size: 1.4rem;
    }

    .tech-block p {
        font-size: 1rem;
    }

    /* Process Section */
    .process-section {
        padding: 4rem 1.5rem;
    }

    .step {
        padding: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
    /* Hero Section - Keep left/right positioning but even smaller */
    .procedure-hero {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
    }

    .hero-content-wrapper {
        padding: 1.5rem 1rem;
    }

    .hero-brand-logo {
        left: 1rem;
        top: 1.5rem;
        max-width: 110px;
    }

    .hero-device-image {
        right: 1rem;
        max-width: 120px;
    }

    /* Title Section */
    .title-section {
        padding: 3rem 1.5rem;
    }

    /* Quick Info */
    .quick-info {
        padding: 2.5rem 1rem;
    }

    .info-card {
        padding: 1rem 0.8rem;
        gap: 1rem;
    }

    .info-card img {
        width: 50px;
    }

    .info-card h3 {
        font-size: 0.9rem;
    }

    /* Benefits Section */
    .benefits-section {
        padding: 3rem 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .benefits-grid > img {
        width: 100%;
        height: auto;
        max-width: 100%;
        border-radius: 15px 15px 0 0;
    }

    .benefit-card {
        border-radius: 0 0 15px 15px;
        padding: 1.5rem 1.2rem;
        gap: 1.2rem;
    }

    .benefit-card img {
        width: 40px;
        height: 40px;
    }

    .benefit-card h3 {
        font-size: 0.95rem;
    }

    /* Applications Section */
    .applications-section {
        padding: 3rem 1rem;
    }

    .application-item {
        font-size: 0.95rem;
    }

    .application-item img {
        width: 20px;
        height: 20px;
    }

    /* Technology Section */
    .technology-section {
        padding: 3rem 1rem;
    }

    .tech-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .tech-block {
        padding: 1.5rem 1rem;
    }

    .tech-block h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .tech-block p {
        font-size: 0.95rem;
    }

    /* Process Section */
    .process-section {
        padding: 3rem 1rem;
    }

    .step {
        padding: 1.2rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .step p {
        font-size: 0.95rem;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION FIX FOR MOBILE
   ============================================ */

@media (max-width: 968px) and (orientation: landscape) {
    
    .procedure-hero {
        height: 70vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-content-wrapper {
        padding: 2rem;
    }

    .hero-brand-logo {
        left: 2rem;
        top: 2rem;
        max-width: 130px;
    }

    .hero-device-image {
        right: 2rem;
        max-width: 180px;
    }

}