
/* ==================================================
   TOMO — PREMIUM FURNITURE WEBSITE
   CLEAN RESPONSIVE CSS
   ================================================== */


/* 01. ROOT */

:root {
    --purple: #68458C;
    --pink: #B65F83;
    --orange: #D99365;
    --dark: #29232D;
    --cream: #FCF9F7;
    --muted: #827984;

    --gradient: linear-gradient(
        115deg,
        #68458C 0%,
        #93608F 35%,
        #C27682 68%,
        #D99365 100%
    );
}


/* 02. RESET */

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

html {
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.7;
    padding-bottom: 0;
    overflow-x: clip;
    -webkit-tap-highlight-color: transparent;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button,
input,
select,
textarea {
    max-width: 100%;
    min-width: 0;
    font-family: inherit;
}

button {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* 03. HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(252,249,247,.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(104,69,140,.10);
    box-shadow: 0 4px 18px rgba(50,30,60,.04);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: inline-block;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 5px;
    transition: transform .3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
}

.nav-links a:hover {
    color: var(--pink);
}


/* 04. LANGUAGE FLAGS */

.languages {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid #eee1ed;
    border-radius: 30px;
    background: white;
}

.languages a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 7px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #77717d;
    transition: .3s;
}

.languages a.active,
.languages a:hover {
    background: #f2eaf3;
    color: var(--purple);
}

.flag {
    font-size: 17px;
}


/* 05. MENU BUTTON */

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 27px;
    color: var(--purple);
    transition: transform .2s ease;
}

.menu-btn:active {
    transform: scale(.88);
}


/* 06. HERO */

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(28,18,35,.84),
            rgba(28,18,35,.30)
        ),
        url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=2000&q=85')
        center/cover;
}

.hero::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    right: -120px;
    bottom: -180px;
    background: var(--gradient);
    filter: blur(100px);
    opacity: .38;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    padding: 100px 0;
    color: white;
}

.hero-small {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ead2e6;
}

.hero h1 {
    margin-bottom: 25px;
    font-size: clamp(38px,6vw,70px);
    line-height: 1.15;
    font-weight: 800;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero p {
    max-width: 600px;
    margin-bottom: 35px;
    font-size: 16px;
    color: #f0eaf1;
}


/* 07. BUTTONS */

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 27px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.btn-gradient {
    background: var(--gradient);
    color: white;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.7);
    color: white;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(104,69,140,.25);
}


/* 08. GENERAL SECTIONS */

section {
    padding: 100px 0;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 17px;
    font-size: clamp(29px,4vw,43px);
    line-height: 1.25;
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
}


/* 09. SERVICES */

.services {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px;
}

.service-card {
    min-width: 0;
    padding: 30px 23px;
    overflow: hidden;
    background: var(--cream);
    border: 1px solid #eee5ed;
    border-radius: 20px;
    transition: .35s;
}

.service-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 18px 40px rgba(104,69,140,.12);
    border-color: #dfc6dc;
}

.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
    border-radius: 17px;
    background: var(--gradient);
    color: white;
    font-size: 25px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
}


/* 10. APPROACH */

