/* ============================================
   TIED KNOT - Redesigned Styles
   Colors: Turquoise #00BCB6, Blue #009FD9, Charcoal #3C3C3C
   Fonts: Poppins (headings), Work Sans (body)
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: #3C3C3C;
    background: #F0FDFA;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #3C3C3C;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: #00BCB6;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #009FD9;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #00BCB6, #009FD9);
    color: #ffffff;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 188, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 188, 182, 0.4);
    color: #ffffff;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 14px 36px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ---------- NAVIGATION ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 188, 182, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand a {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #3C3C3C;
    letter-spacing: -0.5px;
}

.nav-brand a:hover {
    color: #00BCB6;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #3C3C3C;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00BCB6, #009FD9);
    transition: width 0.25s ease;
}

.nav-menu a:hover {
    color: #00BCB6;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #3C3C3C;
    cursor: pointer;
    padding: 8px;
}

/* ---------- HERO ---------- */
.hero {
    padding: 160px 0 120px;
    background: linear-gradient(135deg, #00BCB6 0%, #009FD9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Floating abstract elements */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: #ffffff;
    margin-bottom: 8px;
}

.hero .tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 12px;
}

.hero .hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* ---------- SECTION COMMON ---------- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: #ffffff;
}

.section-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00BCB6;
    margin-bottom: 8px;
}

.section-decoration {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00BCB6, #009FD9);
    border-radius: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #3C3C3C;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #3C3C3C;
    max-width: 640px;
    margin-bottom: 48px;
    opacity: 0.8;
}

/* ---------- SERVICES CARDS ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 188, 182, 0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 50px rgba(0, 188, 182, 0.15);
}

.service-card .icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00BCB6, #009FD9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3C3C3C;
    margin-bottom: 12px;
}

.service-card p {
    color: #3C3C3C;
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.service-card .card-link {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    color: #00BCB6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.service-card .card-link:hover {
    gap: 12px;
    color: #009FD9;
}

/* ---------- PORTFOLIO ---------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.portfolio-item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 188, 182, 0.08);
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 50px rgba(0, 188, 182, 0.12);
}

.portfolio-image {
    background: linear-gradient(135deg, rgba(0, 188, 182, 0.1), rgba(0, 159, 217, 0.1));
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00BCB6;
    font-size: 3rem;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-body {
    padding: 24px 28px 28px;
}

.portfolio-body .category {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #009FD9;
    margin-bottom: 4px;
}

.portfolio-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3C3C3C;
    margin-bottom: 8px;
}

.portfolio-body p {
    color: #3C3C3C;
    font-size: 0.92rem;
    margin-bottom: 16px;
    opacity: 0.8;
}

.portfolio-body .project-link {
    font-weight: 500;
    color: #00BCB6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.portfolio-body .project-link:hover {
    gap: 12px;
    color: #009FD9;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    background: linear-gradient(135deg, #3C3C3C, #2a2a2a);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 32px;
}

/* ---------- ABOUT PAGE ---------- */
.about-content {
    max-width: 800px;
}

.about-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #3C3C3C;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.about-content .tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00BCB6;
    margin-bottom: 32px;
}

.about-content p {
    font-size: 1.05rem;
    color: #3C3C3C;
    margin-bottom: 20px;
    opacity: 0.8;
}

.about-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3C3C3C;
    margin-top: 40px;
    margin-bottom: 12px;
}

/* ---------- CONTACT PAGE ---------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 16px;
}

.contact-info h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #3C3C3C;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 1.05rem;
    color: #3C3C3C;
    margin-bottom: 12px;
    opacity: 0.8;
}

.contact-form label {
    display: block;
    font-weight: 500;
    color: #3C3C3C;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 188, 182, 0.15);
    border-radius: 12px;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: #3C3C3C;
    transition: border-color 0.2s ease;
    background: #ffffff;
    margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00BCB6;
    box-shadow: 0 0 0 4px rgba(0, 188, 182, 0.1);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
}

.contact-email {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 188, 182, 0.1);
}

.contact-email h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 4px;
}

.contact-email p {
    font-size: 1rem;
    color: #3C3C3C;
    opacity: 0.8;
}

/* ---------- FOOTER ---------- */
footer {
    background: #3C3C3C;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 32px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #00BCB6;
}

.footer-social {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
    color: #00BCB6;
    border-color: #00BCB6;
    background: rgba(0, 188, 182, 0.1);
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(0, 188, 182, 0.1);
        display: none;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .tagline {
        font-size: 1.4rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-nav ul {
        align-items: center;
    }
    
    .contact-info h1 {
        font-size: 2.2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .about-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .tagline {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 56px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .service-card {
        padding: 28px 20px;
    }
}