/* ===== CPS PREMIUM MINIMAL DESIGN ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500&display=swap');

:root {
    --cps-red: #e63946;
    --cps-purple: #7b2cbf;
    --cps-blue: #1d3557;
    --cps-orange: #ff8c00;
    --cps-gradient: linear-gradient(90deg, #e63946 0%, #7b2cbf 50%, #1d3557 100%);
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text: #2d3436;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.8;
}

section {
    padding: 100px 20px;
}

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

h2,
h3,
h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

/* ===== HEADER GLASS EFFECT ===== */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}



.logo h1 {
    font-size: 1.5rem;
    background: var(--cps-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    color: var(--cps-purple);
}

.logo p {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #636e72;
    text-align: center;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--cps-gradient);
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ===== HERO FULLSCREEN ===== */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--light-bg);
    padding-top: 120px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--cps-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.hero-content p {
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #636e72;
}

.hero-content a {
    display: inline-block;
    padding: 15px 40px;
    margin: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.hero-content a:first-of-type {
    background: var(--cps-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.3);
}

.hero-content a:last-of-type {
    background: transparent;
    color: var(--cps-blue);
    border: 2px solid var(--cps-blue);
}

.hero-content a:hover {
    transform: translateY(-3px);
}

/* ===== SECTION BACKGROUNDS ===== */
#about,
#stationery {
    background: var(--white);
}

#services,
#why-us,
#contact {
    background: var(--light-bg);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--cps-gradient);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ===== GRID LAYOUTS ===== */
.about-features,
.services-container,
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    background-color: var(--cps-blue);
}

.about-features div,
.service,
.advantages div,
.stationery-item {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s;
    border: 1px solid #eee;
}

.about-features div:hover,
.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service h3 {
    color: var(--cps-purple);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service ul {
    list-style: none;
}

.service ul li {
    padding: 8px 0;
    color: var(--cps-gradient);
}

.service ul li::before {
    content: '→';
    color: var(--cps-red);
    margin-right: 10px;
    font-weight: bold;
    color: var(--cps-gradient);
}

.advantages div {
    background: var(--cps-blue);
    color: white;
    text-align: center;
}

.advantages h3 {
    color: var(--cps-orange);
}

/* ===== CONTACT ===== */
.contact-container {
    display: inline-flexbox;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--cps-purple);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: white;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: 'Inter';
    transition: 0.3s;
}

.quote-form input:focus {
    border-color: var(--cps-purple);
    outline: none;
}

.btn-primary {
    background: var(--cps-gradient);
    color: white;
    border: none;
    padding: 16px;
    width: 100%;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.4);
}

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

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--light-bg);
    color: var(--cps-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--cps-gradient);
    color: white;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--light-bg);
    color: var(--cps-purple);
    padding: 60px 20px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
    color: var(--cps-gradient);
}

.logo-accent {
    background: var(--light-bg);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.footer a {
    color: var(--cps-purple);
    margin: 0 10px;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}
/* ===== SOCIAL MEDIA ICONS - LOGO ONLY ===== */
.social-links,
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icon,
.footer-social a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    background: var(--cps-gradient);
    /* CPS gradient by default */
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.25);
}

.social-icon:hover,
.footer-social a:hover {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
}

/* Brand colors on hover */
.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.twitter:hover {
    background: #000;
}

.social-icon.whatsapp:hover {
    background: #25D366;
}

/* Footer version - smaller */
.footer-social a {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
}

/* Remove the ::after names we added before */
.social-icon::after,
.footer-social a::after {
    content: none !important;
}

/* ===== FIX HEADER OVERLAP ON MOBILE ===== */
body {
    padding-top: 100px;
    /* space for desktop header */
}

@media (max-width: 900px) {
    body {
        padding-top: 160px;
        /* header becomes 2 lines on mobile */
    }

    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 180px;
        /* even more for small phones */
    }
}

/* ===== FIX LOGO GRADIENT BUG ===== */
.logo-accent {
    background: var(--cps-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    /* was wrong before */
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* FORCE CENTER PEN GALLERY */
.services-section {
    text-align: center;
    padding: 50px 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.pen-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    /* THIS CENTERS THEM */
    align-items: center !important;
    gap: 20px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    /* THIS CENTERS THE WHOLE BLOCK */
}

.pen-card {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.pen-card:hover {
    transform: scale(1.1) translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Social icons container */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* space between icons */
    flex-wrap: wrap;
    /* so they don't break on very small screens */
    margin-top: 15px;
}

/* Make each icon a circle */
.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4b8b, #6a00ff);
    /* your gradient */
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}