/*
 * KK Luxury Design - Static Website
 * Clean CSS version
 */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 1.42857143;
    color: #333333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h2 {
    text-align: center;
    margin-top: 7px;
    font-size: 50px;
    font-weight: bold;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
}

h2 span {
    font-weight: 100;
    text-transform: lowercase;
}

h3 {
    font-weight: bold;
    letter-spacing: -0.05em;
    font-size: 30px;
    margin-bottom: 9px;
    line-height: 1.2;
}

h4 {
    text-transform: uppercase;
    font-size: 19px;
    margin-bottom: 28px;
    letter-spacing: 10px;
    font-weight: 700;
    text-align: center;
}

h5 {
    font-size: 18px;
    text-transform: uppercase;
    font-family: "Oswald", "Times New Roman", Times, serif;
    border-top: 3px solid #252422;
    border-bottom: 3px solid #252422;
    padding: 10px 0;
    margin-bottom: 10px;
    text-align: left;
}

p {
    margin: 0 0 12px;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: bold;
}

/* Header */
header {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 65px;
    transition: all 200ms ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.scrolled {
    background: #fff;
    top: 0;
    padding: 0 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    width: 89px;
    padding-top: 2px;
    transition: all 200ms ease;
}

header.scrolled .logo {
    width: 43px;
    padding-top: 9px;
}

.logo img {
    width: 100%;
}

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

nav li {
    padding: 20px 10px;
}

header.scrolled nav li {
    padding: 13px 10px;
}

nav a {
    color: #555555;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #000;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 595px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
section {
    padding: 60px 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-small {
    max-width: 970px;
    margin: 0 auto;
    padding: 0 15px;
}

/* About Section */
#about-me {
    margin-bottom: 53px;
}

.about-intro {
    width: 80%;
    margin: 0 auto 35px;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.about-item {
    text-align: center;
    padding: 0 32px;
}

.about-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 14px;
}

.about-item p {
    font-size: 14px;
}

/* Portfolio Section */
#portfolio {
    margin-bottom: 75px;
    padding: 0;
}

#portfolio h2 {
    margin-bottom: 12px;
    padding-top: 60px;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.portfolio-image:hover img {
    opacity: 0.5;
}

.portfolio-number {
    position: absolute;
    bottom: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 25vh;
    color: #ffffff;
    opacity: 0.7;
    line-height: 90%;
}

.portfolio-number.odd {
    right: 0;
}

.portfolio-number.even {
    left: 0;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 45px;
}

.portfolio-content h3 {
    margin-bottom: 15px;
}

.portfolio-content .description {
    font-weight: 500;
    letter-spacing: -0.05em;
    font-size: 17px;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #fff;
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.3s ease;
}

.carousel-arrow:hover {
    background: #fff;
}

/* Press Section */
#press {
    padding: 60px 0;
}

#press h2 {
    margin-bottom: 30px;
}

.press-intro {
    text-align: center;
    margin-bottom: 40px;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.press-item {
    padding: 0 15px;
}

.press-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

.press-logo {
    max-height: 50px;
    min-height: 50px;
    width: auto;
    margin-right: 15px;
}

.press-date {
    font-size: 14px;
    color: #666;
}

.press-item h5 {
    margin: 15px 0 10px;
}

.btn {
    display: inline-block;
    background-color: #333;
    font-size: 16px;
    color: #ececec;
    border: 1px solid #ececec;
    text-transform: uppercase;
    padding: 5px 15px;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #555;
}

/* Offer Section */
#offer {
    padding: 60px 0;
}

#offer h2 {
    margin-bottom: 20px;
}

#offer p {
    text-align: center;
}

/* Partners Section */
#partners {
    padding: 40px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

.partner-logo {
    text-align: center;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
}

/* Contact Section */
#contact {
    padding: 60px 0;
}

#contact p {
    text-align: center;
}

#contact a {
    color: #333;
    font-weight: bold;
}

#contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 30px 0;
    background: white;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 35px;
}

/* Scroll to top */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background: #555;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive */
@media screen and (max-width: 1000px) {
    nav li {
        padding: 20px 7px;
    }
    
    .container-small {
        max-width: 750px;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 780px) {
    header {
        display: none;
    }
    
    .hero {
        height: 300px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    h3 {
        font-size: 24px;
        margin-top: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-item {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .portfolio-image {
        height: 400px;
    }
    
    .portfolio-content {
        padding: 30px 20px;
        text-align: center;
    }
    
    .portfolio-number {
        font-size: 15vh;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    p {
        line-height: 1.4em;
        text-align: center;
    }
    
    footer {
        display: none;
    }
}
