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

html, body {
    width: 100%;
    height: 100vh;
    overflow: hidden; /* Prevent scrolling */
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a1628;
    background-image: url('images/Arkaplanfoto.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
}

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

img {
    max-width: 100%;
    display: block;
}

/* ========== BACKGROUND ICE DECORATIONS ========== */
.bg-ice {
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

.bg-ice-tl {
    top: -30px;
    left: -40px;
    width: 200px;
    opacity: 0.85;
}

.bg-ice-tc {
    top: -50px;
    left: 45%;
    transform: translateX(-50%) rotate(180deg);
    width: 350px;
    filter: blur(4px);
    opacity: 0.9;
}

.bg-ice-tr {
    top: -20px;
    right: -20px;
    width: 250px;
    opacity: 0.9;
}

.bg-ice-bl {
    bottom: -80px;
    left: -60px;
    width: 350px;
    opacity: 0.9;
}

.bg-ice-bc {
    bottom: -60px;
    left: 60%;
    transform: translateX(-50%);
    width: 280px;
    opacity: 0.9;
}

.bg-ice-br {
    bottom: -30px;
    right: -40px;
    width: 250px;
    transform: scaleX(-1);
    opacity: 0.85;
}

/* ========== PAGE WRAPPER ========== */
.page {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ========== HEADER ========== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: wrap;
    position: relative;
}

.logo-pro {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.logo-ice {
    font-size: 24px;
    font-weight: 300;
    color: #7ec8e3;
    letter-spacing: 2px;
}

.logo-sub {
    position: absolute;
    bottom: -12px;
    left: 0;
    font-size: 9px;
    color: #7ec8e3;
    letter-spacing: 1px;
    font-weight: 400;
}

.logo-sm .logo-pro,
.logo-sm .logo-ice {
    font-size: 18px;
}

.logo-sm .logo-sub {
    bottom: -10px;
    font-size: 7px;
}

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

.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #7ec8e3;
}

.nav-phone {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    border: 1.5px solid #fff;
    border-radius: 25px;
    padding: 6px 18px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.nav-phone:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-wa {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.nav-wa:hover {
    transform: scale(1.1);
}

.nav-wa img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ========== PRODUCTS SECTION ========== */
.products {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ========== CARDS CONTAINER ========== */
.cards {
    display: flex;
    gap: 15px;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 400px;
}

/* ========== SINGLE CARD ========== */
.card {
    flex: 1;
    border: 1px solid rgba(126, 200, 227, 0.3);
    border-radius: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 240px;
    max-width: 240px;
}

.card:hover {
    height: 380px;
    border-color: rgba(126, 200, 227, 0.6);
    background: rgba(10, 22, 40, 0.4);
}

/* Card Title (Above card) */
.card-title {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-transform: uppercase;
}

.card-title span {
    color: #7ec8e3;
}

.card:hover .card-title {
    opacity: 1;
}

/* ========== CARD IMAGE ========== */
.card-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    transition: all 0.3s ease;
}

.card:hover .card-img-wrap {
    height: 180px;
    margin-bottom: 10px;
}

.card-img {
    max-width: 110px;
    max-height: 110px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 16px rgba(126, 200, 227, 0.15));
}

.card:hover .card-img {
    max-width: 150px;
    max-height: 150px;
}

/* ========== DIMENSION LABELS ========== */
.dims {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .dims {
    opacity: 1;
}

/* Vertical arrow line */
.dim-h-line {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80%;
    width: 20px;
}

.dim-h-line::before, .dim-h-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: calc(50% - 15px);
    background: #89d1e8;
}

.dim-h-line::before {
    top: 0;
}

.dim-h-line::after {
    bottom: 0;
}

/* Arrow heads for vertical */
.dim-h-line .arrow-top {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 6px solid #89d1e8;
}

.dim-h-line .arrow-bottom {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 6px solid #89d1e8;
}

.dim-h-line span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

/* Horizontal arrow line */
.dim-w-line {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 20px;
}

.dim-w-line::before, .dim-w-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: calc(50% - 20px);
    background: #89d1e8;
}

.dim-w-line::before {
    left: 0;
}

.dim-w-line::after {
    right: 0;
}

/* Arrow heads for horizontal */
.dim-w-line .arrow-left {
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-right: 6px solid #89d1e8;
}

.dim-w-line .arrow-right {
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 6px solid #89d1e8;
}

.dim-w-line span {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

/* ========== CARD NAME ========== */
.card-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 10px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.card:hover .card-name {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* ========== CARD DETAILS (hidden by default) ========== */
.card-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.card:hover .card-details {
    max-height: 180px;
    opacity: 1;
    margin-top: 5px;
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.info {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    letter-spacing: 0.2px;
}

/* ========== BUTTON ========== */
.btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: #89d1e8;
    color: #051624;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.3s;
    text-transform: none;
    border: none;
}

.btn:hover {
    background: #a6def2;
}

/* ========== FOOTER ========== */
.footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 15px 0;
}

.footer-left {
    display: flex;
    align-items: flex-end;
    gap: 25px;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-info a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s;
}

.footer-info a:hover {
    color: #7ec8e3;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.delivery-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(25, 60, 110, 0.6);
    border-radius: 4px;
    padding: 6px 14px;
}

.delivery-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.delivery-text {
    display: flex;
    flex-direction: column;
}

.delivery-text small {
    font-size: 7px;
    color: rgba(126, 200, 227, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.delivery-text strong {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.delivery-note {
    font-size: 7px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    html, body {
        height: auto;
        overflow: auto;
    }
    
    .page {
        height: auto;
    }
    
    .cards {
        flex-wrap: wrap;
        height: auto;
        gap: 40px;
    }

    .card {
        flex: 1 1 40%;
        min-width: 220px;
    }

    .bg-ice {
        opacity: 0.4;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .cards {
        flex-direction: column;
    }

    .card {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-left {
        flex-direction: column;
        gap: 12px;
    }

    .footer-info {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-right {
        align-items: flex-start;
    }

    .bg-ice {
        display: none;
    }
}
