@font-face {
    font-family: 'Northwell';
    src: url('../Northwell.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    background: #07111c;
    color: #fff;
    font-family: Arial;
    overflow: hidden;
}

#app {
    width: 3840px;
    height: 2160px;
    display: flex;
    flex-direction: column;
    background: transparent;
    padding: 90px;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

#app::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: linear-gradient(rgba(41, 41, 41, 0.8), rgba(41, 41, 41, 0.8)), url('../images/port-grimaud.png') center / cover no-repeat;
    filter: blur(60px);
    z-index: -1;
}

#app.night::before {
    background: linear-gradient(rgba(7, 17, 28, 0.65), rgba(7, 17, 28, 0.65)), url('../images/port-grimaud-night.png') center / cover no-repeat;
}

#header {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 120px;
    flex-shrink: 0;
}

#logo {
    position: absolute;
    top: 220px;
    left: 170px;
    height: 220px;
    width: auto;
}

#clock {
    position: absolute;
    top: 100px;
    right: 140px;
    font-size: 78px;
    color: #777;
}

#main {
    display: flex;
    flex: 1;
    padding-top: 60px;
}

#content {
    flex: 1;
    overflow: hidden;
}

.panel {
    display: none;
    padding: 150px 180px;
    height: 100%;
    box-sizing: border-box;
}

.panel.active {
    display: block;
}

#panel-start {
    padding-top: 160px;
}

.panel-heading {
    font-size: 36px;
    letter-spacing: 8px;
    color: #c8a97e;
    margin-bottom: 120px;
}

.panel-items {
    display: flex;
    flex-wrap: wrap;
}

.panel-item {
    padding: 78px 156px;
    margin-right: 60px;
    margin-bottom: 60px;
    background: #1e1e1e;
    font-size: 54px;
    letter-spacing: 6px;
    color: #484848;
    box-shadow: 0 18px 84px rgba(0, 0, 0, 0.6);
}

/* ── Start panel media cards ── */

.start-media .panel-items {
    flex-direction: row;
}

.start-media .panel-item {
    flex: 1;
    height: 480px;
    padding: 0;
    margin-right: 60px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
}

.start-media .panel-item:last-child {
    margin-right: 0;
}

.card-icon {
    width: 90px;
    height: 90px;
    margin-right: 0;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.card-label {
    font-size: 36px;
    letter-spacing: 6px;
}

.start-media .panel-item { background: rgba(7, 17, 28, 0.6); }

.start-media .panel-item.focused                              { color: #fff; box-shadow: 0 18px 80px rgba(0, 0, 0, 0.8); transform: scale(1.1); transition: transform 0.15s; }
.start-media .panel-item.focused[data-action="tv"]      { background: #1a4060; }
.start-media .panel-item.focused[data-action="youtube"] { background: #6b0000; }
.start-media .panel-item.focused[data-action="disney"]  { background: #111e6b; }
.start-media .panel-item.focused[data-action="airplay"] { background: #333; }
.start-media .panel-item.focused[data-action="radio"]   { background: #1a3d28; }

.panel-item.focused {
    background: #2c2c2c;
    color: #fff;
    box-shadow: 0 30px 120px rgba(0, 0, 0, 0.8);
}

/* ── Apartment panel ── */

.apt-section {
    margin-bottom: 70px;
}

.apt-section-label {
    font-size: 27px;
    letter-spacing: 8px;
    color: #555;
    margin-bottom: 36px;
}

#panel-apartment .panel-items {
    flex-wrap: nowrap;
    align-items: center;
}

#panel-apartment .panel-item {
    flex: 0 0 360px;
    height: 260px;
    padding: 0;
    margin-right: 48px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    background: rgba(7, 17, 28, 0.6);
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
}

#panel-apartment .panel-item.focused {
    color: #fff;
    box-shadow: 0 18px 80px rgba(0, 0, 0, 0.8);
    transform: scale(1.08);
    transition: transform 0.15s;
}

#panel-apartment .panel-item.focused[data-action^="light"]    { background: #2a1f00; }
#panel-apartment .panel-item.focused[data-action^="curtains"] { background: #0d2535; }
#panel-apartment .panel-item.focused[data-action^="clim"]     { background: #001a2a; }

#panel-apartment .panel-item.on[data-action^="light"] {
    color: #c8a97e;
    background: rgba(200, 169, 126, 0.12);
    box-shadow: 0 0 0 2px rgba(200, 169, 126, 0.4);
}

#panel-apartment .panel-item.on.focused[data-action^="light"] {
    color: #fff;
    background: #2a1f00;
    box-shadow: 0 18px 80px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(200, 169, 126, 0.6);
}

#panel-apartment .panel-item.on[data-action^="curtains"] {
    color: #7ab3cc;
    background: rgba(122, 179, 204, 0.1);
    box-shadow: 0 0 0 2px rgba(122, 179, 204, 0.35);
}

#panel-apartment .panel-item.on.focused[data-action^="curtains"] {
    color: #fff;
    background: #0d2535;
    box-shadow: 0 18px 80px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(122, 179, 204, 0.5);
}