.approach {
    background: linear-gradient(135deg,#f7eff7,#fcf5ef);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.approach-card {
    min-width: 0;
    padding: 32px;
    background: rgba(255,255,255,.8);
    border: 1px solid #eee1eb;
    border-radius: 20px;
}

.approach-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.approach-card p {
    color: var(--muted);
    font-size: 13px;
}

.approach-number {
    margin-bottom: 12px;
    font-size: 30px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* 11. CONTACT */

.contact {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: white;
    text-align: center;
}

.contact::before {
    content: "";
    position: absolute;
    top: -200px;
    left: calc(50% - 200px);
    width: 400px;
    height: 400px;
    background: var(--gradient);
    filter: blur(130px);
    opacity: .25;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    margin-bottom: 0;
    font-size: clamp(30px,4vw,44px);
}

.contact p {
    margin-bottom: 30px;
    color: #c9c0cc;
    font-size: 14px;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 35px;
    margin-bottom: 10px;
    color: #e7dce9;
    font-size: 13px;
}

.contact-info > * {
    max-width: 100%;
    overflow-wrap: anywhere;
}


/* 12. WHATSAPP */

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 94px;
    z-index: 1100;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #25D366;
    color: #fff;

    box-shadow: 0 7px 22px rgba(37,211,102,.30);
    transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp svg {
    display: block;
    width: 31px;
    height: 31px;
    color: #fff;
}

.whatsapp:hover {
    transform: scale(1.09);
    box-shadow: 0 10px 28px rgba(37,211,102,.40);
}

.whatsapp:active {
    transform: scale(.94);
}


/* 13. BOTTOM NAV */

.bottom-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;

    width: 100%;
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-around;

    padding: 5px 12px calc(5px + env(safe-area-inset-bottom, 0px));

    background: rgba(252,249,247,.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-top: 1px solid rgba(104,69,140,.12);
    box-shadow: 0 -5px 25px rgba(50,20,60,.06);
}

.bottom-nav a {
    position: relative;
    flex: 1;
    height: 58px;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;
    color: #928895;

    transition: color .25s ease;
}

.bottom-nav a .nav-icon {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transform: none;
}

.bottom-nav a svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bottom-nav a.active {
    color: #93608F;
}

.bottom-nav a.active .nav-icon {
    transform: none;
    filter: drop-shadow(0 4px 7px rgba(147,96,143,.25));
}

.bottom-nav a.active svg {
    stroke: url(#tomoGradient);
    stroke-width: 2.1;
}

.bottom-nav a:hover {
    color: var(--pink);
}


/* 14. TABLET — 651px–900px */

@media (min-width: 651px) and (max-width: 900px) {

    .container {
        width: 94%;
    }

    .navbar {
        gap: 12px;
    }

    .nav-right {
        gap: 15px;
    }

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        min-height: 570px;
    }

    .service-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .approach-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}


/* 15. MOBILE — 650px VƏ AŞAĞI */

@media (max-width: 650px) {

    html {
        scroll-padding-top: 75px;
    }

    body {
        padding-bottom: 0;
        font-size: 14px;
        overscroll-behavior-y: contain;
    }

    /* HEADER */

    .navbar {
        position: relative;
        min-height: 68px;
        padding: 0 4px;
        gap: 8px;
    }

    .logo {
        font-size: 29px;
        letter-spacing: 4px;
    }

    .nav-right {
        gap: 10px;
    }

    /* MENU BUTTON */

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        border-radius: 14px;
        background: #f2eaf3;
        font-size: 24px;
    }

    /* AÇILAN MENYU */

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        flex-direction: column;
        align-items: flex-start;

        margin: 0;
        padding: 18px 5% 23px;

        background: rgba(252,249,247,.98);
        border-top: 1px solid #eee;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 15px 25px rgba(0,0,0,.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 10px;
        border-radius: 12px;
        font-size: 14px;
        transition: background .2s ease;
    }

    .nav-links a:active {
        background: #f2eaf3;
    }

    /* LANGUAGES */

    .languages {
        gap: 2px;
        padding: 4px;
        flex-shrink: 0;
    }

    .languages a {
        padding: 5px;
        font-size: 10px;
    }

    .flag {
        font-size: 15px;
    }

    /* HERO */

    .hero {
        min-height: 570px;
        border-radius: 0 0 25px 25px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .hero-content {
        width: 91%;
        max-width: 100%;
        margin: auto;
        padding: 65px 0;
    }

    .hero-small {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: clamp(35px,9vw,49px);
        line-height: 1.18;
        overflow-wrap: break-word;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.8;
    }

    /* BUTTONS */

    .buttons {
        gap: 10px;
    }

    .btn {
        min-height: 48px;
        padding: 13px 21px;
    }

    /* SECTIONS */

    section {
        padding: 58px 0;
    }

    .container {
        width: 91%;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .section-heading p {
        font-size: 13px;
    }

    /* SERVICES */

    .service-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }

    .service-card {
        padding: 20px 14px;
        border-radius: 18px;
        box-shadow: 0 5px 18px rgba(50,30,60,.04);
    }

    .service-card:hover {
        transform: none;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 15px;
        border-radius: 15px;
        font-size: 21px;
    }

    .service-card h3 {
        font-size: 14px;
    }

    .service-card p {
        font-size: 12px;
        line-height: 1.6;
    }

    /* APPROACH */

    .approach-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 14px;
    }

    .approach-card {
        padding: 23px;
        border-radius: 19px;
    }

    /* CONTACT */

    .contact {
        margin: 0;
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        border-radius: 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .contact-info > * {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    /* BOTTOM NAV */

    .bottom-nav {
        min-height: 76px;
        padding: 8px 9px calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 5px;

        background: rgba(255,255,255,.97);
        border-top: 1px solid rgba(104,69,140,.12);
        box-shadow: 0 -8px 30px rgba(55,30,70,.12);
    }

    .bottom-nav a {
        flex: 1;
        min-width: 0;
        width: auto;
        height: 58px;
        min-height: 58px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 18px;
        color: #928895;
        transition: color .25s ease, background .25s ease;
    }

    .bottom-nav a .nav-icon {
        width: 29px;
        height: 29px;
        display: block;
        transform: none;
    }

    .bottom-nav a.active {
        color: white;
        background: var(--gradient);
        box-shadow: 0 6px 18px rgba(104,69,140,.30);
        transform: none;
    }

    .bottom-nav a.active .nav-icon {
        transform: none;
        filter: none;
    }

    .bottom-nav a.active svg {
        stroke: white;
        stroke-width: 2.2;
    }

    .bottom-nav a:hover {
        color: var(--pink);
    }

    .bottom-nav a.active:hover {
        color: white;
    }

    .bottom-nav a:active {
        transform: scale(.96);
    }

    /* WHATSAPP */

    .whatsapp {
        right: 15px;
        bottom: calc(87px + env(safe-area-inset-bottom, 0px));
        width: 53px;
        height: 53px;
        box-shadow: 0 7px 22px rgba(37,211,102,.35);
    }

    .whatsapp svg {
        width: 28px;
        height: 28px;
    }
}


/* 16. SMALL MOBILE — 380px VƏ AŞAĞI */

@media (max-width: 380px) {

    .container {
        width: 92%;
    }

    .languages a {
        gap: 2px;
        font-size: 9px;
    }

    .service-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .bottom-nav {
        padding-left: 6px;
        padding-right: 6px;
        gap: 3px;
    }

    .bottom-nav a {
        height: 54px;
        min-height: 54px;
        border-radius: 16px;
    }

    .bottom-nav a .nav-icon {
        width: 26px;
        height: 26px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .navbar {
        gap: 5px;
    }

    .logo {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .nav-right {
        gap: 6px;
    }

    .menu-btn {
        width: 38px;
        height: 38px;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}


/* 17. DESKTOP — KOMPÜTER */

@media (min-width: 901px) {

    .service-card,
    .approach-card {
        box-shadow: 0 10px 30px rgba(50,30,60,.06);
    }
}


/* 18. SMALL DESKTOP / LARGE TABLET */

@media (min-width: 901px) and (max-width: 1100px) {

    .navbar {
        gap: 12px;
    }

    .nav-right {
        gap: 14px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .languages {
        gap: 3px;
        padding: 5px;
    }

    .languages a {
        padding: 4px;
    }
}


/* 19. LANDSCAPE MOBILE */

@media (max-width: 900px) and (orientation: landscape) {

    .hero {
        min-height: 450px;
    }

    .hero-content {
        padding-top: 45px;
        padding-bottom: 45px;
    }
}


/* 20. IPHONE / SAFARI */

@supports (-webkit-touch-callout: none) {

    .logo {
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-animation: tomoLogoShine 4s ease-in-out infinite;
    }

    .bottom-nav,
    header {
        -webkit-backdrop-filter: blur(18px);
    }
}


/* 21. KEYBOARD ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 4px;
}


/* 22. REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .logo {
        animation: tomoLogoShine 4s ease-in-out infinite !important;
        -webkit-animation: tomoLogoShine 4s ease-in-out infinite !important;
    }
}


/* ==================================================
   TOMO CSS — END
   ================================================== */
