/* ============================================
   GATEWAY CO. PROFESSIONAL WALLPAPER WEBSITE
   Design: Modern Premium Service Business
   Color Palette: Deep Navy, White/Light Gray, Soft Gold
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 30, 60, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: #d4af37;
}

.logo-text {
    background: linear-gradient(135deg, #d4af37, #f0e68c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: #d4af37;
    color: #0f1e3c;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-cta:hover {
    background: #f0e68c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 30, 60, 0.7), rgba(15, 30, 60, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 40px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e8e8e8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: #d4af37;
    border-radius: 50%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #d4af37;
    color: #0f1e3c;
}

.btn-primary:hover {
    background: #f0e68c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #d4af37;
}

.btn-secondary:hover {
    background: #d4af37;
    color: #0f1e3c;
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS & SPACING
   ============================================ */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #0f1e3c;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f0e68c);
    border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: #f8f8f8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    color: #0f1e3c;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-top-color: #d4af37;
}

.service-icon {
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card h3 {
    font-size: 20px;
    color: #0f1e3c;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-us {
    background: linear-gradient(135deg, #f8f8f8, #fff);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit {
    display: flex;
    gap: 20px;
}

.benefit-icon {
    font-size: 28px;
    color: #d4af37;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit h3 {
    font-size: 18px;
    color: #0f1e3c;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   BEFORE & AFTER SECTION
   ============================================ */
.before-after {
    background: #f8f8f8;
}

.before-after-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.before-after-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 30, 60, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay p {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: #f8f8f8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #d4af37;
}

.stars {
    color: #d4af37;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: #0f1e3c;
    font-size: 13px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    padding: 30px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #0f1e3c;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: linear-gradient(135deg, #f8f8f8, #fff);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    color: #0f1e3c;
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.detail-label {
    font-size: 12px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.detail-item p,
.detail-item a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.detail-item a:hover {
    color: #d4af37;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f1e3c;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #d32f2f;
}

.error-message {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    background: #f8f8f8;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.floating-call,
.floating-quote {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.floating-call {
    background: #d4af37;
    color: #0f1e3c;
    bottom: 80px;
    right: 30px;
}

.floating-call:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.floating-quote {
    background: #0f1e3c;
    color: #d4af37;
    bottom: 30px;
    right: 30px;
}

.floating-quote:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(15, 30, 60, 0.4);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: #0f1e3c;
    color: #d4af37;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f1e3c;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f0e68c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #d4af37;
    color: #0f1e3c;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.footer-bottom a {
    color: #d4af37;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-load {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .floating-call,
    .floating-quote,
    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .floating-quote {
        bottom: 25px;
        right: 25px;
    }

    .floating-call {
        bottom: 75px;
        right: 25px;
    }

    .scroll-to-top {
        right: 85px;
    }

    section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .services-grid,
    .gallery-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .floating-call,
    .floating-quote,
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .floating-quote {
        bottom: 20px;
        right: 20px;
    }

    .floating-call {
        bottom: 70px;
        right: 20px;
    }

    .scroll-to-top {
        right: 80px;
    }
}