.apt-temp-display {
    font-size: 120px;
    color: #fff;
    min-width: 300px;
    text-align: center;
    padding: 0 40px;
}

/* ── Experiences cards ── */

.exp-cards .panel-items {
    flex-direction: row;
}

.exp-cards .panel-item {
    flex: 1;
    height: 480px;
    padding: 0;
    margin-right: 60px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    background: rgba(7, 17, 28, 0.6);
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
}

.exp-cards .panel-item:last-child {
    margin-right: 0;
}

.exp-cards .panel-item[data-action="boat"]     { }
.exp-cards .panel-item[data-action="beach"]    { }
.exp-cards .panel-item[data-action="sttropez"] { }
.exp-cards .panel-item[data-action="wine"]     { }
.exp-cards .panel-item[data-action="cycling"]  { }

.exp-cards .panel-item.focused                              { color: #fff; box-shadow: 0 18px 80px rgba(0, 0, 0, 0.8); transform: scale(1.06); transition: transform 0.15s; }
.exp-cards .panel-item.focused[data-action="boat"]          { background: #0d2535; }
.exp-cards .panel-item.focused[data-action="beach"]         { background: #2a1a0a; }
.exp-cards .panel-item.focused[data-action="sttropez"]      { background: #1a0d2a; }
.exp-cards .panel-item.focused[data-action="wine"]          { background: #2a0a10; }
.exp-cards .panel-item.focused[data-action="cycling"]       { background: #1a1a08; }

.panel-coming {
    font-size: 39px;
    letter-spacing: 12px;
    color: #282828;
}

.start-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.start-media {
    flex-shrink: 0;
}

.start-bottom {
    display: flex;
    height: 900px;
    flex-shrink: 0;
    overflow: hidden;
}

.start-rec {
    flex: 1;
    padding-right: 120px;
}

.start-weather {
    width: 760px;
    flex-shrink: 0;
    text-align: center;
}

.welcome {
    margin-top: 80px;
    margin-bottom: 120px;
}

.welcome-title {
    font-family: 'Northwell', Arial;
    font-size: 200px;
    margin-bottom: 54px;
}

.welcome-sub {
    font-size: 33px;
    letter-spacing: 21px;
    color: #c8a97e;
    margin-bottom: 90px;
}

.welcome-text {
    font-size: 51px;
    color: #404040;
}

.rec-label {
    font-size: 36px;
    letter-spacing: 8px;
    color: #c8a97e;
    margin-bottom: 50px;
}

.rec-title {
    font-family: 'Northwell', Arial;
    font-size: 200px;
    color: #fff;
    margin-bottom: 50px;
}

.rec-text {
    font-size: 54px;
    color: #fff;
    line-height: 1.8;
}

.weather-location {
    font-size: 27px;
    letter-spacing: 8px;
    color: #444;
    margin-bottom: 60px;
}

.weather-icon {
    font-size: 240px;
    line-height: 1;
    margin-bottom: 50px;
}

.weather-temp {
    font-size: 180px;
    color: #fff;
    margin-bottom: 30px;
}

.weather-desc {
    font-size: 48px;
    color: #777;
    letter-spacing: 4px;
    margin-bottom: 60px;
}

.weather-detail {
    font-size: 36px;
    color: #444;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* ── Intro screen ── */

#intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 3840px;
    height: 2160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    transition: opacity 0.6s;
}

#intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(41, 41, 41, 0.8);
}

#intro.night::before {
    background: rgba(7, 17, 28, 0.65);
}

#intro-logo {
    height: 220px;
    width: auto;
    margin-bottom: 80px;
}

#intro-content {
    position: relative;
    text-align: center;
    margin-top: 200px;
}

#intro-welcome {
    font-family: 'Northwell', Arial;
    font-size: 380px;
    line-height: 280px;
    letter-spacing: 8px;
    color: #fff;
    margin-bottom: 200px;
    transform: rotate(-4deg);
}

#intro-btn {
    display: inline-block;
    padding: 72px 240px;
    font-size: 54px;
    letter-spacing: 18px;
    color: #fff;
    border: 6px solid #fff;
    border-radius: 24px;
    animation: introPulse 2.4s ease-in-out infinite;
}

@keyframes introPulse {
    0%   { border-color: rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.3); }
    50%  { border-color: rgba(255, 255, 255, 0.9);  color: rgba(255, 255, 255, 1.0); }
    100% { border-color: rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.3); }
}
